@role('Admin|superadmin') @endrole @role('Puskesmas|Pihak Wajib Pajak') @endrole @php $Grandsd = 0; $Grandsmp = 0; $Grandpuskesmas = 0; $Grandpasar = 0; $GrandTotal = 0; $Grandm_sd = 0; $Grandm_smp = 0; $Grandm_puskesmas = 0; $Grandm_pasar = 0; $GrandMTotal = 0; @endphp @role('Admin|superadmin') @foreach ($unit_kerja as $key => $item) @endforeach @endrole @role('Puskesmas|Pihak Wajib Pajak') @foreach ($desa as $key => $item) @if ($item->filterTable82(Session::get('year'), $item->id)) @endif @endforeach @endrole
PERSENTASE TEMPAT DAN FASILITAS UMUM(TFU) YANG DILAKUKAN PENGAWASAN SESUAI STANDAR MENURUT KECAMATAN DAN PUSKESMAS
Kabupaten/Kota Kutai Timur
Tahun {{Session::get('year')}}
KecamatanPuskesmasDesaTFU TERDAFTAR TFU YANG DILAKUKAN PENGAWASAN SESUAI STANDAR (IKL)
SEKOLAH PUSKESMAS PASAR TOTAL SARANA PENDIDIKAN PUSKESMAS PASAR TOTAL
SD / MI SMP/ MTS SD / MI SMP/ MTS
% % % % %
{{ $item->kecamatan }} {{ $item->nama }} @php $sd = $item->unitKerjaAmbilPart2('filterTable82', Session::get('year'), 'sd')['total']; $Grandsd += $sd; echo $sd; @endphp @php $smp = $item->unitKerjaAmbilPart2('filterTable82', Session::get('year'), 'smp')['total']; $Grandsmp += $smp; echo $smp; @endphp @php $puskesmas = $item->unitKerjaAmbilPart2('filterTable82', Session::get('year'), 'puskesmas')['total']; $Grandpuskesmas += $puskesmas; echo $puskesmas; @endphp @php $pasar = $item->unitKerjaAmbilPart2('filterTable82', Session::get('year'), 'pasar')['total']; $Grandpasar += $pasar; echo $pasar; @endphp @php $totals = $sd + $smp + $puskesmas + $pasar; $GrandTotal += $totals; @endphp {{ $totals }} @php $m_sd = $item->unitKerjaAmbilPart2('filterTable82', Session::get('year'), 'm_sd')['total']; $Grandm_sd += $m_sd; echo $m_sd; @endphp {{ $sd>0?number_format(($m_sd / $sd) * 100, 2) . '%':0}} @php $m_smp = $item->unitKerjaAmbilPart2('filterTable82', Session::get('year'), 'm_smp')['total']; $Grandm_smp += $m_smp; echo $m_smp; @endphp {{ $smp>0?number_format(($m_smp / $smp) * 100, 2) . '%':0}} @php $m_puskesmas = $item->unitKerjaAmbilPart2('filterTable82', Session::get('year'), 'm_puskesmas')['total']; $Grandm_puskesmas += $m_puskesmas; echo $m_puskesmas; @endphp {{ $puskesmas>0?number_format(($m_puskesmas / $puskesmas) * 100, 2) . '%':0}} @php $m_pasar = $item->unitKerjaAmbilPart2('filterTable82', Session::get('year'), 'm_pasar')['total']; $Grandm_pasar += $m_pasar; echo $m_pasar; @endphp {{ $pasar>0?number_format(($m_pasar / $pasar) * 100, 2) . '%':0}} @php $total = $m_sd + $m_smp + $m_puskesmas + $m_pasar; $GrandMTotal += $total; @endphp {{ $total }} {{$totals>0? number_format(($total / $totals) * 100, 2) . '%':0}}
{{ $item->UnitKerja->kecamatan }} {{ $item->nama }} @php $sd = $item->filterTable82(Session::get('year'), $item->id)->sd; $Grandsd += $sd; @endphp {{ $sd }} @php $smp = $item->filterTable82(Session::get('year'), $item->id)->smp; $Grandsmp += $smp; @endphp {{ $smp }} @php $puskesmas = $item->filterTable82(Session::get('year'), $item->id)->puskesmas; $Grandpuskesmas += $puskesmas; @endphp {{ $puskesmas }} @php $pasar = $item->filterTable82(Session::get('year'), $item->id)->pasar; $Grandpasar += $pasar; @endphp {{ $pasar }} @php $totals = $sd + $smp + $puskesmas + $pasar; $GrandTotal += $totals; @endphp {{ $totals }} @php $m_sd = $item->filterTable82(Session::get('year'), $item->id)->m_sd; $Grandm_sd += $m_sd; @endphp {{ $m_sd }} {{ $sd > 0 ? number_format(($m_sd / $sd) * 100, 2) . '%' : '0%' }} @php $m_smp = $item->filterTable82(Session::get('year'), $item->id)->m_smp; $Grandm_smp += $m_smp; @endphp {{ $m_smp }} {{ $smp > 0 ? number_format(($m_smp / $smp) * 100, 2) . '%' : '0%' }} @php $m_puskesmas = $item->filterTable82(Session::get('year'), $item->id)->m_puskesmas; $Grandm_puskesmas += $m_puskesmas; @endphp {{ $m_puskesmas }} {{ $puskesmas > 0 ? number_format(($m_puskesmas / $puskesmas) * 100, 2) . '%' : '0%' }} @php $m_pasar = $item->filterTable82(Session::get('year'), $item->id)->m_pasar; $Grandm_pasar += $m_pasar; @endphp {{ $m_pasar }} {{ $pasar>0?number_format(($m_pasar / $pasar) * 100, 2) . '%':0}} @php $total = $m_sd + $m_smp + $m_puskesmas + $m_pasar; $GrandMTotal += $total; @endphp {{ $total }} {{ $totals>0?number_format(($total / $totals) * 100, 2) . '%':0}}
JUMLAH {{$Grandsd }} {{$Grandsmp }} {{$Grandpuskesmas }} {{$Grandpasar }} {{$GrandTotal }} {{$Grandm_sd }} {{ $Grandsd>0?number_format(($Grandm_sd / $Grandsd) * 100, 2) . '%':0}} {{$Grandm_smp }} {{ $Grandsmp>0?number_format(($Grandm_smp / $Grandsmp) * 100, 2) . '%':0}} {{$Grandm_puskesmas }} {{ $Grandpuskesmas>0?number_format(($Grandm_puskesmas / $Grandpuskesmas) * 100, 2) . '%':0}} {{$Grandm_pasar }} {{$Grandpasar>0? number_format(($Grandm_pasar / $Grandpasar) * 100, 2) . '%':0}} {{$GrandMTotal }} {{ $GrandTotal>0?number_format(($GrandMTotal / $GrandTotal) * 100, 2) . '%':0}}