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