Fix skit2

This commit is contained in:
hafifierahman
2021-10-14 01:12:21 +08:00
parent f1fa599637
commit 398ee25a7c
2 changed files with 28 additions and 26 deletions
+3 -3
View File
@@ -228,7 +228,7 @@
</tr>
@php $counter = 1; $totalbayaran = 0; $totalpembiayaan = 0; $totalsebenar = 0; $totalpembiayaanteller = 0; $totalbayaranteller = 0; $totalsebenarteller = 0; @endphp
@foreach($advansur as $index=>$item)
@php $totalbayaran += $item['upahDibayar']; $totalpembiayaan += $item['pinjaman']; $totalsebenar += $item['upahSebenar'];@endphp
@php $totalbayaran += $item['upahDibayar']; $totalpembiayaan += $item['pinjaman']; $totalsebenar += $item['upahsebenar'];@endphp
@if($index > 0)
@if($item['teller'] != $advansur[$index - 1]['teller'])
<tr>
@@ -250,11 +250,11 @@
<td>{{ $item['teller'] }}</td>
<td>{{ $item['jbg'] }}</td>
<td>{{ number_format($item['pinjaman'],2) }}</td>
<td>{{ number_format($item['upahSebenar'],2) }}</td>
<td>{{ number_format($item['upahsebenar'],2) }}</td>
<td>{{ number_format($item['upahDibayar'],2) }}</td>
</tr>
@php $counter++; @endphp
@php $totalbayaranteller += $item['upahDibayar']; $totalsebenarteller += $item['upahSebenar']; $totalpembiayaanteller += $item['pinjaman']; @endphp
@php $totalbayaranteller += $item['upahDibayar']; $totalsebenarteller += $item['upahsebenar']; $totalpembiayaanteller += $item['pinjaman']; @endphp
@if($index+1 < sizeof($advansur))
@if($item['teller'] != $advansur[$index + 1]['teller'])
<tr>