199 lines
5.2 KiB
PHP
199 lines
5.2 KiB
PHP
|
|
<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){
|
|
/* border-bottom: 1px solid #ddd; */
|
|
}
|
|
|
|
#sim tr {
|
|
/* border-bottom: 1px solid #ddd; */
|
|
}
|
|
|
|
#sim th {
|
|
/* text-align: left; */
|
|
border: 0px solid;
|
|
table-layout:auto;
|
|
color: black;
|
|
|
|
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
|
|
}
|
|
|
|
|
|
#sim2 {
|
|
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
|
|
font-size:10px;
|
|
border-collapse: collapse;
|
|
width: 100%;
|
|
}
|
|
|
|
#sim2 td {padding:3px 5px 3px 5px; padding-right:10px;}, #sim th {
|
|
border: 0px solid;
|
|
padding: 1px;
|
|
|
|
/* text-align: left; */
|
|
|
|
}
|
|
|
|
#sim2 tr:nth-child(even){
|
|
/* border-bottom: 1px solid #ddd; */
|
|
}
|
|
|
|
#sim2 tr:hover {}
|
|
|
|
#sim2 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;
|
|
/* text-align: left; */
|
|
table-layout:auto
|
|
color: black;
|
|
border-bottom: 1px solid #ddd;
|
|
/* background-color:gainsboro; */
|
|
}
|
|
|
|
|
|
tr:nth-child(even) {
|
|
/* background-color: #f2f2f2; */
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
<body>
|
|
|
|
{{-- <h6>Koperasi Permodalan Kelantan Berhad</h6> --}}
|
|
<u><b><h5>LAPORAN BARANG LELONG PEMBIDA</h5></b></u>
|
|
|
|
<table cellspacing="" cellpadding="5" text-align="left" border="0" height="25" align="left" id="sim2">
|
|
<thead>
|
|
<br>
|
|
<tr>
|
|
@foreach ($info as $info)
|
|
<div>Fasa: {{$info->fasa}} </div>
|
|
<div>Batch Lelong: {{$lelong_id}}</div>
|
|
|
|
<div>Tarikh Lelong: @php
|
|
$myDateTime = DateTime::createFromFormat('Y-m-d', $info->tarikh_lelong );
|
|
$t_lelong = $myDateTime->format('d-m-Y');
|
|
echo($t_lelong);
|
|
@endphp</div>
|
|
|
|
@endforeach
|
|
@foreach ($arrayinfocaw as $laporancaw)
|
|
@foreach ($laporancaw['cawangan'] as $details)
|
|
<div>Cawangan : {{$details['caw_name']}}</div>
|
|
@endforeach
|
|
@endforeach
|
|
|
|
</thead>
|
|
</table>
|
|
|
|
<br>
|
|
|
|
<table cellspacing="0" cellpadding="5" style="float:right;" border="0" width="100%" height="80" align="left" id="sim">
|
|
|
|
<thead>
|
|
<tr>
|
|
<th>No</th>
|
|
<th align="left">No Rujukan</th>
|
|
<th align="left">Marhun</th>
|
|
<th>Berat (gm)</th>
|
|
<th>Harga Asas (RM)</th>
|
|
<th>Harga Lelong (RM)</th>
|
|
<th align="left">Nama Pembeli</th>
|
|
</tr>
|
|
</thead>
|
|
|
|
@foreach ($brglelpembida as $laporan)
|
|
<tr>
|
|
<td>{{ $loop->iteration }}</td>
|
|
<td style='white-space:nowrap;'>{{ $laporan['norujukan'] }}</td>
|
|
<td>{{ $laporan['marhun']}}</td>
|
|
<td>{{ number_format($laporan['berat'], 2, '.', ',')}}</td>
|
|
<td align = 'right'>{{ number_format($laporan['hargaasas'], 2, '.', ',')}}</td>
|
|
<td align = 'right'>{{ number_format($laporan['hargabida'], 2, '.', ',')}}</td>
|
|
<td style='white-space:nowrap;'>{{$laporan['nama_bidder']}}</td>
|
|
|
|
</tr>
|
|
@endforeach
|
|
|
|
|
|
|
|
<tr>
|
|
<td colspan="3" align="left"><strong>Jumlah Keseluruhan</strong></td>
|
|
<td><strong>{{ number_format($total_berat, 2, '.', ',') }}</strong></td>
|
|
<td align = 'right'><strong>{{ number_format($total_hargaasas, 2, '.', ',') }}</strong></td>
|
|
<td align = 'right'><strong>{{ number_format($total_hargalelong, 2, '.', ',') }}</strong></td>
|
|
<td></td>
|
|
</tr>
|
|
|
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</tbody>
|
|
|