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

{{$title}}

@if(Auth::user()->downloadFile('WusHamil', Session::get('year')))
@csrf downloadFile('WusHamil', Session::get('year'))->status == 1 ?"disabled":""}} class="form-control" placeholder="upload PDF file">
@else
@csrf
@endif @if(Auth::user()->hasFile('WusHamil', Session::get('year')) && Auth::user()->downloadFile('WusHamil', 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('WusHamil', Session::get('year'))) @elseif(isset($item->user) && !$item->user->downloadFile('WusHamil', Session::get('year'))) @else @endif @if(isset($item->user) && $item->user->hasFile('WusHamil', Session::get('year'))) @else @endif @endforeach @endrole @role('Puskesmas|Pihak Wajib Pajak') @foreach ($desa as $key => $item) @if($item->filterWus(Session::get('year'), 1)) @php $filterResult = $item->filterWus(Session::get('year'), 1); $isDisabled = $filterResult->status == 1 || $filterResult->status == 2 ? "disabled" : ""; @endphp @endif @endforeach @endrole
No KecamatanPuskesmasDesaJumlah Wus (15-39 Tahun) Imunisasi Td Pada WUS Tidak HamilLock data Lock upload File Download Detail Desa
Td1 Td2 Td3 Td4 Td5
Jumlah % Jumlah % Jumlah % Jumlah % Jumlah %
{{$key + 1}} {{$item->kecamatan}} {{$item->nama}} {{$item->wus_hamil_per_desa(Session::get('year'))["jumlah"]}} {{$item->wus_hamil_per_desa(Session::get('year'))["td1"]}} {{$item->wus_hamil_per_desa(Session::get('year'))["jumlah"]>0?number_format($item->wus_hamil_per_desa(Session::get('year'))["td1"]/$item->wus_hamil_per_desa(Session::get('year'))["jumlah"] * 100, 2):0 }} {{$item->wus_hamil_per_desa(Session::get('year'))["td2"]}} {{$item->wus_hamil_per_desa(Session::get('year'))["jumlah"]>0?number_format($item->wus_hamil_per_desa(Session::get('year'))["td2"]/$item->wus_hamil_per_desa(Session::get('year'))["jumlah"] * 100, 2):0 }} {{$item->wus_hamil_per_desa(Session::get('year'))["td3"]}} {{$item->wus_hamil_per_desa(Session::get('year'))["jumlah"]>0?number_format($item->wus_hamil_per_desa(Session::get('year'))["td3"]/$item->wus_hamil_per_desa(Session::get('year'))["jumlah"] * 100, 2):0 }} {{$item->wus_hamil_per_desa(Session::get('year'))["td4"]}} {{$item->wus_hamil_per_desa(Session::get('year'))["jumlah"]>0?number_format($item->wus_hamil_per_desa(Session::get('year'))["td4"]/$item->wus_hamil_per_desa(Session::get('year'))["jumlah"] * 100, 2):0 }} {{$item->wus_hamil_per_desa(Session::get('year'))["td5"]}} {{$item->wus_hamil_per_desa(Session::get('year'))["jumlah"]>0?number_format($item->wus_hamil_per_desa(Session::get('year'))["td5"]/$item->wus_hamil_per_desa(Session::get('year'))["jumlah"] * 100, 2):0 }} wus_hamil_lock_get(Session::get('year')) == 1 ? "checked":""}} class="data-lock" id="{{$item->id}}">user->downloadFile('WusHamil', Session::get('year'))->status == 1 ? "checked":""}} class="data-lock-upload" id="{{$item->user->id}}">- @if($item->user->downloadFile('WusHamil', Session::get('year'))->file_name != "-") Download pdf file @else - @endif -
{{$key + 1}} {{$item->UnitKerja->kecamatan}} {{$item->nama}} {{$item->filterWus(Session::get('year'), 1)->jumlah>0?number_format($item->filterWus(Session::get('year'), 1)->td1/$item->filterWus(Session::get('year'), 1)->jumlah * 100, 2):0}} {{$item->filterWus(Session::get('year'), 1)->jumlah>0?number_format($item->filterWus(Session::get('year'), 1)->td2/$item->filterWus(Session::get('year'), 1)->jumlah * 100, 2):0}} {{$item->filterWus(Session::get('year'), 1)->jumlah>0?number_format($item->filterWus(Session::get('year'), 1)->td3/$item->filterWus(Session::get('year'), 1)->jumlah * 100, 2):0}} {{$item->filterWus(Session::get('year'), 1)->jumlah>0?number_format($item->filterWus(Session::get('year'), 1)->td4/$item->filterWus(Session::get('year'), 1)->jumlah * 100, 2):0}} {{$item->filterWus(Session::get('year'), 1)->jumlah>0?number_format($item->filterWus(Session::get('year'), 1)->td5/$item->filterWus(Session::get('year'), 1)->jumlah * 100, 2):0}}
@push('scripts') @endpush @push('scripts') @endpush @endsection