@role('Admin|superadmin') @endrole @role('Puskesmas|Pihak Wajib Pajak') @endrole @php $Grand_l_0_4 = 0; $Grand_p_0_4 = 0; $Grand_l_5_6 = 0; $Grand_p_5_6 = 0; $Grand_l_7_14 = 0; $Grand_p_7_14 = 0; $Grand_l_15_59 = 0; $Grand_p_15_59 = 0; $Grand_l_60_up = 0; $Grand_p_60_up = 0; $Grand_l_total = 0; $Grand_p_total = 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->filterTable85(Session::get('year'), $item->id)) @endif @endforeach @endrole
KKASUS COVID-19 BERDASARKAN JENIS KELAMIN DAN KELOMPOK UMUR MENURUT KECAMATAN DAN PUSKESMAS
Kabupaten/Kota Kutai Timur
Tahun {{Session::get('year')}}
KecamatanPuskesmasDesa0-4 TAHUN 5-6 TAHUN 7-14 TAHUN 15-59 TAHUN ≥ 60 TAHUN TOTAL
L P L P L P L P L P L P
{{ $item->kecamatan }} {{ $item->nama }} @php $l_0_4 = $item->unitKerjaAmbilPart2('filterTable85', Session::get('year'), 'l_0_4')['total']; $Grand_l_0_4 += $l_0_4; echo $l_0_4; @endphp @php $p_0_4 = $item->unitKerjaAmbilPart2('filterTable85', Session::get('year'), 'p_0_4')['total']; $Grand_p_0_4 += $p_0_4; echo $p_0_4; @endphp @php $l_5_6 = $item->unitKerjaAmbilPart2('filterTable85', Session::get('year'), 'l_5_6')['total']; $Grand_l_5_6 += $l_5_6; echo $l_5_6; @endphp @php $p_5_6 = $item->unitKerjaAmbilPart2('filterTable85', Session::get('year'), 'p_5_6')['total']; $Grand_p_5_6 += $p_5_6; echo $p_5_6; @endphp @php $l_7_14 = $item->unitKerjaAmbilPart2('filterTable85', Session::get('year'), 'l_7_14')['total']; $Grand_l_7_14 += $l_7_14; echo $l_7_14; @endphp @php $p_7_14 = $item->unitKerjaAmbilPart2('filterTable85', Session::get('year'), 'p_7_14')['total']; $Grand_p_7_14 += $p_7_14; echo $p_7_14; @endphp @php $l_15_59 = $item->unitKerjaAmbilPart2('filterTable85', Session::get('year'), 'l_15_59')['total']; $Grand_l_15_59 += $l_15_59; echo $l_15_59; @endphp @php $p_15_59 = $item->unitKerjaAmbilPart2('filterTable85', Session::get('year'), 'p_15_59')['total']; $Grand_p_15_59 += $p_15_59; echo $p_15_59; @endphp @php $l_60_up = $item->unitKerjaAmbilPart2('filterTable85', Session::get('year'), 'l_60_up')['total']; $Grand_l_60_up += $l_60_up; echo $l_60_up; @endphp @php $p_60_up = $item->unitKerjaAmbilPart2('filterTable85', Session::get('year'), 'p_60_up')['total']; $Grand_p_60_up += $p_60_up; echo $p_60_up; @endphp @php $l_total = $l_0_4 + $l_5_6 + $l_7_14 + $l_15_59 + $l_60_up; $Grand_l_total += $l_total; echo $l_total; @endphp @php $p_total = $p_0_4 + $p_5_6 + $p_7_14 + $p_15_59 + $p_60_up; $Grand_p_total += $p_total; echo $p_total; @endphp
{{ $item->UnitKerja->kecamatan }} {{ $item->nama }} @php $l_0_4 = $item ->filterTable85( Session::get('year'), $item->id, ) ->l_0_4; $Grand_l_0_4 += $l_0_4; @endphp {{ $l_0_4 }} @php $p_0_4 = $item ->filterTable85( Session::get('year'), $item->id, ) ->p_0_4; $Grand_p_0_4 += $p_0_4; @endphp {{ $p_0_4 }} @php $l_5_6 = $item ->filterTable85( Session::get('year'), $item->id, ) ->l_5_6; $Grand_l_5_6 += $l_5_6; @endphp {{ $l_5_6 }} @php $p_5_6 = $item ->filterTable85( Session::get('year'), $item->id, ) ->p_5_6; $Grand_p_5_6 += $p_5_6; @endphp {{ $p_5_6 }} @php $l_7_14 = $item ->filterTable85( Session::get('year'), $item->id, ) ->l_7_14; $Grand_l_7_14 += $l_7_14; @endphp {{ $l_7_14 }} @php $p_7_14 = $item ->filterTable85( Session::get('year'), $item->id, ) ->p_7_14; $Grand_p_7_14 += $p_7_14; @endphp {{ $p_7_14 }} @php $l_15_59 = $item ->filterTable85( Session::get('year'), $item->id, ) ->l_15_59; $Grand_l_15_59 += $l_15_59; @endphp {{ $l_15_59 }} @php $p_15_59 = $item ->filterTable85( Session::get('year'), $item->id, ) ->p_15_59; $Grand_p_15_59 += $p_15_59; @endphp {{ $p_15_59 }} @php $l_60_up = $item ->filterTable85( Session::get('year'), $item->id, ) ->l_60_up; $Grand_l_60_up += $l_60_up; @endphp {{ $l_60_up }} @php $p_60_up = $item ->filterTable85( Session::get('year'), $item->id, ) ->p_60_up; $Grand_p_60_up += $p_60_up; @endphp {{ $p_60_up }} @php $l_total = $l_0_4 + $l_5_6 + $l_7_14 + $l_15_59 + $l_60_up; $Grand_l_total += $l_total; echo $l_total; @endphp @php $p_total = $p_0_4 + $p_5_6 + $p_7_14 + $p_15_59 + $p_60_up; $Grand_p_total += $p_total; echo $p_total; @endphp
Jumlah {{ $Grand_l_0_4 }} {{ $Grand_p_0_4 }} {{ $Grand_l_5_6 }} {{ $Grand_p_5_6 }} {{ $Grand_l_7_14 }} {{ $Grand_p_7_14 }} {{ $Grand_l_15_59 }} {{ $Grand_p_15_59 }} {{ $Grand_l_60_up }} {{ $Grand_p_60_up }} {{ $Grand_l_total }} {{ $Grand_p_total }}