fix laporan yang dikehendaki

This commit is contained in:
hafifierahman
2022-09-28 09:30:01 +08:00
parent d445597d2b
commit 30fca76da5
2 changed files with 4 additions and 6 deletions
@@ -211,13 +211,14 @@
<th>Tarikh</th>
<th>N Marhun</th>
<th>Pembiayaan</th>
<th>Tag Terima</th>
<th>Status Scan</th>
</tr>
@php $counter = 1;@endphp
@foreach($serahmarhun as $index=>$item)
@if($index > 0)
@if($item['teller'] != $serahmarhun[$index - 1]['teller'])
@php $counter = 1; @endphp
<tr>
<td colspan=10>Teller : <b>{{ $item['teller'] }}</b></td>
</tr>
@@ -233,7 +234,7 @@
<td>{{ $item['t_tebus'] }}</td>
<td>{{ number_format($item['nilaimarhun'],2) }}</td>
<td>{{ number_format($item['pinjaman'],2) }}</td>
<td>{{ $item['tagterima'] }}</td>
<td>{{ ($item['tagterima'] == 0) "Belum Scan" : "Sudah Scan" }}</td>
</tr>
@php $counter++; @endphp
@endforeach
@@ -213,14 +213,13 @@
<th>Masa</th>
<th>N Marhun</th>
<th>Pembiayaan</th>
<th>Cetak</th>
<th>Tag Serah</th>
<th>Semak Barcode</th>
</tr>
@php $counter = 1;@endphp
@foreach($serahbarcode as $index=>$item)
@if($index > 0)
@if($item['teller'] != $serahbarcode[$index - 1]['teller'])
@php $counter = 1;@endphp
<tr>
<td colspan=10>Teller : <b>{{ $item['teller'] }}</b></td>
</tr>
@@ -240,8 +239,6 @@
<td>{{ $item['masa'] }}</td>
<td>{{ number_format($item['nilaimarhun'],2) }}</td>
<td>{{ number_format($item['pinjaman'],2) }}</td>
<td>{{ $item['cetak'] }}</td>
<td>{{ $item['tagserah'] }}</td>
<td>{{ $item['semakbarcode'] }}</td>
</tr>
@php $counter++; @endphp