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

{{$title}}

@if(Auth::user()->downloadFile('KomplikasiBidan', Session::get('year')))
@csrf downloadFile('KomplikasiBidan', Session::get('year'))->status == 1 ?"disabled":""}} class="form-control" placeholder="upload PDF file">
@else
@csrf
@endif @if(Auth::user()->hasFile('KomplikasiBidan', Session::get('year')) && Auth::user()->downloadFile('KomplikasiBidan', 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('KomplikasiBidan', Session::get('year'))) @elseif(isset($item->user) && !$item->user->downloadFile('KomplikasiBidan', Session::get('year'))) @else @endif @if(isset($item->user) && $item->user->hasFile('KomplikasiBidan', Session::get('year'))) @else @endif @endforeach @endrole @role('Puskesmas|Pihak Wajib Pajak') @foreach ($desa as $key => $item) @if($item->filterKomplikasiBidan(Session::get('year'))) @php $filterResult = $item->filterKomplikasiBidan(Session::get('year')); $isDisabled = $filterResult->status == 1 || $filterResult->status == 2 ? "disabled" : ""; @endphp @endif @endforeach @endrole
No KecamatanPuskesmasDesaJumlah Ibu Hamil Perkiraan Ibu Hamil Dengan Komplikasi Kebidanan Bumil Dengan Komplikasi Kebidanan yang ditangani Jumlah Komplikasi Kebidanan Jumlah Komplikasi Dalam Kehamilan Jumlah Komplikasi Dalam Persalinan Jumlah Komplikasi Pasca Persalinan (Nifas)Lock data Lock upload File Download Detail Desa
Jumlah % Kurang Energi Kronis (KEK) Anemia Pendarahan Tuberkulosis Malaria Infeksi Lainnya Preklampsia/Eklampsia Diabetes Melitus Jantung Covid-19 Penyebab Lainnya
{{$key + 1}} {{$item->kecamatan}} {{$item->nama}} {{$item->ibu_hamil_per_desa(Session::get('year'))["jumlah_ibu_hamil"]}} {{number_format((20/100) * $item->ibu_hamil_per_desa(Session::get('year'))["jumlah_ibu_hamil"], 2)}} {{$item->komplikasi_bidan_per_desa(Session::get('year'))["jumlah"]}} {{(20/100) * $item->ibu_hamil_per_desa(Session::get('year'))["jumlah_ibu_hamil"]>0?number_format($item->komplikasi_bidan_per_desa(Session::get('year'))["jumlah"]/((20/100) * $item->ibu_hamil_per_desa(Session::get('year'))["jumlah_ibu_hamil"]) * 100, 2):0}} {{$item->komplikasi_bidan_per_desa(Session::get('year'))["kek"]}} {{$item->komplikasi_bidan_per_desa(Session::get('year'))["anemia"]}} {{$item->komplikasi_bidan_per_desa(Session::get('year'))["pendarahan"]}} {{$item->komplikasi_bidan_per_desa(Session::get('year'))["tuberkulosis"]}} {{$item->komplikasi_bidan_per_desa(Session::get('year'))["malaria"]}} {{$item->komplikasi_bidan_per_desa(Session::get('year'))["infeksi_lain"]}} {{$item->komplikasi_bidan_per_desa(Session::get('year'))["preklampsia"]}} {{$item->komplikasi_bidan_per_desa(Session::get('year'))["diabetes"]}} {{$item->komplikasi_bidan_per_desa(Session::get('year'))["jantung"]}} {{$item->komplikasi_bidan_per_desa(Session::get('year'))["covid_19"]}} {{$item->komplikasi_bidan_per_desa(Session::get('year'))["penyebab_lain"]}} {{$item->komplikasi_bidan_per_desa(Session::get('year'))["komplikasi_hamil"]}} {{$item->komplikasi_bidan_per_desa(Session::get('year'))["komplikasi_persalinan"]}} {{$item->komplikasi_bidan_per_desa(Session::get('year'))["komplikasi_nifas"]}} general_lock_get(Session::get('year'), 'filterKomplikasiBidan') == 1 ? "checked":""}} {{$item->general_lock_get(Session::get('year'), 'filterKomplikasiBidan') == 2 ? "disabled":""}} class="data-lock" id="{{$item->id}}">user->downloadFile('KomplikasiBidan', Session::get('year'))->status == 1 ? "checked":""}} class="data-lock-upload" id="{{$item->user->id}}">- @if($item->user->downloadFile('KomplikasiBidan', Session::get('year'))->file_name != "-") Download pdf file @else - @endif -
{{$key + 1}} {{$item->UnitKerja->kecamatan}} {{$item->nama}} {{$item->filterDesa(Session::get('year'))->jumlah_ibu_hamil}} {{number_format((20/100) * $item->filterDesa(Session::get('year'))->jumlah_ibu_hamil, 2)}} {{(20/100) * $item->filterDesa(Session::get('year'))->jumlah_ibu_hamil>0?number_format($item->filterKomplikasiBidan(Session::get('year'))->jumlah/((20/100) * $item->filterDesa(Session::get('year'))->jumlah_ibu_hamil) * 100, 2):0}}
@push('scripts') @endpush @push('scripts') @endpush @endsection