Files
lelong/resources/views/pdf/senaraibid.blade.php
T
2022-03-02 15:08:40 +08:00

137 lines
4.5 KiB
PHP

<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;
border-bottom: 1px solid #ddd;
}
#customers th {
text-align: left;
table-layout:auto
color: black;
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
padding: 5px;
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>
<div class="row">
<div class="first-prgph">
<img src="http://lelong.test/img/icon_pkb.png" alt="PKB LOGO" width="100" height="100">
</div>
<h5><u>SENARAI BARANG LELONGAN DIBIDA OLEH PEMBIDA</u></h5>
<table width="100%" border="0" id="marhun">
<tr>
<td colspan="3"></td>
</tr>
<tr>
<td colspan="3">&nbsp;</td>
</tr>
<tr>
<tr>
<td width="66">Tarikh</td>
<td width="10">:</td>
<td width="957">{{$lelong->tarikh_lelong}}</td>
</tr>
<tr>
<td>Cawangan</td>
<td>:</td>
<td>{{$caw['caw_name']}}</td>
</tr>
<tr>
<td>Nama Pembida</td>
<td>:</td>
<td>{{$userdetails->name}}</td>
</tr>
</table> </div>
<table width="100%" height="168" id="customers">
<thead>
<tr>
<th width="5%">Bil</th>
<th width="12%">No. Rujukan</th>
<th width="13%">Harga Asas(RM)
<th width="13%">Harga Bida(RM)</th>
<th width="13%">Masa Bida</th>
<th width="5%">Level Bida</th>
</tr>
</thead>
@foreach ($SAGWin as $index=>$info)
<tr>
<td>{{$index+1}}</td>
<td>{{$info['norujukan']}}</td>
<td>{{ number_format($info['hargaasas'], 2, '.', ',') }}</td>
<td>{{ number_format($info['hargabida'], 2, '.', ',') }}</td>
<td>{{$info['masa_bidaan']}}</td>
<td></td>
</tr>
@endforeach
<tbody>
<tr>
<td colspan="2"><strong>Jumlah</strong></td>
<td colspan="1"><strong>{{ number_format($caw['total_hargaasas'], 2, '.', ',') }}</strong></td>
<td colspan="1"><strong>{{ number_format($caw['total_bidaan'], 2, '.', ',') }}</strong></td>
<td colspan="1"></td>
<td colspan="1"></td>
</tr>
</tbody>
<tr>
<td colspan="6"><div><font size="1"><b><i> <br>
*Nota: Level Bida 1: Semifinal, Level Bida 2: Final</i></b></font></div></td>
</tr>
</table>
</div>
</tbody>
</table>