@extends('layouts.app') @section('content')
No | Kecamatan | @role('Admin|superadmin')Puskesmas | @endrole @role('Puskesmas|Pihak Wajib Pajak')Desa | @endroleKASUS BARU | @role('Admin|superadmin')Lock data | Lock upload | File Download | Detail Desa | @endrole||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PAUSI BASILER (PB)/ KUSTA KERING | MULTI BASILER (MB)/ KUSTA BASAH | PB + MB | ||||||||||||||||
L | P | L + P | L | P | L + P | L | P | L + P | ||||||||||
{{ $key + 1 }} | {{ $item->kecamatan }} | {{ $item->nama }} | @php $l_pb = $item->unitKerjaAmbilPart2('filterTable64', Session::get('year'), 'l_pb')['total']; $GrandL_PB += $l_pb; // $GrandJumlahBayi += $jumlah_bayi; // $GrandTotalIbuHamil += $totalIbuHamil; @endphp {{ $l_pb }} | @php $p_pb = $item->unitKerjaAmbilPart2('filterTable64', Session::get('year'), 'p_pb')['total']; $GrandP_PB += $p_pb; // $GrandJumlahK24 += $jumlah_k_24; @endphp {{ $p_pb }} | {{$p_pb + $l_pb}} @php $GrandLP_PB += ($p_pb + $l_pb); @endphp {{-- {{ number_format(($jumlah_k_24 / $jumlah_bayi) * 100, 2).'%' }} --}} | @php $l_mb = $item->unitKerjaAmbilPart2('filterTable64', Session::get('year'), 'l_mb')['total']; $GrandL_MB += ($l_mb); // $GrandJumlahB24 += $jumlah_b_24; @endphp {{ $l_mb }} | @php $p_mb = $item->unitKerjaAmbilPart2('filterTable64', Session::get('year'), 'p_mb')['total']; $GrandP_MB += $p_mb; // $GrandJumlahB24 += $jumlah_b_24; @endphp {{ $p_mb }} | {{$l_mb + $p_mb}} @php $GrandLP_MB += ($l_mb + $p_mb); @endphp | {{$l_pb + $l_mb}} @php $GrandL_PBMB += ($l_pb + $l_mb); @endphp | {{$p_pb + $p_mb}} @php $GrandP_PBMB += ($p_pb + $p_mb); @endphp | {{$l_pb + $l_mb + $p_pb + $p_mb}} @php $GrandLP_PBMB += ($l_pb + $l_mb + $p_pb + $p_mb); @endphp | general_lock_get2(Session::get('year'), 'filterTable64') == 1 ? "checked":""}} {{$item->general_lock_get2(Session::get('year'), 'filterTable64') == 2 ? "disabled":""}} class="data-lock" id="{{$item->id}}"> | @if(isset($item->user) && $item->user->downloadFile('Table64', Session::get('year')))user->downloadFile('Table64', Session::get('year'))->status == 1 ? "checked":""}} class="data-lock-upload" id="{{$item->user->id}}"> | @elseif(isset($item->user) && !$item->user->downloadFile('Table64', Session::get('year')))@else | - | @endif @if(isset($item->user) && $item->user->hasFile('Table64', Session::get('year')))@if($item->user->downloadFile('Table64', Session::get('year'))->file_name != "-") Download pdf file @else - @endif | @else- | @endif|
Jumlah | {{$GrandL_PB}} | {{$GrandP_PB}} | {{$GrandLP_PB}} | {{$GrandL_MB}} | {{$GrandP_MB}} | {{$GrandLP_MB}} | {{$GrandL_PBMB}} | {{$GrandP_PBMB}} | {{$GrandLP_PBMB}} | |||||||||
PROPORSI JENIS KELAMIN | @php try { echo number_format(($GrandL_PB / $GrandLP_PB) * 100, 2)."%"; } catch (DivisionByZeroError $e) { echo "0"; } @endphp | @php try { echo number_format(($GrandP_PB / $GrandLP_PB) * 100, 2)."%"; } catch (DivisionByZeroError $e) { echo "0"; } @endphp | @php try { echo number_format(($GrandL_MB / $GrandLP_MB) * 100, 2)."%"; } catch (DivisionByZeroError $e) { echo "0"; } @endphp | @php try { echo number_format(($GrandP_MB / $GrandLP_MB) * 100, 2)."%"; } catch (DivisionByZeroError $e) { echo "0"; } @endphp | @php try { echo number_format(($GrandL_PBMB / $GrandLP_PBMB) * 100, 2)."%"; } catch (DivisionByZeroError $e) { echo "0"; } @endphp | @php try { echo number_format(($GrandP_PBMB / $GrandLP_PBMB) * 100, 2)."%"; } catch (DivisionByZeroError $e) { echo "0"; } @endphp | ||||||||||||
ANGKA PENEMUAN KASUS BARU (NCDR/NEW CASE DETECTION RATE) PER 100.000 PENDUDUK | {{($GrandL_PBMB / $jumlah_penduduk_laki_laki) * 100000}} | {{($GrandP_PBMB / $jumlah_penduduk_perempuan) * 100000}} | {{($GrandLP_PBMB / ($jumlah_penduduk_perempuan + $jumlah_penduduk_laki_laki)) * 100000}} | |||||||||||||||
{{ $key + 1 }} | {{ $item->UnitKerja->kecamatan }} | {{ $item->nama }} | @php $l_pb = $item ->filterTable64( Session::get('year'), $item->id, ) ->l_pb; $GrandL_PB += $l_pb; // $GrandJumlahBayi += $jumlah_bayi; // $GrandTotalIbuHamil += $totalIbuHamil; @endphp {{-- {{ $totalIbuHamil }} --}} | @php $p_pb = $item->filterTable64( Session::get('year'), $item->id, )->p_pb; $GrandP_PB += $p_pb; // $GrandJumlahK24 += $jumlah_k_24; @endphp | {{$p_pb + $l_pb}} @php $GrandLP_PB += ($p_pb + $l_pb); @endphp {{-- {{ number_format(($jumlah_k_24 / $jumlah_bayi) * 100, 2).'%' }} --}} | @php $l_mb = $item->filterTable64( Session::get('year'), $item->id, )->l_mb; $GrandL_MB += ($l_mb); // $GrandJumlahB24 += $jumlah_b_24; @endphp | @php $p_mb = $item->filterTable64( Session::get('year'), $item->id, )->p_mb; $GrandP_MB += $p_mb; // $GrandJumlahB24 += $jumlah_b_24; @endphp | {{$l_mb + $p_mb}} @php $GrandLP_MB += ($l_mb + $p_mb); @endphp | {{$l_pb + $l_mb}} @php $GrandL_PBMB += ($l_pb + $l_mb); @endphp | {{$p_pb + $p_mb}} @php $GrandP_PBMB += ($p_pb + $p_mb); @endphp | {{$l_pb + $l_mb + $p_pb + $p_mb}} @php $GrandLP_PBMB += ($l_pb + $l_mb + $p_pb + $p_mb); @endphp | |||||||
Jumlah | {{$GrandL_PB}} | {{$GrandP_PB}} | {{$GrandLP_PB}} | {{$GrandL_MB}} | {{$GrandP_MB}} | {{$GrandLP_MB}} | {{$GrandL_PBMB}} | {{$GrandP_PBMB}} | {{$GrandLP_PBMB}} | |||||||||
PROPORSI JENIS KELAMIN | @php try { echo number_format(($GrandL_PB / $GrandLP_PB) * 100, 2)."%"; } catch (DivisionByZeroError $e) { echo "0"; } @endphp | @php try { echo number_format(($GrandP_PB / $GrandLP_PB) * 100, 2)."%"; } catch (DivisionByZeroError $e) { echo "0"; } @endphp | @php try { echo number_format(($GrandL_MB / $GrandLP_MB) * 100, 2)."%"; } catch (DivisionByZeroError $e) { echo "0"; } @endphp | @php try { echo number_format(($GrandP_MB / $GrandLP_MB) * 100, 2)."%"; } catch (DivisionByZeroError $e) { echo "0"; } @endphp | @php try { echo number_format(($GrandL_PBMB / $GrandLP_PBMB) * 100, 2)."%"; } catch (DivisionByZeroError $e) { echo "0"; } @endphp | @php try { echo number_format(($GrandP_PBMB / $GrandLP_PBMB) * 100, 2)."%"; } catch (DivisionByZeroError $e) { echo "0"; } @endphp | ||||||||||||
ANGKA PENEMUAN KASUS BARU (NCDR/NEW CASE DETECTION RATE) PER 100.000 PENDUDUK | {{($GrandL_PBMB / $jumlah_penduduk_laki_laki) * 100000}} | {{($GrandP_PBMB / $jumlah_penduduk_perempuan) * 100000}} | {{($GrandLP_PBMB / ($jumlah_penduduk_perempuan + $jumlah_penduduk_laki_laki)) * 100000}} | |||||||||||||||
Jumlah | {{ $GrandJumlahBayi }} | {{ $GrandJumlahK24 }} | {{ number_format(($GrandJumlahK24 / $GrandJumlahBayi) * 100, 2).'%' }} | {{ $GrandJumlahB24 }} | {{ number_format(($GrandJumlahB24 / $GrandJumlahBayi) * 100, 2).'%' }} | {{$GrandJumlahB24 + $GrandJumlahK24 }} | {{ number_format((($GrandJumlahB24 + $GrandJumlahK24) / $GrandJumlahBayi) * 100, 2).'%' }} | {{--{{ number_format($GrandReaktif / $GrandTotal, 2) . '%' }} | --}}