laporan ansuran panjaran

This commit is contained in:
MUHD HAFIFIE
2021-04-27 15:58:20 +08:00
parent 043a276d93
commit d5ce8d0df1
12 changed files with 744 additions and 159 deletions
@@ -208,8 +208,9 @@
<th>Pembiayaan</th>
<th>Lanjutan</th>
</thead>
@php $counter = 1; @endphp
@php $counter = 1;$totalpinjaman = 0; @endphp
@foreach($stokaudit['rekod'] as $index=>$item)
@php if($item['hargajualan'] == null) $totalpinjaman += $item['pinjaman']; else $totalpinjaman += $item['bakipjm']; @endphp
<tr>
<td>{{ $counter }}</td>
<td>{{$item['norujukan']}}</td>
@@ -217,7 +218,7 @@
<td>{{$item['nokp']}}</td>
<td>{{ number_format($item['berat'],2) }}</td>
<td>{{ number_format($item['nilaimarhun'],2) }}</td>
<td>{{ number_format($item['pinjaman'],2) }}</td>
<td>@php if($item['hargajualan'] == null) echo number_format($item['pinjaman'],2); else echo number_format($item['bakipjm'],2); @endphp</td>
<td>{{$item['lelong_tawarruq']}}</td>
</tr>
@php $counter++; @endphp
@@ -226,7 +227,7 @@
<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>{{ number_format($totalpinjaman,2) }}</th>
<th></th>
</tfoot>
</table>