{{ $lokasi }}

LAPORAN PENCAIRAN PANJAR

@for($h=0; $h < count($header); $h++) @endfor @php $nilai=0; $nilai_pot=0; $debet=0; $kredit=0; @endphp @for($x=0; $x < count($data); $x++) @php $line2 = $data[$x]; $debet += isset($line2['debet']) ? $line2['debet'] : 0; $kredit += isset($line2['kredit']) ? $line2['kredit'] : 0; $nilai += isset($line2['nilai']) ? $line2['nilai'] : 0; $nilai_pot += isset($line2['nilai_pot']) ? $line2['nilai_pot'] : 0; @endphp @for($c=0; $c < count($column); $c++) @if($column[$c] == "nilai" || $column[$c] == "nilai_pot" || $column[$c] == "debet" || $column[$c] == "kredit") @else @endif @endfor @endfor @if($bentuk[1] == "Transaksi") @else @endif
No{{ $header[$h] }}
{{ ($x+1) }}{{ number_format($line2[$column[$c]],0,",",".") }}{{ $line2[$column[$c]] }}
Total  {{ number_format($nilai,0,",",".") }} {{ number_format($nilai_pot,0,",",".") }}
Total  {{ number_format($debet,0,",",".") }} {{ number_format($kredit,0,",",".") }}