@extends('layouts.app') @section('content')
No | Kecamatan | @role('Admin|superadmin')Puskesmas | @endrole @role('Puskesmas|Pihak Wajib Pajak')Desa | @endroleJUMLAH KASUS PD3I | @role('Admin|superadmin')Lock data | Lock upload | File Download | Detail Desa | @endrole||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DIFTERI | PERTUSIS | TETANUS NEONATORUM | HEPATITIS B | SUSPEK CAMPAK | ||||||||||||||||||||||
JUMLAH KASUS | MENINGGAL | JUMLAH KASUS | MENINGGAL | JUMLAH KASUS | ||||||||||||||||||||||
L | P | L+P | L | P | L+P | L | P | L+P | L | P | L+P | L | P | L+P | ||||||||||||
{{ $key + 1 }} | {{ $item->kecamatan }} | {{ $item->nama }} | @php $difteri_l = $item->unitKerjaAmbilPart2('filterTable69', Session::get('year'), 'difteri_l')['total']; $Granddifteri_l += $difteri_l; echo $difteri_l; @endphp | @php $difteri_p = $item->unitKerjaAmbilPart2('filterTable69', Session::get('year'), 'difteri_p')['total']; $Granddifteri_p += $difteri_p; echo $difteri_p; @endphp | @php $Granddifteri_lp += $difteri_p + $difteri_l; @endphp {{$difteri_p + $difteri_l}} | @php $difteri_m = $item->unitKerjaAmbilPart2('filterTable69', Session::get('year'), 'difteri_m')['total']; $Granddifteri_m += $difteri_m; echo $difteri_m; @endphp | @php $pertusis_l = $item->unitKerjaAmbilPart2('filterTable69', Session::get('year'), 'pertusis_l')['total']; $Grandpertusis_l += $pertusis_l; echo $pertusis_l; @endphp | @php $pertusis_p = $item->unitKerjaAmbilPart2('filterTable69', Session::get('year'), 'pertusis_p')['total']; $Grandpertusis_p += $pertusis_p; echo $pertusis_p; @endphp | @php $Grandpertusis_lp += $pertusis_l + $pertusis_p; @endphp {{$pertusis_l + $pertusis_p}} | @php $tetanus_neonatorum_l = $item->unitKerjaAmbilPart2('filterTable69', Session::get('year'), 'tetanus_neonatorum_l')['total']; $Grandtetanus_neonatorum_l += $tetanus_neonatorum_l; echo $tetanus_neonatorum_l; @endphp | @php $tetanus_neonatorum_p = $item->unitKerjaAmbilPart2('filterTable69', Session::get('year'), 'tetanus_neonatorum_p')['total']; $Grandtetanus_neonatorum_p += $tetanus_neonatorum_p; echo $tetanus_neonatorum_p; @endphp | @php $Grandtetanus_neonatorum_lp += $tetanus_neonatorum_l + $tetanus_neonatorum_p; @endphp {{$tetanus_neonatorum_l + $tetanus_neonatorum_p}} | @php $tetanus_neonatorum_m = $item->unitKerjaAmbilPart2('filterTable69', Session::get('year'), 'tetanus_neonatorum_m')['total']; $Grandtetanus_neonatorum_m += $tetanus_neonatorum_m; echo $tetanus_neonatorum_m; @endphp | @php $hepatitis_l = $item->unitKerjaAmbilPart2('filterTable69', Session::get('year'), 'hepatitis_l')['total']; $Grandhepatitis_l += $hepatitis_l; echo $hepatitis_l; @endphp | @php $hepatitis_p = $item->unitKerjaAmbilPart2('filterTable69', Session::get('year'), 'hepatitis_p')['total']; $Grandhepatitis_p += $hepatitis_p; echo $hepatitis_p; @endphp | @php $Grandhepatitis_lp += $hepatitis_l + $hepatitis_p; @endphp {{ $hepatitis_l + $hepatitis_p }} | @php $suspek_campak_l = $item->unitKerjaAmbilPart2('filterTable69', Session::get('year'), 'suspek_campak_l')['total']; $Grandsuspek_campak_l += $suspek_campak_l; echo $suspek_campak_l; @endphp | @php $suspek_campak_p = $item->unitKerjaAmbilPart2('filterTable69', Session::get('year'), 'suspek_campak_p')['total']; $Grandsuspek_campak_p += $suspek_campak_p; echo $suspek_campak_p; @endphp | @php $Grandsuspek_campak_lp += $suspek_campak_p + $suspek_campak_l; @endphp {{$suspek_campak_p + $suspek_campak_l}} | general_lock_get2(Session::get('year'), 'filterTable69') == 1 ? "checked":""}} {{$item->general_lock_get2(Session::get('year'), 'filterTable69') == 2 ? "disabled":""}} class="data-lock" id="{{$item->id}}"> | @if(isset($item->user) && $item->user->downloadFile('Table69', Session::get('year')))user->downloadFile('Table69', Session::get('year'))->status == 1 ? "checked":""}} class="data-lock-upload" id="{{$item->user->id}}"> | @elseif(isset($item->user) && !$item->user->downloadFile('Table69', Session::get('year')))@else | - | @endif @if(isset($item->user) && $item->user->hasFile('Table69', Session::get('year')))@if($item->user->downloadFile('Table69', Session::get('year'))->file_name != "-") Download pdf file @else - @endif | @else- | @endif|
JUMLAH | {{$Granddifteri_l }} | {{$Granddifteri_p }} | {{$Granddifteri_lp }} | {{$Granddifteri_m }} | {{$Grandpertusis_l }} | {{$Grandpertusis_p }} | {{$Grandpertusis_lp }} | {{$Grandtetanus_neonatorum_l }} | {{$Grandtetanus_neonatorum_p }} | {{$Grandtetanus_neonatorum_lp}} | {{$Grandtetanus_neonatorum_m }} | {{$Grandhepatitis_l }} | {{$Grandhepatitis_p }} | {{$Grandhepatitis_lp }} | {{$Grandsuspek_campak_l }} | {{$Grandsuspek_campak_p }} | {{$Grandsuspek_campak_lp }} | |||||||||
CASE FATALITY RATE (%) | {{ $Granddifteri_m > 0 && $Granddifteri_lp > 0 ? number_format(($Granddifteri_m / $Granddifteri_lp) * 100, 2) . '%' : 0}} | {{$Grandtetanus_neonatorum_m > 0 && $Grandtetanus_neonatorum_lp > 0 ? number_format(($Grandtetanus_neonatorum_m / $Grandtetanus_neonatorum_lp) * 100, 2) . '%' : 0}} | ||||||||||||||||||||||||
INCIDENCE RATE SUSPEK CAMPAK | {{($Grandsuspek_campak_l / ($jumlah_penduduk_perempuan + $jumlah_penduduk_laki_laki)) * 100000}} | {{($Grandsuspek_campak_p / ($jumlah_penduduk_perempuan + $jumlah_penduduk_laki_laki)) * 100000}} | {{($Grandsuspek_campak_lp / ($jumlah_penduduk_perempuan + $jumlah_penduduk_laki_laki)) * 100000}} | |||||||||||||||||||||||
{{ $key + 1 }} | {{ $item->UnitKerja->kecamatan }} | {{ $item->nama }} | @php $difteri_l = $item ->filterTable69( Session::get('year'), $item->id, ) ->difteri_l; $Granddifteri_l += $difteri_l; @endphp | @php $difteri_p = $item ->filterTable69( Session::get('year'), $item->id, ) ->difteri_p; $Granddifteri_p += $difteri_p; @endphp | @php $Granddifteri_lp += $difteri_p + $difteri_l; @endphp {{$difteri_p + $difteri_l}} | @php $difteri_m = $item ->filterTable69( Session::get('year'), $item->id, ) ->difteri_m; $Granddifteri_m += $difteri_m; @endphp | @php $pertusis_l = $item ->filterTable69( Session::get('year'), $item->id, ) ->pertusis_l; $Grandpertusis_l += $pertusis_l; @endphp | @php $pertusis_p = $item ->filterTable69( Session::get('year'), $item->id, ) ->pertusis_p; $Grandpertusis_p += $pertusis_p; @endphp | @php $Grandpertusis_lp += $pertusis_l + $pertusis_p; @endphp {{$pertusis_l + $pertusis_p}} | @php $tetanus_neonatorum_l = $item ->filterTable69( Session::get('year'), $item->id, ) ->tetanus_neonatorum_l; $Grandtetanus_neonatorum_l += $tetanus_neonatorum_l; @endphp | @php $tetanus_neonatorum_p = $item ->filterTable69( Session::get('year'), $item->id, ) ->tetanus_neonatorum_p; $Grandtetanus_neonatorum_p += $tetanus_neonatorum_p; @endphp | @php $Grandtetanus_neonatorum_lp += $tetanus_neonatorum_l + $tetanus_neonatorum_p; @endphp {{$tetanus_neonatorum_l + $tetanus_neonatorum_p}} | @php $tetanus_neonatorum_m = $item ->filterTable69( Session::get('year'), $item->id, ) ->tetanus_neonatorum_m; $Grandtetanus_neonatorum_m += $tetanus_neonatorum_m; @endphp | @php $hepatitis_l = $item ->filterTable69( Session::get('year'), $item->id, ) ->hepatitis_l; $Grandhepatitis_l += $hepatitis_l; @endphp | @php $hepatitis_p = $item ->filterTable69( Session::get('year'), $item->id, ) ->hepatitis_p; $Grandhepatitis_p += $hepatitis_p; @endphp | @php $Grandhepatitis_lp += $hepatitis_l + $hepatitis_p; @endphp {{ $hepatitis_l + $hepatitis_p }} | @php $suspek_campak_l = $item ->filterTable69( Session::get('year'), $item->id, ) ->suspek_campak_l; $Grandsuspek_campak_l += $suspek_campak_l; @endphp | @php $suspek_campak_p = $item ->filterTable69( Session::get('year'), $item->id, ) ->suspek_campak_p; $Grandsuspek_campak_p += $suspek_campak_p; @endphp | @php $Grandsuspek_campak_lp += $suspek_campak_p + $suspek_campak_l; @endphp {{$suspek_campak_p + $suspek_campak_l}} | |||||||
JUMLAH | {{$Granddifteri_l }} | {{$Granddifteri_p }} | {{$Granddifteri_lp }} | {{$Granddifteri_m }} | {{$Grandpertusis_l }} | {{$Grandpertusis_p }} | {{$Grandpertusis_lp }} | {{$Grandtetanus_neonatorum_l }} | {{$Grandtetanus_neonatorum_p }} | {{$Grandtetanus_neonatorum_lp}} | {{$Grandtetanus_neonatorum_m }} | {{$Grandhepatitis_l }} | {{$Grandhepatitis_p }} | {{$Grandhepatitis_lp }} | {{$Grandsuspek_campak_l }} | {{$Grandsuspek_campak_p }} | {{$Grandsuspek_campak_lp }} | |||||||||
CASE FATALITY RATE (%) | {{$Granddifteri_lp>0?number_format(($Granddifteri_m / $Granddifteri_lp) * 100, 2) . '%':0}} | {{$Grandtetanus_neonatorum_lp>0?number_format(($Grandtetanus_neonatorum_m / $Grandtetanus_neonatorum_lp) * 100, 2) . '%':0}} | ||||||||||||||||||||||||
INCIDENCE RATE SUSPEK CAMPAK | {{($Grandsuspek_campak_l / ($jumlah_penduduk_perempuan + $jumlah_penduduk_laki_laki)) * 100000}} | {{($Grandsuspek_campak_p / ($jumlah_penduduk_perempuan + $jumlah_penduduk_laki_laki)) * 100000}} | {{($Grandsuspek_campak_lp / ($jumlah_penduduk_perempuan + $jumlah_penduduk_laki_laki)) * 100000}} |