@extends('layouts.app') @section('content')

Neonatal

@if(Auth::user()->downloadFile('neonatal', Session::get('year')))
@csrf downloadFile('neonatal', Session::get('year'))->status == 1 ?"disabled":""}} class="form-control" placeholder="upload PDF file">
@else
@csrf
@endif @if(Auth::user()->hasFile('neonatal', Session::get('year'))) Download pdf file @endif Report PDF report Add
@role('Admin|superadmin') @endrole @role("Puskesmas|Pihak Wajib Pajak") @endrole @role('Admin|superadmin') @endrole @role('Admin|superadmin') @foreach ($unit_kerja as $key => $item) @if(isset($item->user) && $item->user->downloadFile('neonatal', Session::get('year'))) @elseif(isset($item->user) && !$item->user->downloadFile('neonatal', Session::get('year'))) @else @endif @if(isset($item->user) && $item->user->hasFile('neonatal', Session::get('year'))) @else @endif {{-- --}} @endforeach @endrole @role('Puskesmas|Pihak Wajib Pajak') @foreach ($desa as $key => $item) @if($item->filterNeonatal(Session::get('year')) && $item->filterKelahiran(Session::get('year'))) {{-- --}} @endif @endforeach @endrole
No KecamatanPuskesmasDesaJumlah Lahir Hidup Kunjungan Neonatal 1 kali Kunjungan Neonatal 3 kali (kn lengkap) Bayi baru lahir yang diberikan screening Hipotiroid KonginetalLock data Lock Upload File Download Detail Desa
Laki Laki Perempuan Laki Laki + Perempuan Laki Laki Perempuan Laki Laki + Perempuan Laki Laki Perempuan Laki Laki + Perempuan Laki Laki Perempuan Laki Laki + Perempuan
jumlah % jumlah % jumlah % jumlah % jumlah % jumlah % jumlah % jumlah % jumlah %
{{$key + 1}} {{$item->kecamatan}} {{$item->nama}} {{$item->kelahiran_per_desa(Session::get('year'))["lahir_hidup_L"]}} {{$item->kelahiran_per_desa(Session::get('year'))["lahir_hidup_P"]}} {{$item->kelahiran_per_desa(Session::get('year'))["lahir_hidup_L"] + $item->kelahiran_per_desa(Session::get('year'))["lahir_hidup_P"]}} {{$item->neonatal_per_desa(Session::get('year'))["kn1_L"]}} {{$item->kelahiran_per_desa(Session::get('year'))["lahir_hidup_L"] > 0?number_format($item->neonatal_per_desa(Session::get('year'))["kn1_L"] / $item->kelahiran_per_desa(Session::get('year'))["lahir_hidup_L"]* 100, 2):0}}% {{$item->neonatal_per_desa(Session::get('year'))["kn1_P"]}} {{$item->kelahiran_per_desa(Session::get('year'))["lahir_hidup_P"] > 0?number_format($item->neonatal_per_desa(Session::get('year'))["kn1_P"] / $item->kelahiran_per_desa(Session::get('year'))["lahir_hidup_P"]* 100, 2):0}}% {{$item->neonatal_per_desa(Session::get('year'))["kn1_P"] + $item->neonatal_per_desa(Session::get('year'))["kn1_L"]}} {{$item->kelahiran_per_desa(Session::get('year'))["lahir_hidup_P"] + $item->kelahiran_per_desa(Session::get('year'))["lahir_hidup_L"] > 0?number_format(($item->neonatal_per_desa(Session::get('year'))["kn1_P"] + $item->neonatal_per_desa(Session::get('year'))["kn1_L"]) / ($item->kelahiran_per_desa(Session::get('year'))["lahir_hidup_P"] + $item->kelahiran_per_desa(Session::get('year'))["lahir_hidup_L"])* 100, 2):0}}% {{$item->neonatal_per_desa(Session::get('year'))["kn_lengkap_L"]}} {{$item->kelahiran_per_desa(Session::get('year'))["lahir_hidup_L"] > 0?number_format($item->neonatal_per_desa(Session::get('year'))["kn_lengkap_L"] / $item->kelahiran_per_desa(Session::get('year'))["lahir_hidup_L"]* 100, 2):0}}% {{$item->neonatal_per_desa(Session::get('year'))["kn_lengkap_P"]}} {{$item->kelahiran_per_desa(Session::get('year'))["lahir_hidup_P"] > 0?number_format($item->neonatal_per_desa(Session::get('year'))["kn_lengkap_P"] / $item->kelahiran_per_desa(Session::get('year'))["lahir_hidup_P"]* 100, 2):0}}% {{$item->neonatal_per_desa(Session::get('year'))["kn_lengkap_P"] + $item->neonatal_per_desa(Session::get('year'))["kn_lengkap_L"]}} {{$item->kelahiran_per_desa(Session::get('year'))["lahir_hidup_P"] + $item->kelahiran_per_desa(Session::get('year'))["lahir_hidup_L"] > 0?number_format(($item->neonatal_per_desa(Session::get('year'))["kn_lengkap_P"] + $item->neonatal_per_desa(Session::get('year'))["kn_lengkap_L"]) / ($item->kelahiran_per_desa(Session::get('year'))["lahir_hidup_P"] + $item->kelahiran_per_desa(Session::get('year'))["lahir_hidup_L"])* 100, 2):0}}% {{$item->neonatal_per_desa(Session::get('year'))["hipo_L"]}} {{$item->kelahiran_per_desa(Session::get('year'))["lahir_hidup_L"] > 0?number_format($item->neonatal_per_desa(Session::get('year'))["hipo_L"] / $item->kelahiran_per_desa(Session::get('year'))["lahir_hidup_L"]* 100, 2):0}}% {{$item->neonatal_per_desa(Session::get('year'))["hipo_P"]}} {{$item->kelahiran_per_desa(Session::get('year'))["lahir_hidup_P"] > 0?number_format($item->neonatal_per_desa(Session::get('year'))["hipo_P"] / $item->kelahiran_per_desa(Session::get('year'))["lahir_hidup_P"]* 100, 2):0}}% {{$item->neonatal_per_desa(Session::get('year'))["hipo_P"] + $item->neonatal_per_desa(Session::get('year'))["hipo_L"]}} {{$item->kelahiran_per_desa(Session::get('year'))["lahir_hidup_P"] + $item->kelahiran_per_desa(Session::get('year'))["lahir_hidup_L"] > 0?number_format(($item->neonatal_per_desa(Session::get('year'))["hipo_P"] + $item->neonatal_per_desa(Session::get('year'))["hipo_L"]) / ($item->kelahiran_per_desa(Session::get('year'))["lahir_hidup_P"] + $item->kelahiran_per_desa(Session::get('year'))["lahir_hidup_L"])* 100, 2):0}}% neonatal_lock_get(Session::get('year')) == 1 ? "checked":""}} {{$item->neonatal_lock_get(Session::get('year')) == 2 ? "disabled":""}} class="data-lock" id="{{$item->id}}">user->downloadFile('neonatal', Session::get('year'))->status == 1 ? "checked":""}} class="data-lock-upload" id="{{$item->user->id}}">- @if($item->user->downloadFile('neonatal', Session::get('year'))->file_name != "-") Download pdf file @else - @endif -{{$item->kelahiran_per_desa(Session::get('year'))["lahir_mati_P"]}} {{$item->kelahiran_per_desa(Session::get('year'))["lahir_mati_P"] + $item->kelahiran_per_desa(Session::get('year'))["lahir_hidup_P"]}} {{$item->kelahiran_per_desa(Session::get('year'))["lahir_hidup_LP"]}} {{$item->kelahiran_per_desa(Session::get('year'))["lahir_mati_LP"]}} {{$item->kelahiran_per_desa(Session::get('year'))["lahir_hidup_mati_LP"]}}
{{$totalLahirHidupL}} {{$totalLahirHidupP}} {{$totalLahirHidupL + $totalLahirHidupP}} {{$totalkn1_L}} {{$totalLahirHidupL > 0?number_format($totalkn1_L / $totalLahirHidupL * 100, 2):0}}% {{$totalkn1_P}} {{$totalLahirHidupP > 0?number_format($totalkn1_P / $totalLahirHidupP * 100, 2):0}}% {{$totalkn1_L + $totalkn1_P}} {{$totalLahirHidupL + $totalLahirHidupP > 0?number_format(($totalkn1_L + $totalkn1_P) / ($totalLahirHidupL + $totalLahirHidupP)* 100, 2):0}}% {{$totalkn_lengkap_L}} {{$totalLahirHidupL > 0?number_format($totalkn_lengkap_L / $totalLahirHidupL * 100, 2):0}}% {{$totalkn_lengkap_P}} {{$totalLahirHidupP > 0?number_format($totalkn_lengkap_P / $totalLahirHidupP * 100, 2):0}}% {{$totalkn_lengkap_L + $totalkn_lengkap_P}} {{$totalLahirHidupL + $totalLahirHidupP > 0?number_format(($totalkn_lengkap_L + $totalkn_lengkap_P) / ($totalLahirHidupL + $totalLahirHidupP)* 100, 2):0}}% {{$totalhipo_L}} {{$totalLahirHidupL > 0?number_format($totalhipo_L / $totalLahirHidupL * 100, 2):0}}% {{$totalhipo_P}} {{$totalLahirHidupP > 0?number_format($totalhipo_P / $totalLahirHidupP * 100, 2):0}}% {{$totalhipo_L + $totalhipo_P}} {{$totalLahirHidupL + $totalLahirHidupP > 0?number_format(($totalhipo_L + $totalhipo_P) / ($totalLahirHidupL + $totalLahirHidupP)* 100, 2):0}}%
{{$key + 1}} {{Auth::user()->unit_kerja->kecamatan}} {{$item->nama}} {{$item->filterKelahiran(Session::get('year'))->lahir_hidup_L}} {{$item->filterKelahiran(Session::get('year'))->lahir_hidup_P}} {{$item->filterKelahiran(Session::get('year'))->lahir_hidup_L + $item->filterKelahiran(Session::get('year'))->lahir_hidup_P}} filterNeonatal(Session::get('year'))->status == 1 || $item->filterNeonatal(Session::get('year'))->status == 2?"disabled":""}} name="kn1_L" id="{{$item->filterNeonatal(Session::get('year'))->id}}" value="{{$item->filterNeonatal(Session::get('year'))->kn1_L}}" class="form-control data-input" style="border: none"> {{$item->filterKelahiran(Session::get('year'))->lahir_hidup_L > 0?number_format($item->filterNeonatal(Session::get('year'))->kn1_L/($item->filterKelahiran(Session::get('year'))->lahir_hidup_L)*100, 2):0}}% filterNeonatal(Session::get('year'))->status == 1 || $item->filterNeonatal(Session::get('year'))->status == 2?"disabled":""}} name="kn1_P" id="{{$item->filterNeonatal(Session::get('year'))->id}}" value="{{$item->filterNeonatal(Session::get('year'))->kn1_P}}" class="form-control data-input" style="border: none"> {{$item->filterKelahiran(Session::get('year'))->lahir_hidup_P > 0?number_format($item->filterNeonatal(Session::get('year'))->kn1_P/($item->filterKelahiran(Session::get('year'))->lahir_hidup_P)*100, 2):0}}% {{$item->filterNeonatal(Session::get('year'))->kn1_L + $item->filterNeonatal(Session::get('year'))->kn1_P}} {{$item->filterKelahiran(Session::get('year'))->lahir_hidup_L + $item->filterKelahiran(Session::get('year'))->lahir_hidup_P> 0?number_format(($item->filterNeonatal(Session::get('year'))->kn1_L + $item->filterNeonatal(Session::get('year'))->kn1_P)/(($item->filterKelahiran(Session::get('year'))->lahir_hidup_L + $item->filterKelahiran(Session::get('year'))->lahir_hidup_P))* 100, 2):0}}% filterNeonatal(Session::get('year'))->status == 1 || $item->filterNeonatal(Session::get('year'))->status == 2?"disabled":""}} name="kn_lengkap_L" id="{{$item->filterNeonatal(Session::get('year'))->id}}" value="{{$item->filterNeonatal(Session::get('year'))->kn_lengkap_L}}" class="form-control data-input" style="border: none"> {{$item->filterKelahiran(Session::get('year'))->lahir_hidup_L > 0?number_format($item->filterNeonatal(Session::get('year'))->kn_lengkap_L/($item->filterKelahiran(Session::get('year'))->lahir_hidup_L) * 100, 2):0}}% filterNeonatal(Session::get('year'))->status == 1 || $item->filterNeonatal(Session::get('year'))->status == 2?"disabled":""}} name="kn_lengkap_P" id="{{$item->filterNeonatal(Session::get('year'))->id}}" value="{{$item->filterNeonatal(Session::get('year'))->kn_lengkap_P}}" class="form-control data-input" style="border: none"> {{$item->filterKelahiran(Session::get('year'))->lahir_hidup_P > 0?number_format($item->filterNeonatal(Session::get('year'))->kn_lengkap_P/($item->filterKelahiran(Session::get('year'))->lahir_hidup_P) * 100, 2):0}}% {{$item->filterNeonatal(Session::get('year'))->kn_lengkap_L + $item->filterNeonatal(Session::get('year'))->kn_lengkap_P}} {{$item->filterKelahiran(Session::get('year'))->lahir_hidup_L + $item->filterKelahiran(Session::get('year'))->lahir_hidup_P> 0?number_format(($item->filterNeonatal(Session::get('year'))->kn_lengkap_L + $item->filterNeonatal(Session::get('year'))->kn_lengkap_P)/(($item->filterKelahiran(Session::get('year'))->lahir_hidup_L + $item->filterKelahiran(Session::get('year'))->lahir_hidup_P)) * 100, 2):0}}% filterNeonatal(Session::get('year'))->status == 1 || $item->filterNeonatal(Session::get('year'))->status == 2?"disabled":""}} name="hipo_L" id="{{$item->filterNeonatal(Session::get('year'))->id}}" value="{{$item->filterNeonatal(Session::get('year'))->hipo_L}}" class="form-control data-input" style="border: none"> {{$item->filterKelahiran(Session::get('year'))->lahir_hidup_L > 0?number_format($item->filterNeonatal(Session::get('year'))->hipo_L/($item->filterKelahiran(Session::get('year'))->lahir_hidup_L) * 100, 2):0}} filterNeonatal(Session::get('year'))->status == 1 || $item->filterNeonatal(Session::get('year'))->status == 2?"disabled":""}} name="hipo_P" id="{{$item->filterNeonatal(Session::get('year'))->id}}" value="{{$item->filterNeonatal(Session::get('year'))->hipo_P}}" class="form-control data-input" style="border: none"> {{$item->filterKelahiran(Session::get('year'))->lahir_hidup_P > 0?number_format($item->filterNeonatal(Session::get('year'))->hipo_P/($item->filterKelahiran(Session::get('year'))->lahir_hidup_P) * 100, 2):0}} {{$item->filterNeonatal(Session::get('year'))->hipo_L + $item->filterNeonatal(Session::get('year'))->hipo_P}} {{$item->filterKelahiran(Session::get('year'))->lahir_hidup_L + $item->filterKelahiran(Session::get('year'))->lahir_hidup_P> 0?number_format(($item->filterNeonatal(Session::get('year'))->hipo_L + $item->filterNeonatal(Session::get('year'))->hipo_P)/(($item->filterKelahiran(Session::get('year'))->lahir_hidup_L + $item->filterKelahiran(Session::get('year'))->lahir_hidup_P)) * 100, 2):0}} {{$item->filterKelahiran(Session::get('year'))->lahir_hidup_P + $item->filterKelahiran(Session::get('year'))->lahir_mati_P}} {{$item->filterKelahiran(Session::get('year'))->lahir_hidup_P + $item->filterKelahiran(Session::get('year'))->lahir_hidup_L}} {{$item->filterKelahiran(Session::get('year'))->lahir_mati_P + $item->filterKelahiran(Session::get('year'))->lahir_mati_L}} {{$item->filterKelahiran(Session::get('year'))->lahir_hidup_P + $item->filterKelahiran(Session::get('year'))->lahir_mati_P + $item->filterKelahiran(Session::get('year'))->lahir_mati_L + $item->filterKelahiran(Session::get('year'))->lahir_hidup_L}}
{{$totalLahirHidupL}} {{$totalLahirHidupP}} {{$totalLahirHidupL + $totalLahirHidupP}} {{$totalkn1_L}} {{$totalLahirHidupL > 0?number_format($totalkn1_L / $totalLahirHidupL * 100, 2):0}}% {{$totalkn1_P}} {{$totalLahirHidupP > 0?number_format($totalkn1_P / $totalLahirHidupP * 100, 2):0}}% {{$totalkn1_L + $totalkn1_P}} {{$totalLahirHidupL + $totalLahirHidupP > 0?number_format(($totalkn1_L + $totalkn1_P) / ($totalLahirHidupL + $totalLahirHidupP)* 100, 2):0}}% {{$totalkn_lengkap_L}} {{$totalLahirHidupL > 0?number_format($totalkn_lengkap_L / $totalLahirHidupL * 100, 2):0}}% {{$totalkn_lengkap_P}} {{$totalLahirHidupP > 0?number_format($totalkn_lengkap_P / $totalLahirHidupP * 100, 2):0}}% {{$totalkn_lengkap_L + $totalkn_lengkap_P}} {{$totalLahirHidupL + $totalLahirHidupP > 0?number_format(($totalkn_lengkap_L + $totalkn_lengkap_P) / ($totalLahirHidupL + $totalLahirHidupP)* 100, 2):0}}% {{$totalhipo_L}} {{$totalLahirHidupL > 0?number_format($totalhipo_L / $totalLahirHidupL * 100, 2):0}}% {{$totalhipo_P}} {{$totalLahirHidupP > 0?number_format($totalhipo_P / $totalLahirHidupP * 100, 2):0}}% {{$totalhipo_L + $totalhipo_P}} {{$totalLahirHidupL + $totalLahirHidupP > 0?number_format(($totalhipo_L + $totalhipo_P) / ($totalLahirHidupL + $totalLahirHidupP)* 100, 2):0}}%
@push('scripts') @endpush @push('scripts') @endpush @endsection