@extends('layouts.app') @section('content')
@include('layouts.includes.sticky-table')

{{$title}}

@if(Auth::user()->downloadFile('Table69', Session::get('year')))
@csrf downloadFile('Table69', Session::get('year'))->status == 1 ?"disabled":""}} class="form-control" placeholder="upload PDF file">
@else
@csrf
@endif @if(Auth::user()->hasFile('Table69', Session::get('year')) && Auth::user()->downloadFile('Table69', Session::get('year'))->file_name != "-") Download pdf file @endif Report Add
@role('Admin|superadmin') @endrole @role('Puskesmas|Pihak Wajib Pajak') @endrole @role('Admin|superadmin') @endrole @php $Granddifteri_l = 0; $Granddifteri_p = 0; $Granddifteri_lp = 0; $Granddifteri_m = 0; $Grandpertusis_l = 0; $Grandpertusis_p = 0; $Grandpertusis_lp = 0; $Grandtetanus_neonatorum_l = 0; $Grandtetanus_neonatorum_p = 0; $Grandtetanus_neonatorum_lp = 0; $Grandtetanus_neonatorum_m = 0; $Grandhepatitis_l = 0; $Grandhepatitis_p = 0; $Grandhepatitis_lp = 0; $Grandsuspek_campak_l = 0; $Grandsuspek_campak_p = 0; $Grandsuspek_campak_lp = 0; @endphp @role('Admin|superadmin') @foreach ($unit_kerja as $key => $item) @if(isset($item->user) && $item->user->downloadFile('Table69', Session::get('year'))) @elseif(isset($item->user) && !$item->user->downloadFile('Table69', Session::get('year'))) @else @endif @if(isset($item->user) && $item->user->hasFile('Table69', Session::get('year'))) @else @endif @endforeach @endrole @role('Puskesmas|Pihak Wajib Pajak') @foreach ($desa as $key => $item) @if ($item->filterTable69(Session::get('year'), $item->id)) @php $filterResult = $item->filterTable69(Session::get('year'), $item->id); $isDisabled = $filterResult->status == 1 || $filterResult->status == 2 ? "disabled" : ""; @endphp @endif @endforeach @endrole
No KecamatanPuskesmasDesaJUMLAH KASUS PD3ILock data Lock upload File Download Detail Desa
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}}">user->downloadFile('Table69', Session::get('year'))->status == 1 ? "checked":""}} class="data-lock-upload" id="{{$item->user->id}}">- @if($item->user->downloadFile('Table69', Session::get('year'))->file_name != "-") Download pdf file @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}}
@push('scripts') @endpush @push('scripts') @endpush @endsection