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

Diabetes

@if(Auth::user()->downloadFile('Diabetes', Session::get('year')))
@csrf downloadFile('Diabetes', Session::get('year'))->status == 1 ?"disabled":""}} class="form-control" placeholder="upload PDF file">
@else
@csrf
@endif @if(Auth::user()->hasFile('Diabetes', Session::get('year'))) 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('Diabetes', Session::get('year'))) @elseif(isset($item->user) && !$item->user->downloadFile('Diabetes', Session::get('year'))) @else @endif @if(isset($item->user) && $item->user->hasFile('Diabetes', Session::get('year'))) @else @endif @endforeach @endrole @role('Puskesmas|Pihak Wajib Pajak') @foreach ($desa as $key => $item) @if($item->filterDiabetes(Session::get('year'))) @endif @endforeach @endrole
No KecamatanPuskesmasDesaJumlah Penderita DM Penderita DM yang mendapatkan pelayanan sesuai standarLock data Lock Upload File Download Detail Desa
Jumlah %
{{$key + 1}} {{$item->kecamatan}} {{$item->nama}} {{$item->diabetes_per_desa(Session::get('year'))["jumlah"]}} {{$item->diabetes_per_desa(Session::get('year'))["pelayanan"]}} {{$item->diabetes_per_desa(Session::get('year'))["jumlah"] >0? number_format($item->diabetes_per_desa(Session::get('year'))["pelayanan"]/$item->diabetes_per_desa(Session::get('year'))["jumlah"] * 100, 2):0 }} diabetes_lock_get(Session::get('year')) == 1 ? "checked":""}} {{$item->diabetes_lock_get(Session::get('year')) == 2 ? "disabled":""}} class="data-lock" id="{{$item->id}}">user->downloadFile('Diabetes', Session::get('year'))->status == 1 ? "checked":""}} class="data-lock-upload" id="{{$item->user->id}}">- @if($item->user->downloadFile('Diabetes', Session::get('year'))->file_name != "-") Download pdf file @else - @endif -
{{$total_diabetes}} {{$total_pelayanan_diabetes}} {{$total_diabetes >0? number_format($total_pelayanan_diabetes/$total_diabetes * 100, 2):0 }}
{{$key + 1}} {{$item->UnitKerja->kecamatan}} {{$item->nama}} filterDiabetes(Session::get('year'))->status == 1 || $item->filterDiabetes(Session::get('year'))->status == 2?"disabled":""}} name="jumlah" id="{{$item->filterDiabetes(Session::get('year'))->id}}" value="{{$item->filterDiabetes(Session::get('year'))->jumlah}}" class="form-control data-input" style="border: none"> filterDiabetes(Session::get('year'))->status == 1 || $item->filterDiabetes(Session::get('year'))->status == 2?"disabled":""}} name="pelayanan" id="{{$item->filterDiabetes(Session::get('year'))->id}}" value="{{$item->filterDiabetes(Session::get('year'))->pelayanan}}" class="form-control data-input" style="border: none"> {{$item->filterDiabetes(Session::get('year'))->jumlah > 0 ? number_format($item->filterDiabetes(Session::get('year'))->pelayanan / $item->filterDiabetes(Session::get('year'))->jumlah * 100, 2): 0}}%
{{$total_diabetes}} {{$total_pelayanan_diabetes}} {{$total_diabetes >0? number_format($total_pelayanan_diabetes/$total_diabetes * 100, 2):0 }}
@push('scripts') @endpush @push('scripts') @endpush @endsection