fix jbg gadai customerinfo
This commit is contained in:
@@ -213,22 +213,22 @@
|
||||
<th>N Marhun</th>
|
||||
<th>Jenis Tebus</th>
|
||||
</tr>
|
||||
@php $counter = 0; $totalpembiayaan = 0;@endphp
|
||||
@php $counter = 1; $totalpembiayaan = 0;@endphp
|
||||
@foreach($tebus as $index=>$item)
|
||||
@if($index > 0)
|
||||
@if($item['teller'] != $tebus[$index - 1]['teller'])
|
||||
<tr>
|
||||
<td colspan=12>Teller : {{$item['teller']}}</td>
|
||||
<td colspan=12>Teller : <b>{{ $item['teller'] }}</b></td>
|
||||
</tr>
|
||||
@endif
|
||||
@else
|
||||
<tr>
|
||||
<td colspan=12>Teller : {{$item['teller']}}</td>
|
||||
<td colspan=12>Teller : <b>{{ $item['teller'] }}</b></td>
|
||||
</tr>
|
||||
@endif
|
||||
<tr>
|
||||
<td>{{ $loop->iteration }}</td>
|
||||
<td colspan=2>{{$item['norujukan']}}</td>
|
||||
<td>{{ $counter }}</td>
|
||||
<td>{{ $item['norujukan'] }}</td>
|
||||
<td>
|
||||
@php
|
||||
$gadai_detail = Http::get($api_url . '/api/gadai/norujukan/'. $item['norujukan'])->json();
|
||||
@@ -258,13 +258,13 @@
|
||||
@if($index+1 < sizeof($tebus))
|
||||
@if($item['teller'] != $tebus[$index + 1]['teller'])
|
||||
<tr>
|
||||
<td colspan=12>{{ $counter }} Jumlah Bagi Teller : {{$item['teller']}}</td>
|
||||
<td colspan=12><b>{{ $counter-1 }}</b> Jumlah Bagi Teller : <b>{{ $item['teller'] }}</b></td>
|
||||
</tr>
|
||||
@php $counter = 0; @endphp
|
||||
@endif
|
||||
@else
|
||||
<tr>
|
||||
<td colspan=12>{{ $counter }} Jumlah Bagi Teller : {{$item['teller']}}</td>
|
||||
<td colspan=12><b>{{ $counter-1 }}</b> Jumlah Bagi Teller : <b>{{ $item['teller'] }}</b></td>
|
||||
</tr>
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
Reference in New Issue
Block a user