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

{{$title}}

@if(Auth::user()->downloadFile('KbBersalin', Session::get('year')))
@csrf downloadFile('KbBersalin', Session::get('year'))->status == 1 ?"disabled":""}} class="form-control" placeholder="upload PDF file">
@else
@csrf
@endif @if(Auth::user()->hasFile('KbBersalin', Session::get('year')) && Auth::user()->downloadFile('KbBersalin', 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('KbBersalin', Session::get('year'))) @elseif(isset($item->user) && !$item->user->downloadFile('KbBersalin', Session::get('year'))) @else @endif @if(isset($item->user) && $item->user->hasFile('KbBersalin', Session::get('year'))) @else @endif @endforeach @endrole @role('Puskesmas|Pihak Wajib Pajak') @foreach ($desa as $key => $item) @if($item->filterDesa(Session::get('year'))) @php $filterResult = $item->filterDesa(Session::get('year')); $isDisabled = $filterResult->status == 1 || $filterResult->status == 2 ? "disabled" : ""; @endphp @endif @endforeach @endrole
No KecamatanPuskesmasDesaJumlah Ibu Bersalin Peserta Aktif KB ModernLock data Lock upload File Download Detail Desa
Kondom % Suntik         % Pil            % Akdr            % MOP            % MOW            % Implan            % MAL            % Jumlah %
{{$key + 1}} {{$item->kecamatan}} {{$item->nama}} {{$item->ibu_hamil_per_desa(Session::get('year'))["jumlah_ibu_bersalin"]}} {{$item->ibu_hamil_per_desa(Session::get('year'))["kondom"]}} {{$item->ibu_hamil_per_desa(Session::get('year'))["jumlah_ibu_bersalin"]>0?number_format($item->ibu_hamil_per_desa(Session::get('year'))["kondom"]/$item->ibu_hamil_per_desa(Session::get('year'))["jumlah_ibu_bersalin"] * 100, 2):0 }} {{$item->ibu_hamil_per_desa(Session::get('year'))["suntik"]}} {{$item->ibu_hamil_per_desa(Session::get('year'))["jumlah_ibu_bersalin"]>0?number_format($item->ibu_hamil_per_desa(Session::get('year'))["suntik"]/$item->ibu_hamil_per_desa(Session::get('year'))["jumlah_ibu_bersalin"] * 100, 2):0 }} {{$item->ibu_hamil_per_desa(Session::get('year'))["pil"]}} {{$item->ibu_hamil_per_desa(Session::get('year'))["jumlah_ibu_bersalin"]>0?number_format($item->ibu_hamil_per_desa(Session::get('year'))["pil"]/$item->ibu_hamil_per_desa(Session::get('year'))["jumlah_ibu_bersalin"] * 100, 2):0 }} {{$item->ibu_hamil_per_desa(Session::get('year'))["akdr"]}} {{$item->ibu_hamil_per_desa(Session::get('year'))["jumlah_ibu_bersalin"]>0?number_format($item->ibu_hamil_per_desa(Session::get('year'))["akdr"]/$item->ibu_hamil_per_desa(Session::get('year'))["jumlah_ibu_bersalin"] * 100, 2):0 }} {{$item->ibu_hamil_per_desa(Session::get('year'))["mop"]}} {{$item->ibu_hamil_per_desa(Session::get('year'))["jumlah_ibu_bersalin"]>0?number_format($item->ibu_hamil_per_desa(Session::get('year'))["mop"]/$item->ibu_hamil_per_desa(Session::get('year'))["jumlah_ibu_bersalin"] * 100, 2):0 }} {{$item->ibu_hamil_per_desa(Session::get('year'))["mow"]}} {{$item->ibu_hamil_per_desa(Session::get('year'))["jumlah_ibu_bersalin"]>0?number_format($item->ibu_hamil_per_desa(Session::get('year'))["mow"]/$item->ibu_hamil_per_desa(Session::get('year'))["jumlah_ibu_bersalin"] * 100, 2):0 }} {{$item->ibu_hamil_per_desa(Session::get('year'))["implan"]}} {{$item->ibu_hamil_per_desa(Session::get('year'))["jumlah_ibu_bersalin"]>0?number_format($item->ibu_hamil_per_desa(Session::get('year'))["implan"]/$item->ibu_hamil_per_desa(Session::get('year'))["jumlah_ibu_bersalin"] * 100, 2):0 }} {{$item->ibu_hamil_per_desa(Session::get('year'))["mal"]}} {{$item->ibu_hamil_per_desa(Session::get('year'))["jumlah_ibu_bersalin"]>0?number_format($item->ibu_hamil_per_desa(Session::get('year'))["mal"]/$item->ibu_hamil_per_desa(Session::get('year'))["jumlah_ibu_bersalin"] * 100, 2):0 }} {{$item->ibu_hamil_per_desa(Session::get('year'))["mal"] + $item->ibu_hamil_per_desa(Session::get('year'))["implan"] + $item->ibu_hamil_per_desa(Session::get('year'))["mow"] + $item->ibu_hamil_per_desa(Session::get('year'))["mop"] + $item->ibu_hamil_per_desa(Session::get('year'))["pil"] + $item->ibu_hamil_per_desa(Session::get('year'))["akdr"] + $item->ibu_hamil_per_desa(Session::get('year'))["suntik"] + $item->ibu_hamil_per_desa(Session::get('year'))["kondom"] }} {{$item->ibu_hamil_per_desa(Session::get('year'))["jumlah_ibu_bersalin"]>0?number_format((($item->ibu_hamil_per_desa(Session::get('year'))["mal"] + $item->ibu_hamil_per_desa(Session::get('year'))["implan"] + $item->ibu_hamil_per_desa(Session::get('year'))["mow"] + $item->ibu_hamil_per_desa(Session::get('year'))["mop"] + $item->ibu_hamil_per_desa(Session::get('year'))["pil"] + $item->ibu_hamil_per_desa(Session::get('year'))["akdr"] + $item->ibu_hamil_per_desa(Session::get('year'))["suntik"] + $item->ibu_hamil_per_desa(Session::get('year'))["kondom"])/$item->ibu_hamil_per_desa(Session::get('year'))["jumlah_ibu_bersalin"]) * 100, 2):0 }} general_lock_get(Session::get('year'), 'filterDesa') == 1 ? "checked":""}} class="data-lock" id="{{$item->id}}">user->downloadFile('KbBersalin', Session::get('year'))->status == 1 ? "checked":""}} class="data-lock-upload" id="{{$item->user->id}}">- @if($item->user->downloadFile('KbBersalin', Session::get('year'))->file_name != "-") Download pdf file @else - @endif -
{{$key + 1}} {{$item->UnitKerja->kecamatan}} {{$item->nama}} {{$item->filterDesa(Session::get('year'))->jumlah_ibu_bersalin}} {{$item->filterDesa(Session::get('year'))->jumlah_ibu_bersalin>0?number_format($item->filterDesa(Session::get('year'))->kondom/$item->filterDesa(Session::get('year'))->jumlah_ibu_bersalin * 100, 2):0}} {{$item->filterDesa(Session::get('year'))->jumlah_ibu_bersalin>0?number_format($item->filterDesa(Session::get('year'))->suntik/$item->filterDesa(Session::get('year'))->jumlah_ibu_bersalin * 100, 2):0}} {{$item->filterDesa(Session::get('year'))->jumlah_ibu_bersalin>0?number_format($item->filterDesa(Session::get('year'))->pil/$item->filterDesa(Session::get('year'))->jumlah_ibu_bersalin * 100, 2):0}} {{$item->filterDesa(Session::get('year'))->jumlah_ibu_bersalin>0?number_format($item->filterDesa(Session::get('year'))->akdr/$item->filterDesa(Session::get('year'))->jumlah_ibu_bersalin * 100, 2):0}} {{$item->filterDesa(Session::get('year'))->jumlah_ibu_bersalin>0?number_format($item->filterDesa(Session::get('year'))->mop/$item->filterDesa(Session::get('year'))->jumlah_ibu_bersalin * 100, 2):0}} {{$item->filterDesa(Session::get('year'))->jumlah_ibu_bersalin>0?number_format($item->filterDesa(Session::get('year'))->mow/$item->filterDesa(Session::get('year'))->jumlah_ibu_bersalin * 100, 2):0}} {{$item->filterDesa(Session::get('year'))->jumlah_ibu_bersalin>0?number_format($item->filterDesa(Session::get('year'))->implan/$item->filterDesa(Session::get('year'))->jumlah_ibu_bersalin * 100, 2):0}} {{$item->filterDesa(Session::get('year'))->jumlah_ibu_bersalin>0?number_format($item->filterDesa(Session::get('year'))->mal/$item->filterDesa(Session::get('year'))->jumlah_ibu_bersalin * 100, 2):0}} {{ $item->filterDesa(Session::get('year'))->mal + $item->filterDesa(Session::get('year'))->implan + $item->filterDesa(Session::get('year'))->mow + $item->filterDesa(Session::get('year'))->mop + $item->filterDesa(Session::get('year'))->pil + $item->filterDesa(Session::get('year'))->akdr + $item->filterDesa(Session::get('year'))->suntik + $item->filterDesa(Session::get('year'))->kondom}} {{ $item->filterDesa(Session::get('year'))->jumlah_ibu_bersalin>0?number_format( (($item->filterDesa(Session::get('year'))->mal + $item->filterDesa(Session::get('year'))->implan + $item->filterDesa(Session::get('year'))->mow + $item->filterDesa(Session::get('year'))->mop + $item->filterDesa(Session::get('year'))->pil + $item->filterDesa(Session::get('year'))->akdr + $item->filterDesa(Session::get('year'))->suntik + $item->filterDesa(Session::get('year'))->kondom)/$item->filterDesa(Session::get('year'))->jumlah_ibu_bersalin) * 100, 2):0}}
@push('scripts') @endpush @push('scripts') @endpush @endsection