@extends('layouts.app') @section('content')
No | Kecamatan | @role('Admin|superadmin')Puskesmas | @endrole @role('Puskesmas|Pihak Wajib Pajak')Desa | @endroleJumlah Lahir Hidup | Kematian Ibu | @role('Admin|superadmin')Lock data | Lock upload | File Download | Detail Desa | @endrole|||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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}}"> | @if(isset($item->user) && $item->user->downloadFile('KematianIbu', Session::get('year')))user->downloadFile('KematianIbu', Session::get('year'))->status == 1 ? "checked":""}} class="data-lock-upload" id="{{$item->user->id}}"> | @elseif(isset($item->user) && !$item->user->downloadFile('KematianIbu', Session::get('year')))@else | - | @endif @if(isset($item->user) && $item->user->hasFile('KematianIbu', Session::get('year')))@if($item->user->downloadFile('KematianIbu', Session::get('year'))->file_name != "-") Download pdf file @else - @endif | @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}} |