Files
lelong/resources/views/pdf/simrpt2.blade.php
T
Amirah22 eefc3e803a export to pdf
simulasi keseluruhan
notis lelong
2022-01-26 14:46:24 +08:00

200 lines
8.0 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: center;
}
#sim tr:nth-child(even){}
#sim tr:hover {}
#sim th {
text-align: center;
border: 1px 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;
}
th, td {
text-align: left;
padding: 16px;
}
tr:nth-child(even) {
background-color: #f2f2f2;
}
</style>
<body>
<table width="100%" border="0" id="sim">
<tr>
<td width="50%"><h3>PERMODALAN KELANTAN BERHAD</h3></td>
</tr>
<tr>
<td colspan="2"><u><b>LAPORAN SIMULASI SEMUA CAWANGAN</b></u></td>
</tr>
</table>
<br><br>
<table cellspacing="" cellpadding="5" text-align="left" border="1" height="25" align="left" id="sim">
<thead>
<br>
<tr>
<td>Bilangan Lelong: {{$total_marhun}}</td>
<td>Nilai Marhun Keseluruhan: RM{{ number_format($total_nmarhun, 2, '.', ',') }}</td>
<td>Pembiayaan Keseluruhan: RM{{ number_format($total_pinjaman, 2, '.', ',') }} </td>
<td>Keuntungan Keseluruhan:RM{{ number_format($total_upah, 2, '.', ',') }}</td>
</thead>
</table>
<table cellspacing="" cellpadding="5" text-align="left" border="1" height="25" align="left" id="sim">
<thead>
<tr>
<td>Rugi Lelong Keseluruhan: RM{{ number_format($total_rugilelong, 2, '.', ',') }}</td>
<td>Baki Lelong Keseluruhan: RM{{ number_format($total_bakilelong, 2, '.', ',') }}</td>
<td>Caj Lelong Keseluruhan: RM{{ number_format($total_cazlelong, 2, '.', ',') }}</td>
</tr>
</thead>
</table>
<br>
<br>
<table cellspacing="0" cellpadding="5" style="float:right;" border="1" width="100%" height="80" align="center" id="sim">
<thead>
<tr>
<th width="2%" align="center">No</th>
<th width="9%" align="center">Cawangan</th>
<th width="6%" align="center">Tarikh Lelong</th>
<th width="5%" align="center">Bil Marhun (Paket)</th>
<th width="5%" align="center">Berat(gm)</th>
<th width="9%" align="center">Nilai Marhun(RM)</th>
<th width="9%" align="center">Pembiayaan(RM)</th>
<th width="9%" align="center">Keuntungan(RM)</th>
<th width="9%" align="center">Harga Asas(RM)</th>
<th width="9%" align="center">Caj Lelong(RM)</th>
<th width="9%" align="center">Baki Lelong(RM)</th>
<th width="9%" align="center">Rugi Lelong(RM)</th>
</tr>
</thead>
@foreach ($arraycaw as $index=>$caw)
<tr>
<td>{{$index+1}}</td>
<td>{{ $caw['cawangan'] }}</td>
<td>{{ $caw['t_lelong'] }}</td>
<td>{{ $caw['bil_marhun'] }}</td>
<td>{{ number_format($caw['berat'], 2, '.', ',') }}</td>
<td>{{ number_format($caw['n_marhun'], 2, '.', ',') }}</td>
<td>{{ number_format($caw['pinjaman'], 2, '.', ',') }}</td>
<td>{{ number_format($caw['upah'], 2, '.', ',') }}</td>
<td>{{ number_format($caw['hargaasas'], 2, '.', ',') }}</td>
<td>{{ number_format($caw['cajlelong'], 2, '.', ',') }}</td>
<td>{{ number_format($caw['bakilelong'], 2, '.', ',') }}</td>
<td>({{ number_format($caw['rugilelong'], 2, '.', ',') }})</td>
</tr>
@endforeach
<tr>
<td colspan="3" align="left"><strong>Jumlah Keseluruhan</strong></td>
<td>{{ $total_marhun }}</td>
<td>{{ number_format($total_berat, 2, '.', ',') }}</td>
<td>{{ number_format($total_nmarhun, 2, '.', ',') }}</td>
<td>{{ number_format($total_pinjaman, 2, '.', ',') }}</td>
<td>{{ number_format($total_upah, 2, '.', ',') }}</td>
<td>{{ number_format($total_hargaasas, 2, '.', ',') }}</td>
<td>{{ number_format($total_cazlelong, 2, '.', ',') }}</td>
<td>{{ number_format($total_bakilelong, 2, '.', ',') }}</td>
<td>({{ number_format($total_rugilelong, 2, '.', ',') }})</td>
</tr>
</table>
<br><br><br><br><br><br>
<table cellspacing="0" cellpadding="2" style="float:right;" border="1" width="100%" height="80" align="right" id="sim">
<thead>
<tr>
<th style="text-align:center;" colspan="10"><h3><b>JUMLAH BERAT MENGIKUT MUTU (KESELURUHAN)</b></h3></th>
</tr>
</thead>
<tr>
<td colspan="1" align="left"><strong>MUTU &nbsp;</strong></td>
<td colspan="1" align="center">24Kgb &nbsp;</td>
<td colspan="1" align="center">24K&nbsp;</td>
<td colspan="1" align="center">23K&nbsp;</td>
<td colspan="1" align="center">22K&nbsp;</td>
<td colspan="1" align="center">21K&nbsp;</td>
<td colspan="1" align="center">20K&nbsp;</td>
<td colspan="1" align="center">18K&nbsp;</td>
<td colspan="1" align="center">14K&nbsp;</td>
<td colspan="1" align="center">9K&nbsp;</td>
</tr>
<tr>
<td colspan="1" align="left"><strong>BERAT(gm)</strong></td>
<td colspan="1" align="center">{{$total24Kgb}}</td>
<td colspan="1" align="center">{{$total24K}}</td>
<td colspan="1" align="center">{{$total23k}}</td>
<td colspan="1" align="center">{{$total22K}}</td>
<td colspan="1" align="center">{{$total21K}}</td>
<td colspan="1" align="center">{{$total20K}}</td>
<td colspan="1" align="center">{{$total18Kp}}</td>
<td colspan="1" align="center">{{$total14K}}</td>
<td colspan="1" align="center">{{$total9K}}</td>
</tr>
</table>
</tbody>