@extends('layouts.app') @section('content')

{{$title}}

@if(Auth::user()->downloadFile('IbuHamil', Session::get('year')))
@csrf downloadFile('IbuHamil', Session::get('year'))->status == 1 ?"disabled":""}} class="form-control" placeholder="upload PDF file">
@else
@csrf
@endif @if(Auth::user()->hasFile('IbuHamil', Session::get('year'))) 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('IbuHamil', Session::get('year'))) @elseif(isset($item->user) && !$item->user->downloadFile('IbuHamil', Session::get('year'))) @else @endif @if(isset($item->user) && $item->user->hasFile('IbuHamil', Session::get('year'))) @else @endif @endforeach @endrole @role('Puskesmas|Pihak Wajib Pajak') @foreach ($desa as $key => $item) @if($item->filterDesa(Session::get('year'))) @endif @endforeach @endrole
No KecamatanPuskesmasDesaIbu Hamil Ibu Bersalin/NifasLock data Lock Upload File Download Detail Desa
Jumlah K1 K4 K6 Jumlah Persalinan Di Fasyankes Kf1 Kf Lengkap Ibu Bersalin yang diberi Vit A
Jumlah % Jumlah % Jumlah % Jumlah % Jumlah % Jumlah % Jumlah %
{{$key + 1}} {{$item->kecamatan}} {{$item->nama}} {{$item->jumlah_ibu_hamil(Session::get('year'))}} {{$item->k1(Session::get('year'))}} {{$item->jumlah_ibu_hamil(Session::get('year')) > 0 ? number_format(($item->k1(Session::get('year'))/($item->jumlah_ibu_hamil(Session::get('year'))))*100, '2'):0}}% {{$item->k4(Session::get('year'))}} {{$item->jumlah_ibu_hamil(Session::get('year')) > 0 ? number_format(($item->k4(Session::get('year'))/($item->jumlah_ibu_hamil(Session::get('year'))))*100, '2'):0}}% {{$item->k6(Session::get('year'))}} {{$item->jumlah_ibu_hamil(Session::get('year')) > 0 ? number_format(($item->k6(Session::get('year'))/($item->jumlah_ibu_hamil(Session::get('year'))))*100, '2'):0}}% {{$item->jumlah_ibu_bersalin(Session::get('year'))}} {{$item->fasyankes(Session::get('year'))}} {{$item->jumlah_ibu_bersalin(Session::get('year')) > 0 ? number_format(($item->fasyankes(Session::get('year'))/($item->jumlah_ibu_bersalin(Session::get('year'))))*100, '2'):0}}% {{$item->kf1(Session::get('year'))}} {{$item->jumlah_ibu_bersalin(Session::get('year')) > 0 ? number_format(($item->kf1(Session::get('year'))/($item->jumlah_ibu_bersalin(Session::get('year'))))*100, '2'):0}}% {{$item->kf_lengkap(Session::get('year'))}} {{$item->jumlah_ibu_bersalin(Session::get('year')) > 0 ? number_format(($item->kf_lengkap(Session::get('year'))/($item->jumlah_ibu_bersalin(Session::get('year'))))*100, '2'):0}}% {{$item->vita(Session::get('year'))}} {{$item->jumlah_ibu_bersalin(Session::get('year')) > 0 ? number_format(($item->vita(Session::get('year'))/($item->jumlah_ibu_bersalin(Session::get('year'))))*100, '2'):0}}% lock_get(Session::get('year')) == 1 ? "checked":""}} {{$item->lock_get(Session::get('year')) == 2 ? "disabled":""}} class="data-lock" id="{{$item->id}}">user->downloadFile('IbuHamil', Session::get('year'))->status == 1 ? "checked":""}} class="data-lock-upload" id="{{$item->user->id}}">- @if($item->user->downloadFile('IbuHamil', Session::get('year'))->file_name != "-") Download pdf file @else - @endif -
{{$total_ibu_hamil}} {{$total_k1}} {{$total_ibu_hamil > 0?number_format($total_k1/$total_ibu_hamil * 100, 2):0}}% {{$total_k4}} {{$total_ibu_hamil > 0?number_format($total_k4/$total_ibu_hamil * 100, 2):0}}% {{$total_k6}} {{$total_ibu_hamil > 0?number_format($total_k6/$total_ibu_hamil * 100, 2):0}}% {{$total_ibu_bersalin}} {{$total_fasyankes}} {{$total_ibu_bersalin > 0?number_format($total_fasyankes/$total_ibu_bersalin * 100, 2):0}}% {{$total_kf1}} {{$total_ibu_bersalin > 0?number_format($total_kf1/$total_ibu_bersalin * 100, 2):0}}% {{$total_kf_lengkap}} {{$total_ibu_bersalin > 0?number_format($total_kf_lengkap/$total_ibu_bersalin * 100, 2):0}}% {{$total_vita}} {{$total_ibu_bersalin > 0?number_format($total_vita/$total_ibu_bersalin * 100, 2):0}}%
{{$key + 1}} {{$item->UnitKerja->kecamatan}} {{$item->nama}} filterDesa(Session::get('year'))->status == 1 || $item->filterDesa(Session::get('year'))->status == 2?"disabled":""}} name="k1" id="{{$item->filterDesa(Session::get('year'))->id}}" value="{{$item->filterDesa(Session::get('year'))->k1}}" class="form-control data-input" style="border: none"> {{$item->filterDesa(Session::get('year'))->jumlah_ibu_hamil > 0 ? number_format(($item->filterDesa(Session::get('year'))->k1/($item->filterDesa(Session::get('year'))->jumlah_ibu_hamil))*100, '2'):0}}% {{$item->filterDesa(Session::get('year'))->jumlah_ibu_hamil > 0 ? number_format(($item->filterSasaranTahunDesa(Session::get('year'))?$item->filterSasaranTahunDesa(Session::get('year'))->total_capaian():0/$item->filterDesa(Session::get('year'))->jumlah_ibu_hamil) * 10, '2'):0}}% filterDesa(Session::get('year'))->status == 1 || $item->filterDesa(Session::get('year'))->status == 2?"disabled":""}} name="k6" id="{{$item->filterDesa(Session::get('year'))->id}}" value="{{$item->filterDesa(Session::get('year'))->k6}}" class="form-control data-input" style="border: none"> {{$item->filterDesa(Session::get('year'))->jumlah_ibu_hamil > 0 ? number_format(($item->filterDesa(Session::get('year'))->k6/($item->filterDesa(Session::get('year'))->jumlah_ibu_hamil))*100, '2'):0}}% filterDesa(Session::get('year'))->status == 1 || $item->filterDesa(Session::get('year'))->status == 2?"disabled":""}} name="fasyankes" id="{{$item->filterDesa(Session::get('year'))->id}}" value="{{$item->filterDesa(Session::get('year'))->fasyankes}}" class="form-control data-input" style="border: none"> {{$item->filterDesa(Session::get('year'))->jumlah_ibu_bersalin > 0 ? number_format(($item->filterDesa(Session::get('year'))->fasyankes/($item->filterDesa(Session::get('year'))->jumlah_ibu_bersalin))*100, '2'):0}}% filterDesa(Session::get('year'))->status == 1 || $item->filterDesa(Session::get('year'))->status == 2?"disabled":""}} name="kf1" id="{{$item->filterDesa(Session::get('year'))->id}}" value="{{$item->filterDesa(Session::get('year'))->kf1}}" class="form-control data-input" style="border: none"> {{$item->filterDesa(Session::get('year'))->jumlah_ibu_bersalin > 0 ? number_format(($item->filterDesa(Session::get('year'))->kf1/($item->filterDesa(Session::get('year'))->jumlah_ibu_bersalin))*100, '2'):0}}% filterDesa(Session::get('year'))->status == 1 || $item->filterDesa(Session::get('year'))->status == 2?"disabled":""}} name="kf_lengkap" id="{{$item->filterDesa(Session::get('year'))->id}}" value="{{$item->filterDesa(Session::get('year'))->kf_lengkap}}" class="form-control data-input" style="border: none"> {{$item->filterDesa(Session::get('year'))->jumlah_ibu_bersalin > 0 ? number_format(($item->filterDesa(Session::get('year'))->kf_lengkap/($item->filterDesa(Session::get('year'))->jumlah_ibu_bersalin))*100, '2'):0}}% filterDesa(Session::get('year'))->status == 1 || $item->filterDesa(Session::get('year'))->status == 2?"disabled":""}} name="vita" id="{{$item->filterDesa(Session::get('year'))->id}}" value="{{$item->filterDesa(Session::get('year'))->vita}}" class="form-control data-input" style="border: none"> {{$item->filterDesa(Session::get('year'))->jumlah_ibu_bersalin > 0 ? number_format(($item->filterDesa(Session::get('year'))->vita/($item->filterDesa(Session::get('year'))->jumlah_ibu_bersalin))*100, '2'):0}}%
{{$total_ibu_hamil}} {{$total_k1}} {{$total_ibu_hamil > 0?number_format($total_k1/$total_ibu_hamil * 100, 2):0}}% {{$total_k4}} {{$total_ibu_hamil > 0?number_format($total_k4/$total_ibu_hamil * 100, 2):0}}% {{$total_k6}} {{$total_ibu_hamil > 0?number_format($total_k6/$total_ibu_hamil * 100, 2):0}}% {{$total_ibu_bersalin}} {{$total_fasyankes}} {{$total_ibu_bersalin > 0?number_format($total_fasyankes/$total_ibu_bersalin * 100, 2):0}}% {{$total_kf1}} {{$total_ibu_bersalin > 0?number_format($total_kf1/$total_ibu_bersalin * 100, 2):0}}% {{$total_kf_lengkap}} {{$total_ibu_bersalin > 0?number_format($total_kf_lengkap/$total_ibu_bersalin * 100, 2):0}}% {{$total_vita}} {{$total_ibu_bersalin > 0?number_format($total_vita/$total_ibu_bersalin * 100, 2):0}}%
@push('scripts') @endpush @push('scripts') @endpush @endsection