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

{{$title}}

@if(Auth::user()->downloadFile('KematianIbu', Session::get('year')))
@csrf downloadFile('KematianIbu', Session::get('year'))->status == 1 ?"disabled":""}} class="form-control" placeholder="upload PDF file">
@else
@csrf
@endif @if(Auth::user()->hasFile('KematianIbu', Session::get('year')) && Auth::user()->downloadFile('KematianIbu', 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('KematianIbu', Session::get('year'))) @elseif(isset($item->user) && !$item->user->downloadFile('KematianIbu', Session::get('year'))) @else @endif @if(isset($item->user) && $item->user->hasFile('KematianIbu', Session::get('year'))) @else @endif @endforeach @endrole @role('Puskesmas|Pihak Wajib Pajak') @foreach ($desa as $key => $item) @if($item->filterKematianIbu(Session::get('year'))) @php $filterResult = $item->filterKematianIbu(Session::get('year')); $isDisabled = $filterResult->status == 1 || $filterResult->status == 2 ? "disabled" : ""; @endphp @endif @endforeach @endrole
No KecamatanPuskesmasDesaJumlah Lahir Hidup Kematian IbuLock data Lock upload File Download Detail Desa
Jumlah kematian Ibu Hamil Jumlah Kematian Ibu Bersalin Jumlah Kematian Ibu Nifas Jumlah Kematian Ibu
{{$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->kematian_ibu_per_desa(Session::get('year'))["jumlah_kematian_ibu_hamil"]}} {{$item->kematian_ibu_per_desa(Session::get('year'))["jumlah_kematian_ibu_bersalin"]}} {{$item->kematian_ibu_per_desa(Session::get('year'))["jumlah_kematian_ibu_nifas"]}} {{$item->kematian_ibu_per_desa(Session::get('year'))["jumlah_kematian_ibu_nifas"] + $item->kematian_ibu_per_desa(Session::get('year'))["jumlah_kematian_ibu_bersalin"] + $item->kematian_ibu_per_desa(Session::get('year'))["jumlah_kematian_ibu_hamil"]}} general_lock_get(Session::get('year'), 'filterKematianIbu') == 1 ? "checked":""}} {{$item->general_lock_get(Session::get('year'), 'filterKematianIbu') == 2 ? "disabled":""}} class="data-lock" id="{{$item->id}}">user->downloadFile('KematianIbu', Session::get('year'))->status == 1 ? "checked":""}} class="data-lock-upload" id="{{$item->user->id}}">- @if($item->user->downloadFile('KematianIbu', Session::get('year'))->file_name != "-") Download pdf file @else - @endif -
{{$key + 1}} {{$item->UnitKerja->kecamatan}} {{$item->nama}} {{$item->filterKelahiran(Session::get('year'))->lahir_hidup_L + $item->filterKelahiran(Session::get('year'))->lahir_hidup_P}} {{$item->filterKematianIbu(Session::get('year'))->jumlah_kematian_ibu_hamil + $item->filterKematianIbu(Session::get('year'))->jumlah_kematian_ibu_bersalin + $item->filterKematianIbu(Session::get('year'))->jumlah_kematian_ibu_nifas}}
@push('scripts') @endpush @push('scripts') @endpush @endsection