@php
$th_col = ["no","no_bayar","keterangan","periode","nis","nama","total"];
$th_colname = ["NO","No Pembayaran","Keterangan","Periode","NIS","Nama","Total"];
$th_width = ["5%","15%","25%","10%","15%","20%","10%"];
@endphp
@for ($c=0; $c < count($th_col); $c++)
@php
$col = $th_colname[$c];
@endphp
@endfor
@php
$no=$start + 1;
$total = 0;
@endphp
@for($x=0; $x < count($data); $x++)
@php
$line2 = $data[$x];
$total += $line2['total'];
@endphp
@for ($c=0; $c < count($th_col); $c++)
@if($c == 6)
{{ App\Helper\SaiHelpers::number_format_decimal($line2[$th_col[$c]]) }}
|
@else
{{ $line2[$th_col[$c]] }}
|
@endif
@endfor
@php
$no++;
@endphp
@endfor
Total |
{{ App\Helper\SaiHelpers::number_format_decimal($total,$export_type) }} |