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

{{$title}}

@if(Auth::user()->downloadFile('PenyebabKematianIbu', Session::get('year')))
@csrf downloadFile('PenyebabKematianIbu', Session::get('year'))->status == 1 ?"disabled":""}} class="form-control" placeholder="upload PDF file">
@else
@csrf
@endif @if(Auth::user()->hasFile('PenyebabKematianIbu', Session::get('year')) && Auth::user()->downloadFile('PenyebabKematianIbu', 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('PenyebabKematianIbu', Session::get('year'))) @elseif(isset($item->user) && !$item->user->downloadFile('PenyebabKematianIbu', Session::get('year'))) @else @endif @if(isset($item->user) && $item->user->hasFile('PenyebabKematianIbu', 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->filterPenyebabKematianIbu(Session::get('year')); $isDisabled = $filterResult->status == 1 || $filterResult->status == 2 ? "disabled" : ""; @endphp @endif @endforeach @endrole
No KecamatanPuskesmasDesaKematian IbuLock data Lock upload File Download Detail Desa
Perdarahan Gangguan Hipertensi Infeksi Kelainan Jantung dan Pembuluh darah Gangguan Autoimun Gangguan Cerebrovaskular Covid-19 KOMPLIKASI PASCA KEGUGURAN (ABORTUS) Lain-lain Jumlah Kematian Ibu
{{$key + 1}} {{$item->kecamatan}} {{$item->nama}} {{$item->penyebab_kematian_ibu_per_desa(Session::get('year'))["perdarahan"]}} {{$item->penyebab_kematian_ibu_per_desa(Session::get('year'))["gangguan_hipertensi"]}} {{$item->penyebab_kematian_ibu_per_desa(Session::get('year'))["infeksi"]}} {{$item->penyebab_kematian_ibu_per_desa(Session::get('year'))["kelainan_jantung"]}} {{$item->penyebab_kematian_ibu_per_desa(Session::get('year'))["gangguan_autoimun"]}} {{$item->penyebab_kematian_ibu_per_desa(Session::get('year'))["gangguan_cerebro"]}} {{$item->penyebab_kematian_ibu_per_desa(Session::get('year'))["covid_19"]}} {{$item->penyebab_kematian_ibu_per_desa(Session::get('year'))["abortus"]}} {{$item->penyebab_kematian_ibu_per_desa(Session::get('year'))["lain_lain"]}} {{$item->penyebab_kematian_ibu_per_desa(Session::get('year'))["lain_lain"] + $item->penyebab_kematian_ibu_per_desa(Session::get('year'))["abortus"] + $item->penyebab_kematian_ibu_per_desa(Session::get('year'))["covid_19"] + $item->penyebab_kematian_ibu_per_desa(Session::get('year'))["gangguan_cerebro"] + $item->penyebab_kematian_ibu_per_desa(Session::get('year'))["gangguan_autoimun"] + $item->penyebab_kematian_ibu_per_desa(Session::get('year'))["kelainan_jantung"] + $item->penyebab_kematian_ibu_per_desa(Session::get('year'))["infeksi"] + $item->penyebab_kematian_ibu_per_desa(Session::get('year'))["gangguan_hipertensi"] + $item->penyebab_kematian_ibu_per_desa(Session::get('year'))["perdarahan"] }} general_lock_get(Session::get('year'), 'filterPenyebabKematianIbu') == 1 ? "checked":""}} class="data-lock" id="{{$item->id}}">user->downloadFile('PenyebabKematianIbu', Session::get('year'))->status == 1 ? "checked":""}} class="data-lock-upload" id="{{$item->user->id}}">- @if($item->user->downloadFile('PenyebabKematianIbu', Session::get('year'))->file_name != "-") Download pdf file @else - @endif -
{{$key + 1}} {{$item->UnitKerja->nama}} {{$item->nama}} {{ $item->filterPenyebabKematianIbu(Session::get('year'))->perdarahan + $item->filterPenyebabKematianIbu(Session::get('year'))->gangguan_hipertensi + $item->filterPenyebabKematianIbu(Session::get('year'))->infeksi + $item->filterPenyebabKematianIbu(Session::get('year'))->kelainan_jantung + $item->filterPenyebabKematianIbu(Session::get('year'))->gangguan_autoimun + $item->filterPenyebabKematianIbu(Session::get('year'))->gangguan_cerebro + $item->filterPenyebabKematianIbu(Session::get('year'))->covid_19 + $item->filterPenyebabKematianIbu(Session::get('year'))->abortus + $item->filterPenyebabKematianIbu(Session::get('year'))->lain_lain }}
@push('scripts') @endpush @push('scripts') @endpush @endsection