|
{{$value->office_name}}
|
@foreach(\App\Model\Date\ListMonth::all() as $key => $value)
id_bulan == 1){
$fixMonth = 12;
$fixYear = $year - 1;
}else{
$fixMonth = $value->id_bulan - 1;
$fixYear = $year;
}
$checkingPengiriman = \App\Model\SPP\RincianTagihan::whereMonth('bi_create_date',$fixMonth)->whereYear('bi_create_date',$fixYear)->where('upt',$uptName)->where('status_izin','Perpanjangan')->where('bi_type',$bi_type)->where('active',1)->count();
?>
@if($checkingPengiriman != 0)
YA
@else
BELUM
@endif
|
@endforeach
@endforeach