@role('Admin|superadmin') @endrole @role('Puskesmas|Pihak Wajib Pajak') @endrole @role('Admin|superadmin') @php $GrandTotalIbuHamil = 0; $GrandReaktif = 0; $GrandNonReaktif = 0; $GrandTotal = 0; @endphp @foreach ($unit_kerja as $key => $item) @endforeach @endrole @role('Puskesmas|Pihak Wajib Pajak') @php $GrandTotalIbuHamil = 0; $GrandReaktif = 0; $GrandNonReaktif = 0; $GrandTotal = 0; @endphp @foreach ($desa as $key => $item) @if ($item->filterDeteksiDiniHepatitisBPadaIbuHamil(Session::get('year'), $item->id)) @endif @endforeach @endrole
DETEKSI DINI HEPATITIS B PADA IBU HAMIL MENURUT KECAMATAN DAN PUSKESMAS
Kabupaten/Kota Kutai Timur
Tahun {{Session::get('year')}}
KecamatanPuskesmasDesaJUMLAH IBU HAMIL JUMLAH IBU HAMIL DIPERIKSA % BUMIL DIPERIKSA % BUMIL REAKTIF
REAKTIF NON REAKTIF TOTAL
{{ $item->kecamatan }} {{ $item->nama }} @php $totalIbuHamil = $item->unitKerjaAmbilPart2('filterDesa', Session::get('year'), 'jumlah_ibu_hamil')['total']; $GrandTotalIbuHamil += $totalIbuHamil; @endphp {{ $totalIbuHamil }} {{-- --}} @php $reaktif = $item->unitKerjaAmbilPart2('filterDeteksiDiniHepatitisBPadaIbuHamil', Session::get('year'), 'reaktif')['total']; $GrandReaktif += $reaktif; echo $reaktif; @endphp @php $non_reaktif = $item->unitKerjaAmbilPart2('filterDeteksiDiniHepatitisBPadaIbuHamil', Session::get('year'), 'non_reaktif')['total'];; $GrandNonReaktif += $non_reaktif; echo $non_reaktif; @endphp @php $total = $reaktif + $non_reaktif; $GrandTotal += $total; @endphp {{ $total }} @php $bumilDiperiksa = $totalIbuHamil>0?($total / $totalIbuHamil) * 100:0; @endphp {{ number_format($bumilDiperiksa, 2) . '%' }} {{ $total>0?number_format(($reaktif / $total) * 100, 2) . '%':0 }}
Jumlah {{ $GrandTotalIbuHamil }} {{ $GrandReaktif }} {{ $GrandNonReaktif }} {{ $GrandTotal }} {{ $GrandTotalIbuHamil>0?number_format($GrandTotal / $GrandTotalIbuHamil, 2) . '%':0 }} {{ $GrandTotal>0?number_format($GrandReaktif / $GrandTotal, 2) . '%':0 }}
{{ $key + 1 }} {{ $item->UnitKerja->kecamatan }} {{ $item->nama }} @php $totalIbuHamil = $item ->filterDesa( Session::get('year'), ) ->jumlah_ibu_hamil; $GrandTotalIbuHamil += $totalIbuHamil; @endphp {{ $totalIbuHamil }} @php $GrandReaktif += $item->filterDeteksiDiniHepatitisBPadaIbuHamil( Session::get('year'), $item->id, )->reaktif; @endphp {{ $item->filterDeteksiDiniHepatitisBPadaIbuHamil(Session::get('year'), $item->id)->reaktif }} @php $GrandNonReaktif += $item->filterDeteksiDiniHepatitisBPadaIbuHamil( Session::get('year'), $item->id, )->non_reaktif; @endphp {{ $item->filterDeteksiDiniHepatitisBPadaIbuHamil(Session::get('year'), $item->id)->non_reaktif }} @php $total = $item->filterDeteksiDiniHepatitisBPadaIbuHamil( Session::get('year'), $item->id, )->reaktif + $item->filterDeteksiDiniHepatitisBPadaIbuHamil( Session::get('year'), $item->id, )->non_reaktif; $GrandTotal += $total; @endphp {{ $total }} @php $bumilDiperiksa = $totalIbuHamil>0?($total / $totalIbuHamil) * 100:0; @endphp {{ number_format($bumilDiperiksa, 2) . '%' }} {{ $total>0?number_format(($item->filterDeteksiDiniHepatitisBPadaIbuHamil(Session::get('year'), $item->id)->reaktif / $total) * 100, 2) . '%':0 }}
Jumlah {{ $GrandTotalIbuHamil }} {{ $GrandReaktif }} {{ $GrandNonReaktif }} {{ $GrandTotal }} {{ $GrandTotalIbuHamil>0?number_format($GrandTotal / $GrandTotalIbuHamil, 2) . '%':0 }} {{ $GrandTotal>0?number_format($GrandReaktif / $GrandTotal, 2) . '%':0 }}