dashboard operasi

This commit is contained in:
MUHD HAFIFIE
2021-04-21 15:55:09 +08:00
parent bde37da6c3
commit 0189a7b6b0
7 changed files with 69 additions and 41 deletions
@@ -198,34 +198,37 @@
<br>
<table id="details">
<tr>
<thead>
<th>Bil</th>
<th>Norujukan</th>
<th>JBG</th>
<th>No. KP</th>
<th>Marhun</th>
<th>Berat</th>
<th>Nilai Marhun (RM)</th>
<th>Pembiayaan</th>
<th>Jenis Tebus</th>
</tr>
<th>Lanjutan</th>
</thead>
@php $counter = 1; @endphp
@foreach($stokaudit as $index=>$item)
@foreach($stokaudit['rekod'] as $index=>$item)
<tr>
<td>{{ $counter }}</td>
<td>{{$item['norujukan']}}</td>
<td>{{ $item['jbg'] }}</td>
<td>{{$item['nokp']}}</td>
<td>{{ $item['marhun'] }}</td>
<td>{{ number_format($item['berat'],2) }}</td>
<td>{{ number_format($item['nilaimarhun'],2) }}</td>
<td>{{ number_format($item['pinjaman'],2) }}</td>
<td>{{$item['jenistebus']}}</td>
<td>{{$item['lelong_tawarruq']}}</td>
</tr>
@php $counter++; @endphp
@endforeach
<tfoot>
<th colspan='4'>Jumlah</th>
<th>{{ number_format($stokaudit['totalberat'],2) }}</th>
<th>{{ number_format($stokaudit['totalnilaimarhun'],2) }}</th>
<th>{{ number_format($stokaudit['total'],2) }}</th>
<th></th>
</tfoot>
</table>
<br>