@role('Admin|superadmin') @endrole @role('Puskesmas|Pihak Wajib Pajak') @endrole @php $totalLahirHidupL = 0; $totalLahirHidupP = 0; $totalLahirHidup = 0; $totalDptL = 0; $totalDptP = 0; $totalDpt = 0; $totalRubelaL = 0; $totalRubelaP = 0; $totalRubela = 0; @endphp @role('Admin|superadmin') @foreach ($unit_kerja as $key => $item) @php // Fetch data for the current row $jumlahL = $item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'jumlah_L')["total"]; $jumlahP = $item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'jumlah_P')["total"]; $jumlahTotal = $jumlahL + $jumlahP; $dptL = $item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'dpt_L')["total"]; $dptP = $item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'dpt_P')["total"]; $dptTotal = $dptL + $dptP; $rubelaL = $item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'rubela_L')["total"]; $rubelaP = $item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'rubela_P')["total"]; $rubelaTotal = $rubelaL + $rubelaP; // Accumulate totals $totalLahirHidupL += $jumlahL; $totalLahirHidupP += $jumlahP; $totalLahirHidup += $jumlahTotal; $totalDptL += $dptL; $totalDptP += $dptP; $totalDpt += $dptTotal; $totalRubelaL += $rubelaL; $totalRubelaP += $rubelaP; $totalRubela += $rubelaTotal; @endphp @endforeach @endrole @role('Puskesmas|Pihak Wajib Pajak') @foreach ($desa as $key => $item) @if($item->filterBadutaImunisasi(Session::get('year'))) @endif @endforeach @endrole
CAKUPAN IMUNISASI LANJUTAN DPT-HB-Hib 4 DAN CAMPAK RUBELA 2 PADA ANAK USIA DIBAWAH DUA TAHUN (BADUTA) MENURUT JENIS KELAMIN, KECAMATAN, DAN PUSKESMAS
Kabupaten/Kota Kutai Timur
Tahun {{Session::get('year')}}
KecamatanPuskesmasDesaJumlah Baduta Baduta Diimunisasi
DPT-HB-Hib4 CAMPAK RUBELA2
L P L+P L P L+P
L             P             L+P Jumlah % Jumlah % Jumlah % Jumlah % Jumlah % Jumlah %
{{$item->kecamatan}} {{$item->nama}} {{$item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'jumlah_L')["total"]}} {{$item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'jumlah_P')["total"]}} {{$item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'jumlah_P')["total"] + $item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'jumlah_L')["total"]}} {{$item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'dpt_L')["total"]}} {{$item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'jumlah_L')["total"] > 0? number_format($item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'dpt_L')["total"] /$item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'jumlah_L')["total"] * 100, 2 ):0}} {{$item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'dpt_P')["total"]}} {{$item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'jumlah_P')["total"] > 0? number_format($item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'dpt_P')["total"] /$item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'jumlah_P')["total"] * 100, 2 ):0}} {{$item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'dpt_P')["total"] + $item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'dpt_L')["total"]}} {{$item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'jumlah_P')["total"] + $item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'jumlah_L')["total"] > 0? number_format(($item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'dpt_P')["total"] + $item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'dpt_L')["total"]) /($item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'jumlah_P')["total"] + $item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'jumlah_L')["total"]) * 100, 2 ):0}} {{$item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'rubela_L')["total"]}} {{$item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'jumlah_L')["total"] > 0? number_format($item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'rubela_L')["total"] /$item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'jumlah_L')["total"] * 100, 2 ):0}} {{$item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'rubela_P')["total"]}} {{$item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'jumlah_P')["total"] > 0? number_format($item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'rubela_P')["total"] /$item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'jumlah_P')["total"] * 100, 2 ):0}} {{$item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'rubela_P')["total"] + $item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'rubela_L')["total"]}} {{$item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'jumlah_P')["total"] + $item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'jumlah_L')["total"] > 0? number_format(($item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'rubela_P')["total"] + $item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'rubela_L')["total"]) /($item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'jumlah_P')["total"] + $item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'jumlah_L')["total"]) * 100, 2 ):0}}
Total {{ $totalLahirHidupL }} {{ $totalLahirHidupP }} {{ $totalLahirHidup }} {{ $totalDptL }} {{ $totalLahirHidupL > 0 ? number_format($totalDptL / $totalLahirHidupL * 100, 2) : 0 }} {{ $totalDptP }} {{ $totalLahirHidupP > 0 ? number_format($totalDptP / $totalLahirHidupP * 100, 2) : 0 }} {{ $totalDpt }} {{ $totalLahirHidup > 0 ? number_format($totalDpt / $totalLahirHidup * 100, 2) : 0 }} {{ $totalRubelaL }} {{ $totalLahirHidupL > 0 ? number_format($totalRubelaL / $totalLahirHidupL * 100, 2) : 0 }} {{ $totalRubelaP }} {{ $totalLahirHidupP > 0 ? number_format($totalRubelaP / $totalLahirHidupP * 100, 2) : 0 }} {{ $totalRubela }} {{ $totalLahirHidup > 0 ? number_format($totalRubela / $totalLahirHidup * 100, 2) : 0 }}
{{$item->UnitKerja->kecamatan}} {{$item->nama}} {{$item->filterBadutaImunisasi(Session::get('year'))->jumlah_L}} {{$item->filterBadutaImunisasi(Session::get('year'))->jumlah_P}} {{$item->filterBadutaImunisasi(Session::get('year'))->jumlah_P + $item->filterBadutaImunisasi(Session::get('year'))->jumlah_L}} {{$item->filterBadutaImunisasi(Session::get('year'))->dpt_L}} {{$item->filterBadutaImunisasi(Session::get('year'))->jumlah_L > 0 ? number_format($item->filterBadutaImunisasi(Session::get('year'))->dpt_L / $item->filterBadutaImunisasi(Session::get('year'))->jumlah_L * 100, 2) : 0}} {{$item->filterBadutaImunisasi(Session::get('year'))->dpt_P}} {{$item->filterBadutaImunisasi(Session::get('year'))->jumlah_P > 0 ? number_format($item->filterBadutaImunisasi(Session::get('year'))->dpt_P / $item->filterBadutaImunisasi(Session::get('year'))->jumlah_P * 100, 2) : 0}} {{$item->filterBadutaImunisasi(Session::get('year'))->dpt_P + $item->filterBadutaImunisasi(Session::get('year'))->dpt_L}} {{$item->filterBadutaImunisasi(Session::get('year'))->jumlah_P + $item->filterBadutaImunisasi(Session::get('year'))->jumlah_L > 0 ? number_format(($item->filterBadutaImunisasi(Session::get('year'))->dpt_P + $item->filterBadutaImunisasi(Session::get('year'))->dpt_L) / ($item->filterBadutaImunisasi(Session::get('year'))->jumlah_P + $item->filterBadutaImunisasi(Session::get('year'))->jumlah_L) * 100, 2) : 0}} {{$item->filterBadutaImunisasi(Session::get('year'))->rubela_L}} {{$item->filterBadutaImunisasi(Session::get('year'))->jumlah_L > 0 ? number_format($item->filterBadutaImunisasi(Session::get('year'))->rubela_L / $item->filterBadutaImunisasi(Session::get('year'))->jumlah_L * 100, 2) : 0}} {{$item->filterBadutaImunisasi(Session::get('year'))->rubela_P}} {{$item->filterBadutaImunisasi(Session::get('year'))->jumlah_P>0? number_format($item->filterBadutaImunisasi(Session::get('year'))->rubela_P /$item->filterBadutaImunisasi(Session::get('year'))->jumlah_P * 100, 2):0}} {{$item->filterBadutaImunisasi(Session::get('year'))->rubela_P + $item->filterBadutaImunisasi(Session::get('year'))->rubela_L}} {{$item->filterBadutaImunisasi(Session::get('year'))->jumlah_P + $item->filterBadutaImunisasi(Session::get('year'))->jumlah_L>0? number_format(($item->filterBadutaImunisasi(Session::get('year'))->rubela_P + $item->filterBadutaImunisasi(Session::get('year'))->rubela_L) /($item->filterBadutaImunisasi(Session::get('year'))->jumlah_P + $item->filterBadutaImunisasi(Session::get('year'))->jumlah_L) * 100, 2):0}}
Total {{ $totalLahirHidupL }} {{ $totalLahirHidupP }} {{ $totalLahirHidup }} {{ $totalDptL }} {{ $totalLahirHidupL > 0 ? number_format($totalDptL / $totalLahirHidupL * 100, 2) : 0 }} {{ $totalDptP }} {{ $totalLahirHidupP > 0 ? number_format($totalDptP / $totalLahirHidupP * 100, 2) : 0 }} {{ $totalDpt }} {{ $totalLahirHidup > 0 ? number_format($totalDpt / $totalLahirHidup * 100, 2) : 0 }} {{ $totalRubelaL }} {{ $totalLahirHidupL > 0 ? number_format($totalRubelaL / $totalLahirHidupL * 100, 2) : 0 }} {{ $totalRubelaP }} {{ $totalLahirHidupP > 0 ? number_format($totalRubelaP / $totalLahirHidupP * 100, 2) : 0 }} {{ $totalRubela }} {{ $totalLahirHidup > 0 ? number_format($totalRubela / $totalLahirHidup * 100, 2) : 0 }}