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

{{$title}}

@if(Auth::user()->downloadFile('GigiAnak', Session::get('year')))
@csrf downloadFile('GigiAnak', Session::get('year'))->status == 1 ?"disabled":""}} class="form-control" placeholder="upload PDF file">
@else
@csrf
@endif @if(Auth::user()->hasFile('GigiAnak', Session::get('year')) && Auth::user()->downloadFile('GigiAnak', 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('GigiAnak', Session::get('year'))) @elseif(isset($item->user) && !$item->user->downloadFile('GigiAnak', Session::get('year'))) @else @endif @if(isset($item->user) && $item->user->hasFile('GigiAnak', Session::get('year'))) @else @endif @endforeach @endrole @role('Puskesmas|Pihak Wajib Pajak') @foreach ($desa as $key => $item) @if($item->filterGigiAnak(Session::get('year'))) @php $filterResult = $item->filterGigiAnak(Session::get('year')); $isDisabled = $filterResult->status == 1 || $filterResult->status == 2 ? "disabled" : ""; @endphp @endif @endforeach @endrole
No KecamatanPuskesmasDesaUsaha Kesehatan Gigi Sekolah (UKGS)Lock data Lock upload File Download Detail Desa
Jumlah SD/MI Jumlah SD/MI dengan Sikat Gigi Massal % Jumlah SD/MI mendapat Yan. Gigi % Jumlah Murid SD/MI Murid SD/MI Diperiksa Murid SD/MI Perlu Perawatan Murid SD/MI Mendapat Perawatan
L P L+P L % P % L+P % L P L+P L % P % L+P %
{{$key + 1}} {{$item->kecamatan}} {{$item->nama}} {{$item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'jumlah_sd')["total"]}} {{$item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'jumlah_sikat')["total"]}} {{$item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'jumlah_sd')["total"] > 0? number_format($item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'jumlah_sikat')["total"] /$item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'jumlah_sd')["total"] * 100, 2 ):0}} {{$item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'jumlah_yan')["total"]}} {{$item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'jumlah_sd')["total"] > 0? number_format($item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'jumlah_yan')["total"] /$item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'jumlah_sd')["total"] * 100, 2 ):0}} {{$item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'sd_L')["total"]}} {{$item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'sd_P')["total"]}} {{$item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'sd_P')["total"] + $item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'sd_L')["total"]}} {{$item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'diperiksa_L')["total"]}} {{$item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'sd_L')["total"] > 0? number_format($item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'diperiksa_L')["total"] /$item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'sd_L')["total"] * 100, 2 ):0}} {{$item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'diperiksa_P')["total"]}} {{$item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'sd_P')["total"] > 0? number_format($item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'diperiksa_P')["total"] /$item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'sd_P')["total"] * 100, 2 ):0}} {{$item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'diperiksa_P')["total"] + $item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'diperiksa_L')["total"]}} {{$item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'sd_P')["total"] + $item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'sd_L')["total"]> 0? number_format(($item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'diperiksa_L')["total"] + $item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'diperiksa_P')["total"]) /($item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'sd_L')["total"] + $item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'sd_P')["total"]) * 100, 2 ):0}} {{$item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'rawat_L')["total"]}} {{$item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'rawat_P')["total"]}} {{$item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'rawat_P')["total"] + $item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'rawat_L')["total"]}} {{$item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'dapat_L')["total"]}} {{$item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'rawat_L')["total"] > 0? number_format($item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'dapat_L')["total"] /$item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'rawat_L')["total"] * 100, 2 ):0}} {{$item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'dapat_P')["total"]}} {{$item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'rawat_P')["total"] > 0? number_format($item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'dapat_P')["total"] /$item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'rawat_P')["total"] * 100, 2 ):0}} {{$item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'dapat_P')["total"] + $item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'dapat_L')["total"]}} {{$item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'rawat_P')["total"] + $item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'rawat_L')["total"]> 0? number_format(($item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'dapat_L')["total"] + $item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'dapat_P')["total"]) /($item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'rawat_L')["total"] + $item->unitKerjaAmbil('filterGigiAnak', Session::get('year'), 'rawat_P')["total"]) * 100, 2 ):0}} general_lock_get(Session::get('year'), 'filterGigiAnak') == 1 ? "checked":""}} class="data-lock" id="{{$item->id}}">user->downloadFile('GigiAnak', Session::get('year'))->status == 1 ? "checked":""}} class="data-lock-upload" id="{{$item->user->id}}">- @if($item->user->downloadFile('GigiAnak', Session::get('year'))->file_name != "-") Download pdf file @else - @endif -
{{$key + 1}} {{$item->UnitKerja->kecamatan}} {{$item->nama}} {{$item->filterGigiAnak(Session::get('year'))->jumlah_sd>0? number_format($item->filterGigiAnak(Session::get('year'))->jumlah_sikat /$item->filterGigiAnak(Session::get('year'))->jumlah_sd * 100, 2):0}} {{$item->filterGigiAnak(Session::get('year'))->jumlah_sd>0? number_format($item->filterGigiAnak(Session::get('year'))->jumlah_yan /$item->filterGigiAnak(Session::get('year'))->jumlah_sd * 100, 2):0}} {{$item->filterGigiAnak(Session::get('year'))->sd_L + $item->filterGigiAnak(Session::get('year'))->sd_P}} {{$item->filterGigiAnak(Session::get('year'))->sd_L>0? number_format($item->filterGigiAnak(Session::get('year'))->diperiksa_L /$item->filterGigiAnak(Session::get('year'))->sd_L * 100, 2):0}} {{$item->filterGigiAnak(Session::get('year'))->sd_P>0? number_format($item->filterGigiAnak(Session::get('year'))->diperiksa_P /$item->filterGigiAnak(Session::get('year'))->sd_P * 100, 2):0}} {{$item->filterGigiAnak(Session::get('year'))->diperiksa_L + $item->filterGigiAnak(Session::get('year'))->diperiksa_P}} {{$item->filterGigiAnak(Session::get('year'))->sd_P + $item->filterGigiAnak(Session::get('year'))->sd_L>0? number_format(( $item->filterGigiAnak(Session::get('year'))->diperiksa_L + $item->filterGigiAnak(Session::get('year'))->diperiksa_P) /($item->filterGigiAnak(Session::get('year'))->sd_L + $item->filterGigiAnak(Session::get('year'))->sd_P) * 100, 2):0}} {{$item->filterGigiAnak(Session::get('year'))->rawat_L + $item->filterGigiAnak(Session::get('year'))->rawat_P}} {{$item->filterGigiAnak(Session::get('year'))->rawat_L>0? number_format($item->filterGigiAnak(Session::get('year'))->dapat_L /$item->filterGigiAnak(Session::get('year'))->rawat_L * 100, 2):0}} {{$item->filterGigiAnak(Session::get('year'))->rawat_P>0? number_format($item->filterGigiAnak(Session::get('year'))->dapat_P /$item->filterGigiAnak(Session::get('year'))->rawat_P * 100, 2):0}} {{$item->filterGigiAnak(Session::get('year'))->dapat_L + $item->filterGigiAnak(Session::get('year'))->dapat_P}} {{$item->filterGigiAnak(Session::get('year'))->rawat_P + $item->filterGigiAnak(Session::get('year'))->rawat_L>0? number_format(( $item->filterGigiAnak(Session::get('year'))->dapat_L + $item->filterGigiAnak(Session::get('year'))->dapat_P) /($item->filterGigiAnak(Session::get('year'))->rawat_L + $item->filterGigiAnak(Session::get('year'))->rawat_P) * 100, 2):0}}
@push('scripts') @endpush @push('scripts') @endpush @endsection