{{$item->kecamatan}} |
{{$item->nama}} |
{{$item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'jumlah_sd')["total"]}} |
{{$item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'jumlah_sikat')["total"]}} |
{{$item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'jumlah_sd')["total"] > 0?
number_format($item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'jumlah_sikat')["total"]
/$item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'jumlah_sd')["total"] * 100, 2
):0}} |
{{$item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'jumlah_yan')["total"]}} |
{{$item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'jumlah_sd')["total"] > 0?
number_format($item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'jumlah_yan')["total"]
/$item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'jumlah_sd')["total"] * 100, 2
):0}} |
{{$item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'sd_L')["total"]}} |
{{$item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'sd_P')["total"]}} |
{{$item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'sd_P')["total"] + $item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'sd_L')["total"]}} |
{{$item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'diperiksa_L')["total"]}} |
{{$item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'sd_L')["total"] > 0?
number_format($item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'diperiksa_L')["total"]
/$item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'sd_L')["total"] * 100, 2
):0}} |
{{$item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'diperiksa_P')["total"]}} |
{{$item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'sd_P')["total"] > 0?
number_format($item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'diperiksa_P')["total"]
/$item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'sd_P')["total"] * 100, 2
):0}} |
{{$item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'diperiksa_P')["total"] + $item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'diperiksa_L')["total"]}} |
{{$item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'sd_P')["total"] + $item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'sd_L')["total"]> 0?
number_format(($item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'diperiksa_L')["total"] + $item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'diperiksa_P')["total"])
/($item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'sd_L')["total"] + $item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'sd_P')["total"]) * 100, 2
):0}} |
{{$item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'rawat_L')["total"]}} |
{{$item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'rawat_P')["total"]}} |
{{$item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'rawat_P')["total"] + $item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'rawat_L')["total"]}} |
{{$item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'dapat_L')["total"]}} |
{{$item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'rawat_L')["total"] > 0?
number_format($item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'dapat_L')["total"]
/$item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'rawat_L')["total"] * 100, 2
):0}} |
{{$item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'dapat_P')["total"]}} |
{{$item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'rawat_P')["total"] > 0?
number_format($item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'dapat_P')["total"]
/$item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'rawat_P')["total"] * 100, 2
):0}} |
{{$item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'dapat_P')["total"] + $item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'dapat_L')["total"]}} |
{{$item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'rawat_P')["total"] + $item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'rawat_L')["total"]> 0?
number_format(($item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'dapat_L')["total"] + $item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'dapat_P')["total"])
/($item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'rawat_L')["total"] + $item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'rawat_P')["total"]) * 100, 2
):0}} |
@endforeach
Total |
|
{{ $totalJumlahSD }} |
{{ $totalJumlahSikat }} |
{{ $totalJumlahSD > 0 ? number_format($totalJumlahSikat / $totalJumlahSD * 100, 2) : 0 }} |
{{ $totalJumlahYan }} |
{{ $totalJumlahSD > 0 ? number_format($totalJumlahYan / $totalJumlahSD * 100, 2) : 0 }} |
{{ $totalSdL }} |
{{ $totalSdP }} |
{{ $totalSdL + $totalSdP }} |
{{ $totalDiperiksaL }} |
{{ $totalSdL > 0 ? number_format($totalDiperiksaL / $totalSdL * 100, 2) : 0 }} |
{{ $totalDiperiksaP }} |
{{ $totalSdP > 0 ? number_format($totalDiperiksaP / $totalSdP * 100, 2) : 0 }} |
{{ $totalDiperiksaL + $totalDiperiksaP }} |
{{ ($totalSdL + $totalSdP) > 0 ? number_format(($totalDiperiksaL + $totalDiperiksaP) / ($totalSdL + $totalSdP) * 100, 2) : 0 }} |
{{ $totalRawatL }} |
{{ $totalRawatP }} |
{{ $totalRawatL + $totalRawatP }} |
{{ $totalDapatL }} |
{{ $totalRawatL > 0 ? number_format($totalDapatL / $totalRawatL * 100, 2) : 0 }} |
{{ $totalDapatP }} |
{{ $totalRawatP > 0 ? number_format($totalDapatP / $totalRawatP * 100, 2) : 0 }} |
{{ $totalDapatL + $totalDapatP }} |
{{ ($totalRawatL + $totalRawatP) > 0 ? number_format(($totalDapatL + $totalDapatP) / ($totalRawatL + $totalRawatP) * 100, 2) : 0 }} |
@endrole
@role('Puskesmas|Pihak Wajib Pajak')
@foreach ($desa as $key => $item)
@if($item->filterGigiAnak(Session::get('year')))
@php
// Fetch data for the current row
$jumlahSD = $item->filterGigiAnak(Session::get('year'))->jumlah_sd;
$jumlahSikat = $item->filterGigiAnak(Session::get('year'))->jumlah_sikat;
$jumlahYan = $item->filterGigiAnak(Session::get('year'))->jumlah_yan;
$sdL = $item->filterGigiAnak(Session::get('year'))->sd_L;
$sdP = $item->filterGigiAnak(Session::get('year'))->sd_P;
$diperiksaL = $item->filterGigiAnak(Session::get('year'))->diperiksa_L;
$diperiksaP = $item->filterGigiAnak(Session::get('year'))->diperiksa_P;
$rawatL = $item->filterGigiAnak(Session::get('year'))->rawat_L;
$rawatP = $item->filterGigiAnak(Session::get('year'))->rawat_P;
$dapatL = $item->filterGigiAnak(Session::get('year'))->dapat_L;
$dapatP = $item->filterGigiAnak(Session::get('year'))->dapat_P;
// Accumulate totals
$totalJumlahSD += $jumlahSD;
$totalJumlahSikat += $jumlahSikat;
$totalJumlahYan += $jumlahYan;
$totalSdL += $sdL;
$totalSdP += $sdP;
$totalDiperiksaL += $diperiksaL;
$totalDiperiksaP += $diperiksaP;
$totalRawatL += $rawatL;
$totalRawatP += $rawatP;
$totalDapatL += $dapatL;
$totalDapatP += $dapatP;
@endphp
{{$item->UnitKerja->kecamatan}} |
{{$item->nama}} |
{{$item->filterGigiAnak(Session::get('year'))->jumlah_sd}} |
{{$item->filterGigiAnak(Session::get('year'))->jumlah_sikat}} |
{{$item->filterGigiAnak(Session::get('year'))->jumlah_sd > 0 ?
number_format(
$item->filterGigiAnak(Session::get('year'))->jumlah_sikat /
$item->filterGigiAnak(Session::get('year'))->jumlah_sd * 100,
2
) : 0}}
|
{{$item->filterGigiAnak(Session::get('year'))->jumlah_yan}} |
{{$item->filterGigiAnak(Session::get('year'))->jumlah_sd > 0 ?
number_format(
$item->filterGigiAnak(Session::get('year'))->jumlah_yan /
$item->filterGigiAnak(Session::get('year'))->jumlah_sd * 100,
2
) : 0}}
|
{{$item->filterGigiAnak(Session::get('year'))->sd_L}} |
{{$item->filterGigiAnak(Session::get('year'))->sd_P}} |
{{$item->filterGigiAnak(Session::get('year'))->sd_L + $item->filterGigiAnak(Session::get('year'))->sd_P}}
|
{{$item->filterGigiAnak(Session::get('year'))->diperiksa_L}} |
{{$item->filterGigiAnak(Session::get('year'))->sd_L > 0 ?
number_format(
$item->filterGigiAnak(Session::get('year'))->diperiksa_L /
$item->filterGigiAnak(Session::get('year'))->sd_L * 100,
2
) : 0}}
|
{{$item->filterGigiAnak(Session::get('year'))->diperiksa_P}} |
{{$item->filterGigiAnak(Session::get('year'))->sd_P > 0 ?
number_format(
$item->filterGigiAnak(Session::get('year'))->diperiksa_P /
$item->filterGigiAnak(Session::get('year'))->sd_P * 100,
2
) : 0}}
|
{{$item->filterGigiAnak(Session::get('year'))->diperiksa_L +
$item->filterGigiAnak(Session::get('year'))->diperiksa_P}}
|
{{$item->filterGigiAnak(Session::get('year'))->sd_P + $item->filterGigiAnak(Session::get('year'))->sd_L > 0 ?
number_format(
($item->filterGigiAnak(Session::get('year'))->diperiksa_L +
$item->filterGigiAnak(Session::get('year'))->diperiksa_P) /
($item->filterGigiAnak(Session::get('year'))->sd_L +
$item->filterGigiAnak(Session::get('year'))->sd_P) * 100,
2
) : 0}}
|
{{$item->filterGigiAnak(Session::get('year'))->rawat_L}} |
{{$item->filterGigiAnak(Session::get('year'))->rawat_P}} |
{{$item->filterGigiAnak(Session::get('year'))->rawat_L +
$item->filterGigiAnak(Session::get('year'))->rawat_P}}
|
{{$item->filterGigiAnak(Session::get('year'))->dapat_L}} |
{{$item->filterGigiAnak(Session::get('year'))->rawat_L > 0 ?
number_format(
$item->filterGigiAnak(Session::get('year'))->dapat_L /
$item->filterGigiAnak(Session::get('year'))->rawat_L * 100,
2
) : 0}}
|
{{$item->filterGigiAnak(Session::get('year'))->dapat_P}} |
{{$item->filterGigiAnak(Session::get('year'))->rawat_P>0?
number_format($item->filterGigiAnak(Session::get('year'))->dapat_P
/$item->filterGigiAnak(Session::get('year'))->rawat_P * 100, 2):0}} |
{{$item->filterGigiAnak(Session::get('year'))->dapat_L + $item->filterGigiAnak(Session::get('year'))->dapat_P}} |
{{$item->filterGigiAnak(Session::get('year'))->rawat_P + $item->filterGigiAnak(Session::get('year'))->rawat_L>0?
number_format(( $item->filterGigiAnak(Session::get('year'))->dapat_L + $item->filterGigiAnak(Session::get('year'))->dapat_P)
/($item->filterGigiAnak(Session::get('year'))->rawat_L + $item->filterGigiAnak(Session::get('year'))->rawat_P) * 100, 2):0}} |
@endif
@endforeach
Total |
|
{{ $totalJumlahSD }} |
{{ $totalJumlahSikat }} |
{{ $totalJumlahSD > 0 ? number_format($totalJumlahSikat / $totalJumlahSD * 100, 2) : 0 }} |
{{ $totalJumlahYan }} |
{{ $totalJumlahSD > 0 ? number_format($totalJumlahYan / $totalJumlahSD * 100, 2) : 0 }} |
{{ $totalSdL }} |
{{ $totalSdP }} |
{{ $totalSdL + $totalSdP }} |
{{ $totalDiperiksaL }} |
{{ $totalSdL > 0 ? number_format($totalDiperiksaL / $totalSdL * 100, 2) : 0 }} |
{{ $totalDiperiksaP }} |
{{ $totalSdP > 0 ? number_format($totalDiperiksaP / $totalSdP * 100, 2) : 0 }} |
{{ $totalDiperiksaL + $totalDiperiksaP }} |
{{ ($totalSdL + $totalSdP) > 0 ? number_format(($totalDiperiksaL + $totalDiperiksaP) / ($totalSdL + $totalSdP) * 100, 2) : 0 }} |
{{ $totalRawatL }} |
{{ $totalRawatP }} |
{{ $totalRawatL + $totalRawatP }} |
{{ $totalDapatL }} |
{{ $totalRawatL > 0 ? number_format($totalDapatL / $totalRawatL * 100, 2) : 0 }} |
{{ $totalDapatP }} |
{{ $totalRawatP > 0 ? number_format($totalDapatP / $totalRawatP * 100, 2) : 0 }} |
{{ $totalDapatL + $totalDapatP }} |
{{ ($totalRawatL + $totalRawatP) > 0 ? number_format(($totalDapatL + $totalDapatP) / ($totalRawatL + $totalRawatP) * 100, 2) : 0 }} |
@endrole