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

{{$title}}

@if(Auth::user()->downloadFile('Table67', Session::get('year')))
@csrf downloadFile('Table67', Session::get('year'))->status == 1 ?"disabled":""}} class="form-control" placeholder="upload PDF file">
@else
@csrf
@endif @if(Auth::user()->hasFile('Table67', Session::get('year')) && Auth::user()->downloadFile('Table67', 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 @role('Admin|superadmin') @php $Grandkusta_2022_baru = 0; $Grandkusta_2022_rft = 0; $Grandkusta_2021_baru = 0; $Grandkusta_2021_rft = 0; @endphp @foreach ($unit_kerja as $key => $item) @if(isset($item->user) && $item->user->downloadFile('Table67', Session::get('year'))) @elseif(isset($item->user) && !$item->user->downloadFile('Table67', Session::get('year'))) @else @endif @if(isset($item->user) && $item->user->hasFile('Table67', Session::get('year'))) @else @endif @endforeach @endrole @role('Puskesmas|Pihak Wajib Pajak') @php $Grandkusta_2022_baru = 0; $Grandkusta_2022_rft = 0; $Grandkusta_2021_baru = 0; $Grandkusta_2021_rft = 0; @endphp @foreach ($desa as $key => $item) @if ($item->filterTable67(Session::get('year'), $item->id)) @php $filterResult = $item->filterTable67(Session::get('year'), $item->id); $isDisabled = $filterResult->status == 1 || $filterResult->status == 2 ? "disabled" : ""; @endphp @endif @endforeach @endrole
No KecamatanPuskesmasDesaKUSTA (PB) KUSTA (MB)Lock data Lock upload File Download Detail Desa
Tahun 2022 Tahun 2021
JML PENDERITA BARUa JML PENDERITA RFT RFT RATE PB (%) JML PENDERITA BARUb JML PENDERITA RFT RFT RATE MB (%)
{{ $key + 1 }} {{ $item->kecamatan }} {{ $item->nama }} @php $kusta_2022_baru = $item->unitKerjaAmbilPart2('filterTable67', Session::get('year'), 'kusta_2022_baru')['total']; $Grandkusta_2022_baru += $kusta_2022_baru; echo $kusta_2022_baru; @endphp @php $kusta_2022_rft = $item->unitKerjaAmbilPart2('filterTable67', Session::get('year'), 'kusta_2022_rft')['total']; $Grandkusta_2022_rft += $kusta_2022_rft; echo $kusta_2022_rft; @endphp {{$kusta_2022_baru>0 ? number_format(($kusta_2022_rft / $kusta_2022_baru) * 100, 2) . '%':0}} @php $kusta_2021_baru = $item->unitKerjaAmbilPart2('filterTable67', Session::get('year'), 'kusta_2021_baru')['total']; $Grandkusta_2021_baru += $kusta_2021_baru; echo $kusta_2021_baru; @endphp @php $kusta_2021_rft = $item->unitKerjaAmbilPart2('filterTable67', Session::get('year'), 'kusta_2021_rft')['total']; $Grandkusta_2021_rft += $kusta_2021_rft; echo $kusta_2021_rft; @endphp {{$kusta_2021_baru>0?number_format(($kusta_2021_rft / $kusta_2021_baru) * 100, 2) . '%':0}} general_lock_get2(Session::get('year'), 'filterTable67') == 1 ? "checked":""}} {{$item->general_lock_get2(Session::get('year'), 'filterTable67') == 2 ? "disabled":""}} class="data-lock" id="{{$item->id}}">user->downloadFile('Table67', Session::get('year'))->status == 1 ? "checked":""}} class="data-lock-upload" id="{{$item->user->id}}">- @if($item->user->downloadFile('Table67', Session::get('year'))->file_name != "-") Download pdf file @else - @endif -
Jumlah {{ $Grandkusta_2022_baru }} {{ $Grandkusta_2022_rft }} {{$Grandkusta_2022_rft > 0 && $Grandkusta_2022_baru > 0 ? number_format(($Grandkusta_2022_rft / $Grandkusta_2022_baru) * 100, 2) . '%' : 0}} {{ $Grandkusta_2021_baru }} {{ $Grandkusta_2021_rft }} {{$Grandkusta_2021_rft > 0 && $Grandkusta_2021_baru > 0 ? number_format(($Grandkusta_2021_rft / $Grandkusta_2021_baru) * 100, 2) . '%' : 0}}
{{ $key + 1 }} {{ $item->UnitKerja->kecamatan }} {{ $item->nama }} @php $kusta_2022_baru = $item ->filterTable67( Session::get('year'), $item->id, ) ->kusta_2022_baru; $Grandkusta_2022_baru += $kusta_2022_baru; @endphp @php $kusta_2022_rft = $item ->filterTable67( Session::get('year'), $item->id, ) ->kusta_2022_rft; $Grandkusta_2022_rft += $kusta_2022_rft; @endphp {{-- {{ $totalIbuHamil }} --}} {{$kusta_2022_baru?number_format(($kusta_2022_rft / $kusta_2022_baru) * 100, 2) . '%':0}} @php $kusta_2021_baru = $item ->filterTable67( Session::get('year'), $item->id, ) ->kusta_2021_baru; $Grandkusta_2021_baru += $kusta_2021_baru; @endphp {{-- {{ $totalIbuHamil }} --}} @php $kusta_2021_rft = $item ->filterTable67( Session::get('year'), $item->id, ) ->kusta_2021_rft; $Grandkusta_2021_rft += $kusta_2021_rft; @endphp {{-- {{ $totalIbuHamil }} --}} {{$kusta_2021_baru>0?number_format(($kusta_2021_rft / $kusta_2021_baru) * 100, 2) . '%':0}}
Jumlah {{ $Grandkusta_2022_baru }} {{ $Grandkusta_2022_rft }} {{$Grandkusta_2022_baru>0?number_format(($Grandkusta_2022_rft / $Grandkusta_2022_baru) * 100, 2) . '%':0}} {{ $Grandkusta_2021_baru }} {{ $Grandkusta_2021_rft }} {{$Grandkusta_2021_baru>0?number_format(($Grandkusta_2021_rft / $Grandkusta_2021_baru) * 100, 2) . '%':0}}
@push('scripts') @endpush @push('scripts') @endpush @endsection