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

{{$title}}

@if(Auth::user()->downloadFile('Gigi', Session::get('year')))
@csrf downloadFile('Gigi', Session::get('year'))->status == 1 ?"disabled":""}} class="form-control" placeholder="upload PDF file">
@else
@csrf
@endif @if(Auth::user()->hasFile('Gigi', Session::get('year')) && Auth::user()->downloadFile('Gigi', 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('Gigi', Session::get('year'))) @elseif(isset($item->user) && !$item->user->downloadFile('Gigi', Session::get('year'))) @else @endif @if(isset($item->user) && $item->user->hasFile('Gigi', Session::get('year'))) @else @endif @endforeach @endrole @role('Puskesmas|Pihak Wajib Pajak') @foreach ($desa as $key => $item) @if($item->filterGigi(Session::get('year'))) @php $filterResult = $item->filterGigi(Session::get('year')); $isDisabled = $filterResult->status == 1 || $filterResult->status == 2 ? "disabled" : ""; @endphp @endif @endforeach @endrole
No KecamatanPuskesmasDesaPelayanan Kesehatan Gigi dan MulutLock data Lock upload File Download Detail Desa
Tumpatan Gigi Tetap Pencabutan Gigi Tetap Jumlah Kunjungan Rasio Tumpatan/Pencabutan Jumlah Kasus Gigi Jumlah Kasus Dirujuk % Kasus Dirujuk
{{$key + 1}} {{$item->kecamatan}} {{$item->nama}} {{$item->unitKerjaAmbil('filterGigi', Session::get('year'), 'tumpatan')["total"]}} {{$item->unitKerjaAmbil('filterGigi', Session::get('year'), 'pencabutan')["total"]}} {{$item->unitKerjaAmbil('filterGigi', Session::get('year'), 'kunjungan')["total"]}} {{$item->unitKerjaAmbil('filterGigi', Session::get('year'), 'pencabutan')["total"] > 0? number_format($item->unitKerjaAmbil('filterGigi', Session::get('year'), 'tumpatan')["total"] /$item->unitKerjaAmbil('filterGigi', Session::get('year'), 'pencabutan')["total"] * 100, 2 ):0}} {{$item->unitKerjaAmbil('filterGigi', Session::get('year'), 'kasus')["total"]}} {{$item->unitKerjaAmbil('filterGigi', Session::get('year'), 'rujukan')["total"]}} {{$item->unitKerjaAmbil('filterGigi', Session::get('year'), 'kasus')["total"] > 0? number_format($item->unitKerjaAmbil('filterGigi', Session::get('year'), 'rujukan')["total"] /$item->unitKerjaAmbil('filterGigi', Session::get('year'), 'kasus')["total"] * 100, 2 ):0}} general_lock_get(Session::get('year'), 'filterGigi') == 1 ? "checked":""}} class="data-lock" id="{{$item->id}}">user->downloadFile('Gigi', Session::get('year'))->status == 1 ? "checked":""}} class="data-lock-upload" id="{{$item->user->id}}">- @if($item->user->downloadFile('Gigi', Session::get('year'))->file_name != "-") Download pdf file @else - @endif -
{{$key + 1}} {{$item->UnitKerja->kecamatan}} {{$item->nama}} {{$item->filterGigi(Session::get('year'))->pencabutan>0? number_format($item->filterGigi(Session::get('year'))->tumpatan /$item->filterGigi(Session::get('year'))->pencabutan * 100, 2):0}} {{$item->filterGigi(Session::get('year'))->kasus>0? number_format($item->filterGigi(Session::get('year'))->rujukan /$item->filterGigi(Session::get('year'))->kasus * 100, 2):0}}
@push('scripts') @endpush @push('scripts') @endpush @endsection