Fix skit2
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user