@extends('layouts.app') @section('content')
No | Kecamatan | @role('Admin|superadmin')Puskesmas | @endrole @role('Puskesmas|Pihak Wajib Pajak')Desa | @endroleJumlah Kelahiran | @role('Admin|superadmin')Lock data | Lock Upload | File Download | Detail Desa | @endrole||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Laki Laki | Perempuan | Laki Laki + Perempuan | ||||||||||||||||
Hidup | Mati | Hidup + Mati | Hidup | Mati | Hidup + Mati | Hidup | Mati | Hidup + Mati | ||||||||||
{{$key + 1}} | {{$item->kecamatan}} | {{$item->nama}} | {{$item->kelahiran_per_desa(Session::get('year'))["lahir_hidup_L"]}} | {{$item->kelahiran_per_desa(Session::get('year'))["lahir_mati_L"]}} | {{$item->kelahiran_per_desa(Session::get('year'))["lahir_mati_L"] + $item->kelahiran_per_desa(Session::get('year'))["lahir_hidup_L"]}} | {{$item->kelahiran_per_desa(Session::get('year'))["lahir_hidup_P"]}} | {{$item->kelahiran_per_desa(Session::get('year'))["lahir_mati_P"]}} | {{$item->kelahiran_per_desa(Session::get('year'))["lahir_mati_P"] + $item->kelahiran_per_desa(Session::get('year'))["lahir_hidup_P"]}} | {{$item->kelahiran_per_desa(Session::get('year'))["lahir_hidup_LP"]}} | {{$item->kelahiran_per_desa(Session::get('year'))["lahir_mati_LP"]}} | {{$item->kelahiran_per_desa(Session::get('year'))["lahir_hidup_mati_LP"]}} | kelahiran_lock_get(Session::get('year')) == 1 ? "checked":""}} {{$item->kelahiran_lock_get(Session::get('year')) == 2 ? "disabled":""}} class="data-lock" id="{{$item->id}}"> | @if(isset($item->user) && $item->user->downloadFile('Kelahiran', Session::get('year')))user->downloadFile('Kelahiran', Session::get('year'))->status == 1 ? "checked":""}} class="data-lock-upload" id="{{$item->user->id}}"> | @elseif(isset($item->user) && !$item->user->downloadFile('Kelahiran', Session::get('year')))@else | - | @endif @if(isset($item->user) && $item->user->hasFile('Kelahiran', Session::get('year')))@if($item->user->downloadFile('Kelahiran', Session::get('year'))->file_name != "-") Download pdf file @else - @endif | @else- | @endif|
{{$total_ibu_hamil}} | {{$total_k1}} | {{$total_k4}} | {{$total_k6}} | {{$total_ibu_bersalin}} | {{$total_fasyankes}} | {{$total_kf1}} | {{$total_kf_lengkap}} | {{$total_vita}} | --}}||||||||||
{{$key + 1}} | {{$item->UnitKerja->kecamatan}} | {{$item->nama}} | filterKelahiran(Session::get('year'))->status == 1 || $item->filterKelahiran(Session::get('year'))->status == 2?"disabled":""}} name="lahir_hidup_L" id="{{$item->filterKelahiran(Session::get('year'))->id}}" value="{{$item->filterKelahiran(Session::get('year'))->lahir_hidup_L}}" class="form-control data-input" style="border: none"> | filterKelahiran(Session::get('year'))->status == 1 || $item->filterKelahiran(Session::get('year'))->status == 2?"disabled":""}} name="lahir_mati_L" id="{{$item->filterKelahiran(Session::get('year'))->id}}" value="{{$item->filterKelahiran(Session::get('year'))->lahir_mati_L}}" class="form-control data-input" style="border: none"> | {{$item->filterKelahiran(Session::get('year'))->lahir_hidup_L + $item->filterKelahiran(Session::get('year'))->lahir_mati_L}} | filterKelahiran(Session::get('year'))->status == 1 || $item->filterKelahiran(Session::get('year'))->status == 2?"disabled":""}} name="lahir_hidup_P" id="{{$item->filterKelahiran(Session::get('year'))->id}}" value="{{$item->filterKelahiran(Session::get('year'))->lahir_hidup_P}}" class="form-control data-input" style="border: none"> | filterKelahiran(Session::get('year'))->status == 1 || $item->filterKelahiran(Session::get('year'))->status == 2?"disabled":""}} name="lahir_mati_P" id="{{$item->filterKelahiran(Session::get('year'))->id}}" value="{{$item->filterKelahiran(Session::get('year'))->lahir_mati_P}}" class="form-control data-input" style="border: none"> | {{$item->filterKelahiran(Session::get('year'))->lahir_hidup_P + $item->filterKelahiran(Session::get('year'))->lahir_mati_P}} | {{$item->filterKelahiran(Session::get('year'))->lahir_hidup_P + $item->filterKelahiran(Session::get('year'))->lahir_hidup_L}} | {{$item->filterKelahiran(Session::get('year'))->lahir_mati_P + $item->filterKelahiran(Session::get('year'))->lahir_mati_L}} | {{$item->filterKelahiran(Session::get('year'))->lahir_hidup_P + $item->filterKelahiran(Session::get('year'))->lahir_mati_P + $item->filterKelahiran(Session::get('year'))->lahir_mati_L + $item->filterKelahiran(Session::get('year'))->lahir_hidup_L}} | |||||||
{{$total_ibu_hamil}} | {{$total_k1}} | {{$total_k4}} | {{$total_k6}} | {{$total_ibu_bersalin}} | {{$total_fasyankes}} | {{$total_kf1}} | {{$total_kf_lengkap}} | {{$total_vita}} |