@extends('layouts.app') @section('content')
No | Kecamatan | @role('Admin|superadmin')Puskesmas | @endrole @role('Puskesmas|Pihak Wajib Pajak')Desa | @endroleKASUS TERDAFTAR | @role('Admin|superadmin')Lock data | Lock upload | File Download | Detail Desa | @endrole||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PAUSI BASILER / KUSTA KERING | MULTI BASILER / KUSTA BASAH | JUMLAH | ||||||||||||||||
ANAK | DEWASA | TOTAL | ANAK | DEWASA | TOTAL | ANAK | DEWASA | TOTAL | ||||||||||
{{ $key + 1 }} | {{ $item->kecamatan }} | {{ $item->nama }} | @php $pausi_anak = $item->unitKerjaAmbilPart2('filterTable66', Session::get('year'), 'pausi_anak')['total']; $GrandPausi_anak += $pausi_anak; // $GrandJumlahBayi += $jumlah_bayi; // $GrandTotalIbuHamil += $totalIbuHamil; echo $pausi_anak; @endphp | @php $pausi_dewasa = $item->unitKerjaAmbilPart2('filterTable66', Session::get('year'), 'pausi_dewasa')['total']; $GrandPausi_dewasa += $pausi_dewasa; echo $pausi_dewasa; @endphp | @php $GrandPausi_total += $pausi_anak + $pausi_dewasa; @endphp {{$pausi_anak + $pausi_dewasa}} | @php $multi_anak = $item->unitKerjaAmbilPart2('filterTable66', Session::get('year'), 'multi_anak')['total']; $GrandMulti_anak += $multi_anak; echo $multi_anak; // $GrandJumlahBayi += $jumlah_bayi; // $GrandTotalIbuHamil += $totalIbuHamil; @endphp | @php $multi_dewasa = $item->unitKerjaAmbilPart2('filterTable66', Session::get('year'), 'multi_dewasa')['total']; $GrandMulti_dewasa += $multi_dewasa; echo $multi_dewasa; @endphp | @php $GrandMulti_total += $multi_anak + $multi_dewasa; @endphp {{$multi_anak + $multi_dewasa}} | @php $jumlah_anak = $multi_anak + $pausi_anak; echo $jumlah_anak; $GrandJumlah_anak += $jumlah_anak; @endphp | @php $jumlah_dewasa = $multi_dewasa + $pausi_dewasa; echo $jumlah_dewasa; $GrandJumlah_dewasa += $jumlah_dewasa; @endphp | @php $jumlah_total = $jumlah_anak + $jumlah_dewasa; echo $jumlah_total; $GrandJumlah_total += $jumlah_total; @endphp | general_lock_get2(Session::get('year'), 'filterTable66') == 1 ? "checked":""}} {{$item->general_lock_get2(Session::get('year'), 'filterTable66') == 2 ? "disabled":""}} class="data-lock" id="{{$item->id}}"> | @if(isset($item->user) && $item->user->downloadFile('Table66', Session::get('year')))user->downloadFile('Table66', Session::get('year'))->status == 1 ? "checked":""}} class="data-lock-upload" id="{{$item->user->id}}"> | @elseif(isset($item->user) && !$item->user->downloadFile('Table66', Session::get('year')))@else | - | @endif @if(isset($item->user) && $item->user->hasFile('Table66', Session::get('year')))@if($item->user->downloadFile('Table66', Session::get('year'))->file_name != "-") Download pdf file @else - @endif | @else- | @endif|
JUMLAH | {{ $GrandPausi_anak}} | {{ $GrandPausi_dewasa}} | {{ $GrandPausi_total}} | {{ $GrandMulti_anak}} | {{ $GrandMulti_dewasa}} | {{ $GrandMulti_total}} | {{ $GrandJumlah_anak}} | {{ $GrandJumlah_dewasa}} | {{ $GrandJumlah_total}} | |||||||||
ANGKA PREVALENSI PER 10.000 PENDUDUK | {{($GrandJumlah_total / ($jumlah_penduduk_perempuan + $jumlah_penduduk_laki_laki)) * 10000}} | |||||||||||||||||
{{ $key + 1 }} | {{ $item->UnitKerja->kecamatan }} | {{ $item->nama }} | @php $pausi_anak = $item ->filterTable66( Session::get('year'), $item->id, ) ->pausi_anak; $GrandPausi_anak += $pausi_anak; // $GrandJumlahBayi += $jumlah_bayi; // $GrandTotalIbuHamil += $totalIbuHamil; @endphp {{-- {{ $totalIbuHamil }} --}} | @php $pausi_dewasa = $item->filterTable66( Session::get('year'), $item->id, )->pausi_dewasa; $GrandPausi_dewasa += $pausi_dewasa; @endphp | @php $GrandPausi_total += $pausi_anak + $pausi_dewasa; @endphp {{$pausi_anak + $pausi_dewasa}} | @php $multi_anak = $item ->filterTable66( Session::get('year'), $item->id, ) ->multi_anak; $GrandMulti_anak += $multi_anak; // $GrandJumlahBayi += $jumlah_bayi; // $GrandTotalIbuHamil += $totalIbuHamil; @endphp {{-- {{ $totalIbuHamil }} --}} | @php $multi_dewasa = $item->filterTable66( Session::get('year'), $item->id, )->multi_dewasa; $GrandMulti_dewasa += $multi_dewasa; @endphp | @php $GrandMulti_total += $multi_anak + $multi_dewasa; @endphp {{$multi_anak + $multi_dewasa}} | @php $jumlah_anak = $multi_anak + $pausi_anak; echo $jumlah_anak; $GrandJumlah_anak += $jumlah_anak; @endphp | @php $jumlah_dewasa = $multi_dewasa + $pausi_dewasa; echo $jumlah_dewasa; $GrandJumlah_dewasa += $jumlah_dewasa; @endphp | @php $jumlah_total = $jumlah_anak + $jumlah_dewasa; echo $jumlah_total; $GrandJumlah_total += $jumlah_total; @endphp | |||||||
JUMLAH | {{ $GrandPausi_anak}} | {{ $GrandPausi_dewasa}} | {{ $GrandPausi_total}} | {{ $GrandMulti_anak}} | {{ $GrandMulti_dewasa}} | {{ $GrandMulti_total}} | {{ $GrandJumlah_anak}} | {{ $GrandJumlah_dewasa}} | {{ $GrandJumlah_total}} | |||||||||
ANGKA PREVALENSI PER 10.000 PENDUDUK | {{($GrandJumlah_total / ($jumlah_penduduk_perempuan + $jumlah_penduduk_laki_laki)) * 10000}} |