distinct()->get(); ?>

Data Status Tagihan {{date('d F Y')}}


@foreach(\App\Model\Date\ListMonth::all() as $key => $value) @endforeach @foreach($listUpt as $key => $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(); ?> @endforeach @endforeach
UPT{{$value->nama}}
{{$value->office_name}} @if($checkingPengiriman != 0) YA @else BELUM @endif