@extends('layouts.app') @section('content')
No | Kecamatan | @role('Admin|superadmin')Puskesmas | @endrole @role('Puskesmas|Pihak Wajib Pajak')Desa | @endroleKLB DI DESA/KELURAHAN | @role('Admin|superadmin')Lock data | Lock upload | File Download | Detail Desa | @endrole||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
JUMLAH | DITANGANI < 24 JAM | % | ||||||||||
{{ $key + 1 }} | {{ $item->kecamatan }} | {{ $item->nama }} | @php $jumlah = $item->unitKerjaAmbilPart2('filterTable70', Session::get('year'), 'jumlah')['total']; $GrandJumlah += $jumlah; echo $jumlah; @endphp | @php $ditangani_24 = $item->unitKerjaAmbilPart2('filterTable70', Session::get('year'), 'ditangani_24')['total']; $Grandditangani_24 += $ditangani_24; echo $ditangani_24; @endphp | {{$ditangani_24 > 0 && $jumlah > 0? number_format(($ditangani_24 / $jumlah) * 100, 2) . '%' : 0}} | general_lock_get2(Session::get('year'), 'filterTable70') == 1 ? "checked":""}} {{$item->general_lock_get2(Session::get('year'), 'filterTable70') == 2 ? "disabled":""}} class="data-lock" id="{{$item->id}}"> | @if(isset($item->user) && $item->user->downloadFile('Table70', Session::get('year')))user->downloadFile('Table70', Session::get('year'))->status == 1 ? "checked":""}} class="data-lock-upload" id="{{$item->user->id}}"> | @elseif(isset($item->user) && !$item->user->downloadFile('Table70', Session::get('year')))@else | - | @endif @if(isset($item->user) && $item->user->hasFile('Table70', Session::get('year')))@if($item->user->downloadFile('Table70', Session::get('year'))->file_name != "-") Download pdf file @else - @endif | @else- | @endif|
{{ $key + 1 }} | {{ $item->UnitKerja->kecamatan }} | {{ $item->nama }} | @php $jumlah = $item ->filterTable70( Session::get('year'), $item->id, ) ->jumlah; $GrandJumlah += $jumlah; @endphp | @php $ditangani_24 = $item ->filterTable70( Session::get('year'), $item->id, ) ->ditangani_24; $Grandditangani_24 += $ditangani_24; @endphp | {{$jumlah>0?number_format(($ditangani_24 / $jumlah) * 100, 2) . '%':0}} | |||||||
JUMLAH | {{ $GrandJumlah }} | {{ $Grandditangani_24 }} | {{$GrandJumlah>0?number_format(($Grandditangani_24 / $GrandJumlah) * 100, 2) . '%':0}} |