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

{{$title}}

@if(Auth::user()->downloadFile('Pus4T', Session::get('year')))
@csrf downloadFile('Pus4T', Session::get('year'))->status == 1 ?"disabled":""}} class="form-control" placeholder="upload PDF file">
@else
@csrf
@endif @if(Auth::user()->hasFile('Pus4T', Session::get('year')) && Auth::user()->downloadFile('Pus4T', 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('Pus4T', Session::get('year'))) @elseif(isset($item->user) && !$item->user->downloadFile('Pus4T', Session::get('year'))) @else @endif @if(isset($item->user) && $item->user->hasFile('Pus4T', Session::get('year'))) @else @endif @endforeach @endrole @role('Puskesmas|Pihak Wajib Pajak') @foreach ($desa as $key => $item) @if($item->filterPenyebabKematianIbu(Session::get('year'))) @php $filterResult = $item->filterPus(Session::get('year')); $isDisabled = $filterResult->status == 1 || $filterResult->status == 2 ? "disabled" : ""; @endphp @endif @endforeach @endrole
No KecamatanPuskesmasDesaJumlah Pus Pus 4T % Pus 4T pada KB Aktif % Pus Alki % Pus Alki pada KB Aktif %Lock data Lock upload File Download Detail Desa
{{$key + 1}} {{$item->kecamatan}} {{$item->nama}} {{$item->pus_per_desa(Session::get('year'))["jumlah"]}} {{$item->pus_per_desa(Session::get('year'))["pus_4_t"]}} {{$item->pus_per_desa(Session::get('year'))["jumlah"]>0?number_format($item->pus_per_desa(Session::get('year'))["pus_4_t"]/$item->pus_per_desa(Session::get('year'))["jumlah"] * 100, 2):0 }} {{$item->pus_per_desa(Session::get('year'))["pus_4_t_kb"]}} {{$item->pus_per_desa(Session::get('year'))["jumlah"]>0?number_format($item->pus_per_desa(Session::get('year'))["pus_4_t_kb"]/$item->pus_per_desa(Session::get('year'))["jumlah"] * 100, 2):0 }} {{$item->pus_per_desa(Session::get('year'))["pus_alki"]}} {{$item->pus_per_desa(Session::get('year'))["jumlah"]>0?number_format($item->pus_per_desa(Session::get('year'))["pus_alki"]/$item->pus_per_desa(Session::get('year'))["jumlah"] * 100, 2):0 }} {{$item->pus_per_desa(Session::get('year'))["pus_alki_kb"]}} {{$item->pus_per_desa(Session::get('year'))["jumlah"]>0?number_format($item->pus_per_desa(Session::get('year'))["pus_alki_kb"]/$item->pus_per_desa(Session::get('year'))["jumlah"] * 100, 2):0 }} general_lock_get(Session::get('year'), 'filterPus') == 1 ? "checked":""}} class="data-lock" id="{{$item->id}}">user->downloadFile('Pus4T', Session::get('year'))->status == 1 ? "checked":""}} class="data-lock-upload" id="{{$item->user->id}}">- @if($item->user->downloadFile('Pus4T', Session::get('year'))->file_name != "-") Download pdf file @else - @endif -
{{$key + 1}} {{$item->UnitKerja->kecamatan}} {{$item->nama}} {{$item->filterPus(Session::get('year'))->jumlah}} {{$item->filterPus(Session::get('year'))->jumlah>0?number_format($item->filterPus(Session::get('year'))->pus_4_t/$item->filterPus(Session::get('year'))->jumlah * 100, 2):0}} {{$item->filterPus(Session::get('year'))->jumlah>0?number_format($item->filterPus(Session::get('year'))->pus_4_t_kb/$item->filterPus(Session::get('year'))->jumlah * 100, 2):0}} {{$item->filterPus(Session::get('year'))->jumlah>0?number_format($item->filterPus(Session::get('year'))->pus_alki/$item->filterPus(Session::get('year'))->jumlah * 100, 2):0}} {{$item->filterPus(Session::get('year'))->jumlah>0?number_format($item->filterPus(Session::get('year'))->pus_alki_kb/$item->filterPus(Session::get('year'))->jumlah * 100, 2):0}}
@push('scripts') @endpush @push('scripts') @endpush @endsection