@extends('layouts.app') @section('content')
No | Kecamatan | @role('Admin|superadmin')Puskesmas | @endrole @role('Puskesmas|Pihak Wajib Pajak')Desa | @endrolePelayanan Kesehatan Gigi dan Mulut | @role('Admin|superadmin')Lock data | Lock upload | File Download | Detail Desa | @endrole||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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}}"> | @if(isset($item->user) && $item->user->downloadFile('Gigi', Session::get('year')))user->downloadFile('Gigi', Session::get('year'))->status == 1 ? "checked":""}} class="data-lock-upload" id="{{$item->user->id}}"> | @elseif(isset($item->user) && !$item->user->downloadFile('Gigi', Session::get('year')))@else | - | @endif @if(isset($item->user) && $item->user->hasFile('Gigi', Session::get('year')))@if($item->user->downloadFile('Gigi', Session::get('year'))->file_name != "-") Download pdf file @else - @endif | @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}} |