update laporan 1
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
</td>
|
||||
|
||||
<td class="text-center">
|
||||
<a href="{{ route('lelong.senaraibrglelong',$laporan['brg']['lelong_id']) }}" data-toggle="tooltip" data-placement="top" title="Senarai Barang Lelong" ><i class="fas fa-download"></i></a>
|
||||
<a href="{{ route('lelong.senaraibrglelongdetails',$laporan['brg']['lelong_id']) }}" data-toggle="tooltip" data-placement="top" title="Senarai Barang Lelong Details" ><i class="fas fa-download"></i></a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
@@ -0,0 +1,154 @@
|
||||
|
||||
<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;
|
||||
}
|
||||
|
||||
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="0" cellpadding="5" style="float:right;" border="0" width="100%" height="80" align="left" id="sim">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="2%" align="left">No</th>
|
||||
<th width="15%" align="left">No Rujukan </th>
|
||||
<th width="10%" align="left">Jenis Marhun</th>
|
||||
<th width="10%" align="left">Karat</th>
|
||||
<th width="10%" align="left">Berat(gm)</th>
|
||||
<th width="12%" align="left">Harga(RM)</th>
|
||||
<th width="12%" align="left">Nilai Marhun(RM)</th>
|
||||
<th width="14%" align="left">Harga Asas(RM)</th>
|
||||
<th width="13%" align="left">Nota</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
|
||||
|
||||
@foreach ($lelongs as $marhun)
|
||||
<tr>
|
||||
<td>{{ $loop->iteration }} </td>
|
||||
<td>{{ $marhun['norujukan'] }}</td>
|
||||
<td>@foreach ($marhun['detailmarhun'] as $item)
|
||||
{{ $item['marhun'] }}<br>
|
||||
@endforeach</td>
|
||||
<td>@foreach ($marhun['detailmarhun'] as $item)
|
||||
{{ $item['karat'] }}<br>
|
||||
@endforeach</td>
|
||||
<td>@foreach ($marhun['detailmarhun'] as $item)
|
||||
{{ $item['berat'] }}<br>
|
||||
@endforeach</td>
|
||||
<td>@foreach ($marhun['detailmarhun'] as $item)
|
||||
{{ $item['harga'] }}<br>
|
||||
@endforeach</td>
|
||||
<td>@foreach ($marhun['detailmarhun'] as $item)
|
||||
{{ $item['n_marhun'] }}<br>
|
||||
@endforeach</td>
|
||||
<td>@foreach ($marhun['detailmarhun'] as $item)
|
||||
{{ $item['hargaasas'] }}<br>
|
||||
@endforeach</td>
|
||||
<td>@foreach ($marhun['detailmarhun'] as $item)
|
||||
{{ $item['nota'] }}<br>
|
||||
@endforeach</td>
|
||||
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="4" align="left"></td>
|
||||
<td>{{ number_format($marhun['berat'], 2, '.', ',') }}</td>
|
||||
<td></td>
|
||||
<td>{{ number_format($marhun['nilaimarhun'], 2, '.', ',') }}</td>
|
||||
<td>{{ number_format($marhun['hargaasas'], 2, '.', ',') }}</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
@endforeach
|
||||
@foreach ($arraycaw as $index=>$caw)
|
||||
|
||||
<tr>
|
||||
<td colspan="4" align="left"><strong>Jumlah Keseluruhan</strong></td>
|
||||
<td><strong>{{ number_format($total_berat, 2, '.', ',') }}</strong></td>
|
||||
<td><strong>{{ number_format($total_harga, 2, '.', ',') }}</strong></td>
|
||||
<td><strong>{{ number_format($total_nmarhun, 2, '.', ',') }}</strong></td>
|
||||
<td><strong>{{ number_format($total_hargaasas, 2, '.', ',') }}</strong></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
</tbody>
|
||||
Reference in New Issue
Block a user