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

{{$title}}

@if(Auth::user()->downloadFile('PelayananBalita', Session::get('year')))
@csrf downloadFile('PelayananBalita', Session::get('year'))->status == 1 ?"disabled":""}} class="form-control" placeholder="upload PDF file">
@else
@csrf
@endif @if(Auth::user()->hasFile('PelayananBalita', Session::get('year')) && Auth::user()->downloadFile('PelayananBalita', 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('PelayananBalita', Session::get('year'))) @elseif(isset($item->user) && !$item->user->downloadFile('PelayananBalita', Session::get('year'))) @else @endif @if(isset($item->user) && $item->user->hasFile('PelayananBalita', Session::get('year'))) @else @endif @endforeach @endrole @role('Puskesmas|Pihak Wajib Pajak') @foreach ($desa as $key => $item) @if($item->filterPelayananBalita(Session::get('year'))) @php $filterResult = $item->filterPelayananBalita(Session::get('year')); $isDisabled = $filterResult->status == 1 || $filterResult->status == 2 ? "disabled" : ""; @endphp @endif @endforeach @endrole
No KecamatanPuskesmasDesaJumlah Bayi Pelayanan Kesehatan BayiLock data Lock upload File Download Detail Desa
L P L + P
L P L + P jumlah % jumlah % jumlah %
{{$key + 1}} {{$item->kecamatan}} {{$item->nama}} {{$item->unitKerjaAmbil('filterKelahiran', Session::get('year'), 'lahir_hidup_L')["total"]}} {{$item->unitKerjaAmbil('filterKelahiran', Session::get('year'), 'lahir_hidup_P')["total"]}} {{$item->unitKerjaAmbil('filterKelahiran', Session::get('year'), 'lahir_hidup_P')["total"] + $item->unitKerjaAmbil('filterKelahiran', Session::get('year'), 'lahir_hidup_L')["total"]}} {{$item->unitKerjaAmbil('filterPelayananBalita', Session::get('year'), 'jumlah_L')["total"]}} {{$item->unitKerjaAmbil('filterKelahiran', Session::get('year'), 'lahir_hidup_L')["total"] > 0? number_format($item->unitKerjaAmbil('filterPelayananBalita', Session::get('year'), 'jumlah_L')["total"] /$item->unitKerjaAmbil('filterKelahiran', Session::get('year'), 'lahir_hidup_L')["total"] * 100, 2 ):0}} {{$item->unitKerjaAmbil('filterPelayananBalita', Session::get('year'), 'jumlah_P')["total"]}} {{$item->unitKerjaAmbil('filterKelahiran', Session::get('year'), 'lahir_hidup_P')["total"] > 0? number_format($item->unitKerjaAmbil('filterPelayananBalita', Session::get('year'), 'jumlah_P')["total"] /$item->unitKerjaAmbil('filterKelahiran', Session::get('year'), 'lahir_hidup_P')["total"] * 100, 2 ):0}} {{$item->unitKerjaAmbil('filterPelayananBalita', Session::get('year'), 'jumlah_P')["total"] + $item->unitKerjaAmbil('filterPelayananBalita', Session::get('year'), 'jumlah_L')["total"] }} {{$item->unitKerjaAmbil('filterKelahiran', Session::get('year'), 'lahir_hidup_P')["total"] + $item->unitKerjaAmbil('filterKelahiran', Session::get('year'), 'lahir_hidup_L')["total"] > 0? number_format(($item->unitKerjaAmbil('filterPelayananBalita', Session::get('year'), 'jumlah_P')["total"] + $item->unitKerjaAmbil('filterPelayananBalita', Session::get('year'), 'jumlah_L')["total"]) /($item->unitKerjaAmbil('filterKelahiran', Session::get('year'), 'lahir_hidup_P')["total"] + $item->unitKerjaAmbil('filterKelahiran', Session::get('year'), 'lahir_hidup_L')["total"]) * 100, 2 ):0}} general_lock_get(Session::get('year'), 'filterPelayananBalita') == 1 ? "checked":""}} {{$item->general_lock_get(Session::get('year'), 'filterPelayananBalita') == 2 ? "disabled":""}} class="data-lock" id="{{$item->id}}">user->downloadFile('PelayananBalita', Session::get('year'))->status == 1 ? "checked":""}} class="data-lock-upload" id="{{$item->user->id}}">- @if($item->user->downloadFile('PelayananBalita', Session::get('year'))->file_name != "-") Download pdf file @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->filterKelahiran(Session::get('year'))->lahir_hidup_P + $item->filterKelahiran(Session::get('year'))->lahir_hidup_L}} {{$item->filterKelahiran(Session::get('year'))->lahir_hidup_L>0? number_format($item->filterPelayananBalita(Session::get('year'))->jumlah_L /$item->filterKelahiran(Session::get('year'))->lahir_hidup_L * 100, 2):0}} {{$item->filterKelahiran(Session::get('year'))->lahir_hidup_P>0? number_format($item->filterPelayananBalita(Session::get('year'))->jumlah_P /$item->filterKelahiran(Session::get('year'))->lahir_hidup_P * 100, 2):0}} {{$item->filterPelayananBalita(Session::get('year'))->jumlah_P + $item->filterPelayananBalita(Session::get('year'))->jumlah_L}} {{$item->filterKelahiran(Session::get('year'))->lahir_hidup_P + $item->filterKelahiran(Session::get('year'))->lahir_hidup_L>0? number_format( ($item->filterPelayananBalita(Session::get('year'))->jumlah_P + $item->filterPelayananBalita(Session::get('year'))->jumlah_L)/ ($item->filterKelahiran(Session::get('year'))->lahir_hidup_P + $item->filterKelahiran(Session::get('year'))->lahir_hidup_L) * 100, 2):0}}
@push('scripts') @endpush @push('scripts') @endpush @endsection