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

{{$title}}

@if(Auth::user()->downloadFile('Table70', Session::get('year')))
@csrf downloadFile('Table70', Session::get('year'))->status == 1 ?"disabled":""}} class="form-control" placeholder="upload PDF file">
@else
@csrf
@endif @if(Auth::user()->hasFile('Table70', Session::get('year')) && Auth::user()->downloadFile('Table70', 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 @php $GrandJumlah = 0; $Grandditangani_24 = 0; @endphp @role('Admin|superadmin') @foreach ($unit_kerja as $key => $item) @if(isset($item->user) && $item->user->downloadFile('Table70', Session::get('year'))) @elseif(isset($item->user) && !$item->user->downloadFile('Table70', Session::get('year'))) @else @endif @if(isset($item->user) && $item->user->hasFile('Table70', Session::get('year'))) @else @endif @endforeach @endrole @role('Puskesmas|Pihak Wajib Pajak') @foreach ($desa as $key => $item) @if ($item->filterTable70(Session::get('year'), $item->id)) @php $filterResult = $item->filterTable70(Session::get('year'), $item->id); $isDisabled = $filterResult->status == 1 || $filterResult->status == 2 ? "disabled" : ""; @endphp @endif @endforeach @endrole
No KecamatanPuskesmasDesaKLB DI DESA/KELURAHANLock data Lock upload File Download Detail Desa
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}}">user->downloadFile('Table70', Session::get('year'))->status == 1 ? "checked":""}} class="data-lock-upload" id="{{$item->user->id}}">- @if($item->user->downloadFile('Table70', Session::get('year'))->file_name != "-") Download pdf file @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}}
@push('scripts') @endpush @push('scripts') @endpush @endsection