@php $imagePath = public_path('img/logo_ui3_landscape.jpg'); @endphp
@for($i=0; $i < count($data); $i++) @php $row = $data[$i]; $judul = "BUKTI JURNAL"; @endphp
@php $tot = 0; @endphp @for ($x=0; $x < count($row['detail']); $x++) @php $row1 = $row['detail'][$x]; $nilai = App\Helper\SaiHelpers::number_format_decimal($row1['nilai'],$export_type); $tot+=+floatval($row1['nilai']); @endphp @endfor
{{ $row['nama'] }} {{ $row['no_bukti'] }}
{{ $row['kota'] }} {{ substr($data[0]['tanggal'],8,2) }} {{ App\Helper\SaiHelpers::getNamaBulan(substr(str_replace("-","",$data[0]['tanggal']),0,6)) }}
{{ $judul }}
NO ID REGISTRASI NIS PENERIMA NAMA SALDO PDD NILAI MUTASI
{{ ($x+1) }} {{ $row1['nim'] }} {{ $row1['no_ref1'] }} {{ $row1['nama'] }} {{ $nilai }} {{ $nilai }}
Total {{ App\Helper\SaiHelpers::number_format_decimal($tot,$export_type) }} {{ App\Helper\SaiHelpers::number_format_decimal($tot,$export_type) }}

@if($i != (count($data) - 1))
@endif @endfor