@php
$th_col = ["no","no_reg","nama", "kode_pp", "id_bank"];
$th_width = ["5%","15%","50%","12%","18%"];
@endphp
@for ($c=0; $c < count($th_col); $c++)
@php
$col = str_replace("_"," ",$th_col[$c]);
$col = ucwords($col);
@endphp
@endfor
@php
$no=$start + 1;
@endphp
@for($x=0; $x < count($data); $x++)
@php
$line2 = $data[$x];
@endphp
@for ($c=0; $c < count($th_col); $c++)
@if($export_type == "excel")
@if($c == 1 || $c == 4)
{{ "'".$line2[$th_col[$c]] }}
@else
{{ $line2[$th_col[$c]] }}
@endif
@else
{{ $line2[$th_col[$c]] }}
@endif
|
@endfor
@php
$no++;
@endphp
@endfor