@role('Admin|superadmin') @endrole @role('Puskesmas|Pihak Wajib Pajak') @endrole @role('Admin|superadmin') @foreach ($unit_kerja as $key => $item) @endforeach @endrole @role('Puskesmas|Pihak Wajib Pajak') @foreach ($desa as $key => $item) @if($item->filterKematianIbu(Session::get('year'))) @endif @endforeach @php $total = Auth::user()->unit_kerja; @endphp @endrole
JUMLAH KEMATIAN IBU MENURUT KECAMATAN DAN PUSKESMAS
Kabupaten/Kota Kutai Timur
Tahun {{Session::get('year')}}
KecamatanPuskesmasDesaJumlah Lahir Hidup Kematian Ibu
Jumlah kematian Ibu Hamil Jumlah Kematian Ibu Bersalin Jumlah Kematian Ibu Nifas Jumlah Kematian Ibu
{{$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"]}}
TOTAL {{\App\Models\UnitKerja::totalForAllUnitKerja(Session::get('year'), 'filterKelahiran', 'lahir_hidup_L') + \App\Models\UnitKerja::totalForAllUnitKerja(Session::get('year'), 'filterKelahiran', 'lahir_hidup_P')}} {{\App\Models\UnitKerja::totalForAllUnitKerja(Session::get('year'), 'filterKematianIbu', 'jumlah_kematian_ibu_hamil')}} {{\App\Models\UnitKerja::totalForAllUnitKerja(Session::get('year'), 'filterKematianIbu', 'jumlah_kematian_ibu_bersalin')}} {{\App\Models\UnitKerja::totalForAllUnitKerja(Session::get('year'), 'filterKematianIbu', 'jumlah_kematian_ibu_nifas')}} {{\App\Models\UnitKerja::totalForAllUnitKerja(Session::get('year'), 'filterKematianIbu', 'jumlah_kematian_ibu_nifas') + \App\Models\UnitKerja::totalForAllUnitKerja(Session::get('year'), 'filterKematianIbu', 'jumlah_kematian_ibu_hamil') + \App\Models\UnitKerja::totalForAllUnitKerja(Session::get('year'), 'filterKematianIbu', 'jumlah_kematian_ibu_bersalin') }}
{{$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 }} {{ $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 }}
TOTAL {{$total->admin_total(Session::get('year'), 'filterKelahiran', 'lahir_hidup_L') + $total->admin_total(Session::get('year'), 'filterKelahiran', 'lahir_hidup_P')}} {{$total->admin_total(Session::get('year'), 'filterKematianIbu', 'jumlah_kematian_ibu_hamil')}} {{$total->admin_total(Session::get('year'), 'filterKematianIbu', 'jumlah_kematian_ibu_bersalin')}} {{$total->admin_total(Session::get('year'), 'filterKematianIbu', 'jumlah_kematian_ibu_nifas')}} {{$total->admin_total(Session::get('year'), 'filterKematianIbu', 'jumlah_kematian_ibu_nifas') + $total->admin_total(Session::get('year'), 'filterKematianIbu', 'jumlah_kematian_ibu_bersalin') + $total->admin_total(Session::get('year'), 'filterKematianIbu', 'jumlah_kematian_ibu_hamil')}}