slip, penyata, resit
This commit is contained in:
@@ -0,0 +1,91 @@
|
||||
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
||||
<script src="{{ asset('js/table2excel.js') }}"></script>
|
||||
<style>
|
||||
|
||||
.letter{
|
||||
font-family:'Times New Roman', Times, serif;
|
||||
|
||||
}
|
||||
|
||||
.row::after {
|
||||
content: "";
|
||||
clear: both;
|
||||
display: table;
|
||||
|
||||
}
|
||||
|
||||
.first-prgph{
|
||||
|
||||
float: left;
|
||||
width: 10%;
|
||||
padding: 2px;
|
||||
}
|
||||
.first-prgph1{
|
||||
|
||||
float: left;
|
||||
width: 30%;
|
||||
padding-left: 50px;
|
||||
}
|
||||
.page-break {
|
||||
page-break-before: always;
|
||||
}
|
||||
.name{
|
||||
padding-top: 40px;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
|
||||
<body>
|
||||
|
||||
|
||||
<table width="100%" height="168" id="customers">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Bil</th>
|
||||
<th>No Rujukan</th>
|
||||
<th>No Kad Pengenalan</th>
|
||||
<th>Tempoh</th>
|
||||
<th>Berat (gm)</th>
|
||||
<th>Pembiayaan (RM)</th>
|
||||
<th>Baki Pembiayaan (RM)</th>
|
||||
<th>Keuntungan 6 Bulan (RM)</th>
|
||||
<th>Keuntungan Telah Bayar (RM)</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@foreach($getsurat as $surat)
|
||||
<tr>
|
||||
<td>{{ $loop->iteration }}</td>
|
||||
<td>{{ $surat['list_norujukan'][0]['norujukan'] }}</td>
|
||||
<td>{{ $surat['list_norujukan'][0]['nokp'] }}</td>
|
||||
<td>{{ $surat['list_norujukan'][0]['tempoh'] }}</td>
|
||||
<td>{{ $surat['list_norujukan'][0]['berat'] }}</td>
|
||||
<td>{{ $surat['list_norujukan'][0]['pinjaman'] }}</td>
|
||||
<td>{{ $surat['list_norujukan'][0]['bakipjm'] }}</td>
|
||||
<td>{{ $surat['list_norujukan'][0]['bakiupah'] }}</td>
|
||||
|
||||
<td>{{ number_format($surat['ktlhbyr'] , 2, '.', ',')}}</td>
|
||||
|
||||
|
||||
</tr>
|
||||
@endforeach
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</body>
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
|
||||
<script>
|
||||
|
||||
$(document).ready(function () {
|
||||
|
||||
var table2excel = new Table2Excel();
|
||||
table2excel.export(document.querySelectorAll("#customers"),'senarai_notis');
|
||||
setTimeout(function(){ window.close() }, 10);
|
||||
|
||||
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
@@ -22,6 +22,12 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="text-left pt-4">
|
||||
<a href=" {{ route('jananotis.gadaibycawpdf',[$t_lelong]) }}" class="btn btn-success">PDF</a>
|
||||
<a href=" {{ route('jananotis.gadaibycawexcel',[$t_lelong]) }}" class="btn btn-success">EXCEL</a>
|
||||
|
||||
</div>
|
||||
<table class="table table-striped table-xl text-center" id="butirangadai" style="width:100%; margin-top:1%;">
|
||||
<thead class="bg-primary text-white">
|
||||
<tr>
|
||||
@@ -97,22 +103,22 @@
|
||||
// })
|
||||
// }
|
||||
// },
|
||||
{
|
||||
className: 'btn btn-outline-secondary pl-4 pr-4 btn-sm export',
|
||||
titleAttr: 'Senarai Gadaian Excel',
|
||||
text: '<i class="fas fa-download"></i>',
|
||||
action: function ( e, dt, node, config ) {
|
||||
$("#exportform").submit();
|
||||
}
|
||||
},
|
||||
{
|
||||
className: 'btn btn-outline-secondary pl-4 pr-4 btn-sm export',
|
||||
titleAttr: 'Senarai Gadaian PDF',
|
||||
text: '<i class="fas fa-download"></i>',
|
||||
action: function ( e, dt, node, config ) {
|
||||
$("#exportform").submit();
|
||||
}
|
||||
}
|
||||
// {
|
||||
// className: 'btn btn-outline-secondary pl-4 pr-4 btn-sm export',
|
||||
// titleAttr: 'Senarai Gadaian Excel',
|
||||
// text: '<i class="fas fa-download"></i>',
|
||||
// action: function ( e, dt, node, config ) {
|
||||
// $("#exportform").submit();
|
||||
// }
|
||||
// },
|
||||
// {
|
||||
// className: 'btn btn-outline-secondary pl-4 pr-4 btn-sm export',
|
||||
// titleAttr: 'Senarai Gadaian PDF',
|
||||
// text: '<i class="fas fa-download"></i>',
|
||||
// action: function ( e, dt, node, config ) {
|
||||
// $("#exportform").submit();
|
||||
// }
|
||||
// }
|
||||
]
|
||||
});
|
||||
|
||||
|
||||
@@ -0,0 +1,147 @@
|
||||
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
||||
<style>
|
||||
#sim {
|
||||
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
|
||||
font-size:10px;
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#sim td {padding:3px 5px 3px 5px; padding-right:10px;}, #sim th {
|
||||
border: 0px solid;
|
||||
padding: 1px;
|
||||
text-align: left;
|
||||
|
||||
}
|
||||
|
||||
#sim tr:nth-child(even){}
|
||||
|
||||
#sim tr:hover {}
|
||||
|
||||
#sim th {
|
||||
text-align: left;
|
||||
border: 0px solid;
|
||||
table-layout:auto;
|
||||
color: black;
|
||||
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.row {
|
||||
margin-left:-5px;
|
||||
margin-right:-5px;
|
||||
}
|
||||
|
||||
.column {
|
||||
float: left;
|
||||
width: 100%;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
/* Clearfix (clear floats) */
|
||||
.row::after {
|
||||
content: "";
|
||||
clear: both;
|
||||
display: table;
|
||||
}
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
width: 200%;
|
||||
border: 0px solid #ddd;
|
||||
}
|
||||
|
||||
td {
|
||||
text-align: left;
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
th{
|
||||
text-align: left;
|
||||
padding: 16px;
|
||||
background-color:gainsboro;
|
||||
}
|
||||
|
||||
tr:nth-child(even) {
|
||||
background-color: #f2f2f2;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
|
||||
<div class="row">
|
||||
{{-- <div class="first-prgph"><img src="http://lelong.test/img/icon_pkb.png" alt="PKB LOGO" width="100" height="100"><br></div> --}}
|
||||
|
||||
|
||||
<table cellspacing="" cellpadding="5" text-align="left" border="0" height="25" align="left" id="sim">
|
||||
<thead>
|
||||
<br>
|
||||
<tr>
|
||||
<td>Tarikh Lelong:@php
|
||||
$myDateTime = DateTime::createFromFormat('Y-m-d', $t_lelong );
|
||||
$t_lelongs = $myDateTime->format('d-m-Y');
|
||||
echo($t_lelongs);
|
||||
@endphp</td>
|
||||
<td>Tarikh Gadai Sehingga:@php
|
||||
$myDateTime = DateTime::createFromFormat('Y-m-d', $t_gadais->t_gadai );
|
||||
$t_lelong_sehingga = $myDateTime->format('d-m-Y');
|
||||
echo($t_lelong_sehingga);
|
||||
@endphp</td>
|
||||
<td>Anggaran Tarikh Daftar Lelong : </b>{{ $t_anggaran }}</td>
|
||||
<td>Bilangan Surat : </b>{{ $bil_lelongcaw[0]['bil_lelong'] }}</td>
|
||||
</thead>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
<br>
|
||||
<table cellspacing="0" cellpadding="5" style="float:right;" border="0" width="100%" height="80" align="left" id="sim">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Bil</th>
|
||||
<th>No Rujukan</th>
|
||||
<th>No Kad Pengenalan</th>
|
||||
<th>Tempoh</th>
|
||||
<th>Berat (gm)</th>
|
||||
<th>Pembiayaan (RM)</th>
|
||||
<th>Baki Pembiayaan (RM)</th>
|
||||
<th>Keuntungan 6 Bulan (RM)</th>
|
||||
<th>Keuntungan Telah Bayar (RM)</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
@foreach($getsurat as $surat)
|
||||
<tr>
|
||||
<td>{{ $loop->iteration }}</td>
|
||||
<td>{{ $surat['list_norujukan'][0]['norujukan'] }}</td>
|
||||
<td>{{ $surat['list_norujukan'][0]['nokp'] }}</td>
|
||||
<td>{{ $surat['list_norujukan'][0]['tempoh'] }}</td>
|
||||
<td>{{ $surat['list_norujukan'][0]['berat'] }}</td>
|
||||
<td>{{ $surat['list_norujukan'][0]['pinjaman'] }}</td>
|
||||
<td>{{ $surat['list_norujukan'][0]['bakipjm'] }}</td>
|
||||
<td>{{ $surat['list_norujukan'][0]['bakiupah'] }}</td>
|
||||
|
||||
<td>{{ number_format($surat['ktlhbyr'] , 2, '.', ',')}}</td>
|
||||
|
||||
|
||||
</tr>
|
||||
@endforeach
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{$caw['alamat1']}}</td>
|
||||
<td align="right">No.Invois: :{{$invois['reference_no']}} </td>
|
||||
<td align="right">No.Invois: :{{$invois['invoice_no']}} </td>
|
||||
</tr>
|
||||
|
||||
|
||||
@@ -104,7 +104,7 @@
|
||||
|
||||
|
||||
|
||||
<h5><u>PENYATA BAYARAN LELONGAN</u></h5>
|
||||
<h5><u>TUNTUTAN BAYARAN BIDAAN LELONGAN</u></h5>
|
||||
<table width="100%" height="168" id="customers">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
@@ -51,13 +51,13 @@
|
||||
<table width="100%" border="0" id="marhun" >
|
||||
<tr>
|
||||
<td width="46%">{{$caw['caw_name']}}</td>
|
||||
<td width="54%" align="right">Slip Serahan</td>
|
||||
<td width="54%" align="right">Resit Bayaran</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>{{$caw['alamat1']}}</td>
|
||||
@foreach ($invois as $invois)
|
||||
<td align="right">No.Slip: {{$invois['reference_no']}}</td>
|
||||
@foreach ($invois as $data)
|
||||
<td align="right">No.Resit: {{$data['reference_no']}}</td>
|
||||
@endforeach
|
||||
</tr>
|
||||
|
||||
@@ -107,13 +107,12 @@
|
||||
</table></div>
|
||||
|
||||
|
||||
<h5><u>RESIT BAYARAN DAN SERAHAN BARANG GADAIAN YANG BERJAYA DILELONG</u></h5>
|
||||
<h5><u>RESIT BAYARAN BARANG GADAIAN YANG BERJAYA DILELONG</u></h5>
|
||||
|
||||
<table width="100%" height="100" align="left" id="customers">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="8%">Bil</th>
|
||||
<th width="13%" align="left">No. Paket</th>
|
||||
<th width="21%" align="center">No Rujukan</th>
|
||||
<th width="29%" align="center">Jenis Barang</th>
|
||||
<th width="13%" align="right">Berat(g)</th>
|
||||
@@ -124,7 +123,6 @@
|
||||
@foreach ($SAGWin as $index=>$info)
|
||||
<tr>
|
||||
<td>{{$index+1}}</td>
|
||||
<td></td>
|
||||
<td>{{$info['norujukan']}}</td>
|
||||
<td>{{$info['marhun']}}</td>
|
||||
<td>{{ number_format($info['berat'], 2, '.', ',') }}</td>
|
||||
@@ -134,13 +132,13 @@
|
||||
|
||||
<tbody>
|
||||
<tr>
|
||||
<td colspan="4"><strong>Jumlah</strong></td>
|
||||
<td colspan="3"><strong>Jumlah</strong></td>
|
||||
<td colspan="1"><strong>{{ number_format($caw['total_berat'], 2, '.', ',') }}</strong></td>
|
||||
<td colspan="1"><strong>{{ number_format($caw['total_bidaan'], 2, '.', ',') }}</strong></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
<tr>
|
||||
{{-- <tr>
|
||||
<td colspan="6"><table id="marhun" >
|
||||
<thead>
|
||||
<tr>
|
||||
@@ -182,7 +180,7 @@
|
||||
</tr>
|
||||
</table>
|
||||
<p> </p></th>
|
||||
</tr>
|
||||
</tr> --}}
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
|
||||
@@ -0,0 +1,194 @@
|
||||
<style>
|
||||
#customers {
|
||||
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
|
||||
font-size:12px;
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#customers td, #customers th {
|
||||
border: 0px solid;
|
||||
padding: 1px;
|
||||
text-align: left;
|
||||
border-bottom: 1px solid #ddd;
|
||||
}
|
||||
|
||||
|
||||
|
||||
#customers th {
|
||||
text-align: left;
|
||||
table-layout:auto
|
||||
color: black;
|
||||
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
|
||||
padding: 8px;
|
||||
text-align: left;
|
||||
border-bottom: 1px solid #ddd;
|
||||
}
|
||||
|
||||
|
||||
#marhun {
|
||||
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
|
||||
font-size:11px;
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#marhun td, #marhun th {
|
||||
border: 0px solid;
|
||||
padding: 1px;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
#marhun th {
|
||||
|
||||
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
|
||||
|
||||
}
|
||||
</style>
|
||||
|
||||
<table width="100%" border="0" id="marhun" >
|
||||
<tr>
|
||||
<td width="46%">{{$caw['caw_name']}}</td>
|
||||
<td width="54%" align="right">Slip Serahan</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>{{$caw['alamat1']}}</td>
|
||||
@foreach ($invois as $data)
|
||||
<td align="right">No.Slip: {{$data['reference_no']}}</td>
|
||||
@endforeach
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td>{{$caw['alamat2']}}</td>
|
||||
<td align="right">Tarikh: {{$lelong->tarikh_lelong}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Tel :{{$caw['notel']}}</td>
|
||||
<td align="right"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Faks :{{$caw['nofaks']}}</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
<table width="100%" border="0" id="marhun">
|
||||
<tr>
|
||||
<td colspan="3"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3"> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width="66">Nama </td>
|
||||
<td width="10">:</td>
|
||||
<td width="957">{{$userdetails->name}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>No.K/P</td>
|
||||
<td>:</td>
|
||||
<td>{{$userdetails->nokp}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Alamat</td>
|
||||
<td>:</td>
|
||||
<td>{{$userdetails->alamat}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>No Telefon</td>
|
||||
<td>:</td>
|
||||
<td>{{$userdetails->notelbimbit}}</td>
|
||||
</tr>
|
||||
</table></div>
|
||||
|
||||
|
||||
<h5><u>SLIP SERAHAN BARANG GADAIAN YANG BERJAYA DILELONG</u></h5>
|
||||
|
||||
<table width="100%" height="100" align="left" id="customers">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="8%">Bil</th>
|
||||
<th width="21%" align="center">No Rujukan</th>
|
||||
<th width="29%" align="center">Jenis Barang</th>
|
||||
<th width="13%" align="right">Berat(g)</th>
|
||||
<th width="16%" align="right"> Harga Lelong(RM)</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
@foreach ($SAGWin as $index=>$info)
|
||||
<tr>
|
||||
<td>{{$index+1}}</td>
|
||||
<td>{{$info['norujukan']}}</td>
|
||||
<td>{{$info['marhun']}}</td>
|
||||
<td>{{ number_format($info['berat'], 2, '.', ',') }}</td>
|
||||
<td>{{ number_format($info['hargabida'], 2, '.', ',') }}</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
|
||||
<tbody>
|
||||
<tr>
|
||||
<td colspan="3"><strong>Jumlah</strong></td>
|
||||
<td colspan="1"><strong>{{ number_format($caw['total_berat'], 2, '.', ',') }}</strong></td>
|
||||
<td colspan="1"><strong>{{ number_format($caw['total_bidaan'], 2, '.', ',') }}</strong></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
<tr>
|
||||
<td colspan="6"><table id="marhun" >
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="966%" colspan="7"><p style="position:justify"><strong>PERHATIAN: Bahawa PEMBELI hendaklah mengaku bahawa identiti harta yang berjaya dibeli bersama-sama dengan keterangan yang dinyatakan oleh PLAINTIF PEMEGANG GADAIAN adalah seperti yang dicatatkan di dalam keterangan harta tersebut dan
|
||||
setelah selesai proses pembayaran maka PEMBELI bertanggungjawab dan jika ada apa-apa masalah maka PEMBELI tidak berhak
|
||||
membuat apa-apa tuntutan lagi.</strong></p>
|
||||
<p style="position:justify"> </p>
|
||||
<p style="position:justify"> </p>
|
||||
<table width="486" border="0" align="center" id="marhun" >
|
||||
<tr>
|
||||
<td align="left">...................................</td>
|
||||
<td align="left">
|
||||
...................................</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Tandatangan Khazanah</td>
|
||||
<td align="left" >
|
||||
Tandatangan Pembeli</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Nama:</td>
|
||||
<td align="left" >
|
||||
Nama: {{$userdetails->name}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right"> </td>
|
||||
<td align="left" >
|
||||
No.K/P: {{$userdetails->nokp}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right"> </td>
|
||||
<td align="left" >
|
||||
Tarikh: </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right"> </td>
|
||||
<td align="left" >
|
||||
Masa:</td>
|
||||
</tr>
|
||||
</table>
|
||||
<p> </p></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
</tbody>
|
||||
</table></td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
<th>Amaun Telah Dibayar(RM)</th>
|
||||
<th>Status Bayaran</th>
|
||||
<th>Penyata Bayaran</th>
|
||||
<th>Resit Bayaran</th>
|
||||
<th>Resit/ Slip Serahan</th>
|
||||
<th class="text-center">Tindakan</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -47,19 +47,11 @@
|
||||
<td>
|
||||
<a href="{{ route('serahan.penyatabayaran',['user_id'=>$winner['details']['id'],'lelong_id'=>$lelong_id]) }}" target = "blank" data-toggle="tooltip" data-placement="top" title="Muat Turun Penyata Bayaran" ><i class="fas fa-download"></i></a>
|
||||
</td>
|
||||
<td>
|
||||
|
||||
@if($winner['totalPay'] < $winner['totalBid'])
|
||||
<a href="#" target = "blank" data-toggle="tooltip" data-placement="top" title="" ><i class="fas fa-download" style="color:#DCDCDC"></i></a>
|
||||
@elseif($winner['totalPay'] == $winner['totalBid'])
|
||||
<a href="{{ route('serahan.resitpembayaran',['user_id'=>$winner['details']['id'],'lelong_id'=>$lelong_id]) }}" target = "blank" data-toggle="tooltip" data-placement="top" title="Muat Turun Resit Bayaran" ><i class="fas fa-download"></i></a>
|
||||
@endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td>
|
||||
<a href=" {{ route('serahan.resit', ['user_id'=>$winner['details']['id'], 'lelong_id'=>$lelong_id]) }} " data-toggle="tooltip" data-placement="top" title="Buat Pembayaran"><i class="far fa-edit"></i></a>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
{{-- @if( ($winner['totalPay'] < $winner['totalBid']) || ($winner['sts_payment'] == 2) ) --}}
|
||||
<a href=" {{ route('pembayaran.SAGBidItem', ['user_id'=>$winner['details']['id'], 'lelong_id'=>$lelong_id]) }} " data-toggle="tooltip" data-placement="top" title="Buat Pembayaran"><i class="far fa-edit"></i></a>
|
||||
|
||||
@@ -0,0 +1,87 @@
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
|
||||
<div class="container">
|
||||
<div class="row mb-4">
|
||||
<div class="col-md-11 mx-auto card p-4">
|
||||
<p> <b>Nama : </b> {{ $SAGBidItem->name }}</p>
|
||||
<p> <b>No Kad Pengenalan : </b> {{ $SAGBidItem->nokp }}</p>
|
||||
<p> <b>Alamat : </b> {{ $SAGBidItem->alamat }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<div class="row ">
|
||||
<div class="col-md-11 mx-auto card p-4">
|
||||
<form action="{{ route('pembayaran.banktransfer') }}" method="POST" id="">
|
||||
@csrf
|
||||
<input type="hidden" name="user_id" value="{{ $user_id }}" />
|
||||
<input type="hidden" name="lelong_id" value="{{ $lelong_id }}" />
|
||||
<input type="hidden" name="eachbid[]" id="eachbid" value="" />
|
||||
<table class="table table-border table-hover table-xl" style="width:100%">
|
||||
<thead class="bg-primary text-white">
|
||||
<tr>
|
||||
<th class="text-center">No</th>
|
||||
{{-- <th class="text-center">No Resit</th> --}}
|
||||
<th class="text-center">No rujukan</th>
|
||||
<th class="text-center">Resit Bayaran</th>
|
||||
<th class="text-center">Slip Serahan</th>
|
||||
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach ($arraydetails as $laporan)
|
||||
<tr>
|
||||
<td class="text-center">{{ $loop->iteration }}</td>
|
||||
{{-- <td class="text-center">{{ $laporan['brg']['resit_id']}}</td> --}}
|
||||
<td class="text-center">@foreach ($laporan['detailsbrg'] as $item)
|
||||
{{ $item['norujukan'] }}<br>
|
||||
@endforeach</td>
|
||||
|
||||
|
||||
<td class="text-center">
|
||||
@if($laporan['brg']['status_payment'] == 1)
|
||||
<a href="{{ route('serahan.resitpembayaran',['user_id'=>$laporan['brg']['user_id'],'resit_id'=>$laporan['brg']['resit_id'],'lelong_id'=>$lelong_id]) }}" target = "blank" data-toggle="tooltip" data-placement="top" title="Muat Turun Resit Bayaran" ><i class="fas fa-download"></i></a>
|
||||
@elseif($laporan['brg']['status_payment'] == 2)
|
||||
<span class="btn btn-warning btn-sm hovernone-warning">TUNGGU PENGESAHAN</span>
|
||||
@else
|
||||
<span class="btn btn-danger btn-sm hovernone-danger">BELUM BAYAR</span>
|
||||
@endif
|
||||
</td>
|
||||
|
||||
<td class="text-center">
|
||||
@if($laporan['brg']['status_payment'] == 1)
|
||||
<a href="{{ route('serahan.slipserahan',['user_id'=>$laporan['brg']['user_id'],'resit_id'=>$laporan['brg']['resit_id'],'lelong_id'=>$lelong_id]) }}" target = "blank" data-toggle="tooltip" data-placement="top" title="Muat Turun Slip Serahan" ><i class="fas fa-download"></i></a>
|
||||
@elseif($laporan['brg']['status_payment'] == 2)
|
||||
<span class="btn btn-warning btn-sm hovernone-warning">TUNGGU PENGESAHAN</span>
|
||||
@else
|
||||
<span class="btn btn-danger btn-sm hovernone-danger">BELUM BAYAR</span>
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
{{-- <tr>
|
||||
<td colspan="3"><b> Jumlah Bayaran</b></td>
|
||||
<td class="text-center"><b>RM<input type="text" id="total" name="total" value="0" style="border: none;" readonly></b></td>
|
||||
<td class="text-center">
|
||||
@if($getresit)
|
||||
<button type="button" class="btn btn-outline-secondary" data-toggle="modal" data-target="#exampleModal">
|
||||
Lihat Resit <i class="fas fa-file-alt"></i>
|
||||
</button>
|
||||
@else
|
||||
@endif
|
||||
</td>
|
||||
</tr> --}}
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
|
||||
<script>
|
||||
|
||||
</script>
|
||||
|
||||
@endsection
|
||||
Reference in New Issue
Block a user