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

{{$title}}

@if(Auth::user()->downloadFile('KematianNeonatal', Session::get('year')))
@csrf downloadFile('KematianNeonatal', Session::get('year'))->status == 1 ?"disabled":""}} class="form-control" placeholder="upload PDF file">
@else
@csrf
@endif @if(Auth::user()->hasFile('KematianNeonatal', Session::get('year')) && Auth::user()->downloadFile('KematianNeonatal', 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 @role('Admin|superadmin') @foreach ($unit_kerja as $key => $item) @if(isset($item->user) && $item->user->downloadFile('KematianNeonatal', Session::get('year'))) @elseif(isset($item->user) && !$item->user->downloadFile('KematianNeonatal', Session::get('year'))) @else @endif @if(isset($item->user) && $item->user->hasFile('KematianNeonatal', Session::get('year'))) @else @endif @endforeach @endrole @role('Puskesmas|Pihak Wajib Pajak') @foreach ($desa as $key => $item) @if($item->filterPenyebabKematianIbu(Session::get('year'))) @php $filterResult = $item->filterKematianNeonatal(Session::get('year')); $isDisabled = $filterResult->status == 1 || $filterResult->status == 2 ? "disabled" : ""; @endphp @endif @endforeach @endrole
No KecamatanPuskesmasDesaJumlah KematianLock data Lock upload File Download Detail Desa
Laki Laki Perempuan Laki Laki + Perempuan
Neonatal Post Neonatal Balita Neonatal Post Neonatal Balita Neonatal Post Neonatal Balita
Bayi Anak Balita Jumlah Total Bayi Anak Balita Jumlah Total Bayi Anak Balita Jumlah Total
{{$key + 1}} {{$item->kecamatan}} {{$item->nama}} {{$item->unitKerjaAmbil('filterKematianNeonatal', Session::get('year'), 'neo_L')["total"]}} {{$item->unitKerjaAmbil('filterKematianNeonatal', Session::get('year'), 'post_neo_L')["total"]}} {{$item->unitKerjaAmbil('filterKematianNeonatal', Session::get('year'), 'post_neo_L')["total"] + $item->unitKerjaAmbil('filterKematianNeonatal', Session::get('year'), 'neo_L')["total"]}} {{$item->unitKerjaAmbil('filterKematianNeonatal', Session::get('year'), 'balita_L')["total"]}} {{$item->unitKerjaAmbil('filterKematianNeonatal', Session::get('year'), 'balita_L')["total"] + $item->unitKerjaAmbil('filterKematianNeonatal', Session::get('year'), 'post_neo_L')["total"] + $item->unitKerjaAmbil('filterKematianNeonatal', Session::get('year'), 'neo_L')["total"]}} {{$item->unitKerjaAmbil('filterKematianNeonatal', Session::get('year'), 'neo_P')["total"]}} {{$item->unitKerjaAmbil('filterKematianNeonatal', Session::get('year'), 'post_neo_P')["total"]}} {{$item->unitKerjaAmbil('filterKematianNeonatal', Session::get('year'), 'post_neo_P')["total"] + $item->unitKerjaAmbil('filterKematianNeonatal', Session::get('year'), 'neo_P')["total"]}} {{$item->unitKerjaAmbil('filterKematianNeonatal', Session::get('year'), 'balita_P')["total"]}} {{$item->unitKerjaAmbil('filterKematianNeonatal', Session::get('year'), 'balita_P')["total"] + $item->unitKerjaAmbil('filterKematianNeonatal', Session::get('year'), 'post_neo_P')["total"] + $item->unitKerjaAmbil('filterKematianNeonatal', Session::get('year'), 'neo_P')["total"]}} {{$item->unitKerjaAmbil('filterKematianNeonatal', Session::get('year'), 'neo_P')["total"] + $item->unitKerjaAmbil('filterKematianNeonatal', Session::get('year'), 'neo_L')["total"]}} {{$item->unitKerjaAmbil('filterKematianNeonatal', Session::get('year'), 'post_neo_P')["total"] + $item->unitKerjaAmbil('filterKematianNeonatal', Session::get('year'), 'post_neo_L')["total"]}} {{$item->unitKerjaAmbil('filterKematianNeonatal', Session::get('year'), 'post_neo_P')["total"] + $item->unitKerjaAmbil('filterKematianNeonatal', Session::get('year'), 'neo_P')["total"] + $item->unitKerjaAmbil('filterKematianNeonatal', Session::get('year'), 'post_neo_L')["total"] + $item->unitKerjaAmbil('filterKematianNeonatal', Session::get('year'), 'neo_L')["total"]}} {{$item->unitKerjaAmbil('filterKematianNeonatal', Session::get('year'), 'balita_P')["total"] + $item->unitKerjaAmbil('filterKematianNeonatal', Session::get('year'), 'balita_L')["total"] }} {{$item->unitKerjaAmbil('filterKematianNeonatal', Session::get('year'), 'balita_P')["total"] + $item->unitKerjaAmbil('filterKematianNeonatal', Session::get('year'), 'post_neo_P')["total"] + $item->unitKerjaAmbil('filterKematianNeonatal', Session::get('year'), 'neo_P')["total"] + $item->unitKerjaAmbil('filterKematianNeonatal', Session::get('year'), 'balita_L')["total"] + $item->unitKerjaAmbil('filterKematianNeonatal', Session::get('year'), 'post_neo_L')["total"] + $item->unitKerjaAmbil('filterKematianNeonatal', Session::get('year'), 'neo_L')["total"]}} general_lock_get(Session::get('year'), 'filterKematianNeonatal') == 1 ? "checked":""}} {{$item->general_lock_get(Session::get('year'), 'filterKematianNeonatal') == 2 ? "disabled":""}} class="data-lock" id="{{$item->id}}">user->downloadFile('KematianNeonatal', Session::get('year'))->status == 1 ? "checked":""}} class="data-lock-upload" id="{{$item->user->id}}">- @if($item->user->downloadFile('KematianNeonatal', Session::get('year'))->file_name != "-") Download pdf file @else - @endif -
{{$key + 1}} {{$item->UnitKerja->kecamatan}} {{$item->nama}} {{ $item->filterKematianNeonatal(Session::get('year'))->neo_L + $item->filterKematianNeonatal(Session::get('year'))->post_neo_L }} {{ $item->filterKematianNeonatal(Session::get('year'))->neo_L + $item->filterKematianNeonatal(Session::get('year'))->post_neo_L + $item->filterKematianNeonatal(Session::get('year'))->balita_L }} {{$item->filterKematianNeonatal(Session::get('year'))->neo_P + $item->filterKematianNeonatal(Session::get('year'))->post_neo_P}} {{$item->filterKematianNeonatal(Session::get('year'))->neo_P + $item->filterKematianNeonatal(Session::get('year'))->post_neo_P + $item->filterKematianNeonatal(Session::get('year'))->balita_P}} {{$item->filterKematianNeonatal(Session::get('year'))->neo_P + $item->filterKematianNeonatal(Session::get('year'))->neo_L}} {{$item->filterKematianNeonatal(Session::get('year'))->post_neo_P + $item->filterKematianNeonatal(Session::get('year'))->post_neo_L}} {{ $item->filterKematianNeonatal(Session::get('year'))->post_neo_P + $item->filterKematianNeonatal(Session::get('year'))->post_neo_L + $item->filterKematianNeonatal(Session::get('year'))->neo_P + $item->filterKematianNeonatal(Session::get('year'))->neo_L }} {{ $item->filterKematianNeonatal(Session::get('year'))->balita_P + $item->filterKematianNeonatal(Session::get('year'))->balita_L }} {{ $item->filterKematianNeonatal(Session::get('year'))->balita_P + $item->filterKematianNeonatal(Session::get('year'))->balita_L + $item->filterKematianNeonatal(Session::get('year'))->post_neo_P + $item->filterKematianNeonatal(Session::get('year'))->post_neo_L + $item->filterKematianNeonatal(Session::get('year'))->neo_P + $item->filterKematianNeonatal(Session::get('year'))->neo_L }}
{{$neo_L}} {{$post_neo_L}} {{$neo_L + $post_neo_L}} {{$balita_L}} {{$neo_L + $post_neo_L + $balita_L}} {{$neo_P}} {{$post_neo_P}} {{$neo_P + $post_neo_P}} {{$balita_P}} {{$neo_P + $post_neo_P + $balita_P}} {{$neo_L + $neo_P}} {{$post_neo_L + $post_neo_P}} {{$neo_L + $neo_P + $post_neo_L + $post_neo_P}} {{$balita_L + $balita_P}} {{$neo_L + $neo_P + $post_neo_L + $post_neo_P + $balita_L + $balita_P}}
@push('scripts') @endpush @push('scripts') @endpush @endsection