LAPORAN PENEBUSAN Tarikh Cetak: @php $myDateTime = DateTime::createFromFormat('Y-m-d', $tarikh_cetak); $formattedweddingdate = $myDateTime->format('d-m-Y'); echo($formattedweddingdate) @endphp
TARIKH @php $myDateTime = DateTime::createFromFormat('Y-m-d', $tebus_date); $formattedweddingdate = $myDateTime->format('d-m-Y'); echo($formattedweddingdate) @endphp

@php $counter = 0; @endphp @foreach($tebus as $index=>$item) @if($index > 0) @if($item['teller'] != $tebus[$index - 1]['teller']) @endif @else @endif @php $counter++; @endphp @if($index+1 < sizeof($tebus)) @if($item['teller'] != $tebus[$index + 1]['teller']) @php $counter = 0; @endphp @endif @else @endif @endforeach
Bil Norujukan Nama No KP T Gadai T Tebus JBG Pembiayaan Upah Asal Upah Percuma Upah Dibayar N Marhun Jenis Tebus
Teller : {{$item['teller']}}
Teller : {{$item['teller']}}
{{$item['norujukan']}} @php $gadai_detail = Http::get($api_url . '/api/gadai/norujukan/'. $item['norujukan'])->json(); $customer_detail = Http::get($api_url . '/api/customers/' . $gadai_detail[0][0]['nokp'])->json(); echo $customer_detail[0]['nama']; @endphp {{$gadai_detail[0][0]['nokp']}} @php $myDateTime = DateTime::createFromFormat('Y-m-d', $gadai_detail[0][0]['t_gadai']); $formattedweddingdate = $myDateTime->format('d-m-Y'); echo($formattedweddingdate) @endphp {{$item['t_tebus']}} {{$item['jbg']}} {{$item['pinjaman']}} {{$item['upahasal']}} {{$item['upahpercuma']}} {{$item['upahdibayar']}} {{$item['nilaimarhun']}} {{$item['jenistebus']}}
{{ $counter }} Jumlah Bagi Teller : {{$item['teller']}}
{{ $counter }} Jumlah Bagi Teller : {{$item['teller']}}


.................................................................. ..................................................................
DI SEMAK DI SAHKAN