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