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

{{$title}}

@if(Auth::user()->downloadFile('Table65', Session::get('year')))
@csrf downloadFile('Table65', Session::get('year'))->status == 1 ?"disabled":""}} class="form-control" placeholder="upload PDF file">
@else
@csrf
@endif @if(Auth::user()->hasFile('Table65', Session::get('year')) && Auth::user()->downloadFile('Table65', 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 $GrandPenderitaKusta = 0; $GrandJumlah_cacat_0 = 0; $GrandJumlah_cacat_1 = 0; $GrandPenderita_kusta_1 = 0; $GrandPenderita_kusta_2 = 0; @endphp @foreach ($unit_kerja as $key => $item) @if(isset($item->user) && $item->user->downloadFile('Table65', Session::get('year'))) @elseif(isset($item->user) && !$item->user->downloadFile('Table65', Session::get('year'))) @else @endif @if(isset($item->user) && $item->user->hasFile('Table65', Session::get('year'))) @else @endif @endforeach @endrole @role('Puskesmas|Pihak Wajib Pajak') @php $GrandPenderitaKusta = 0; $GrandJumlah_cacat_0 = 0; $GrandJumlah_cacat_1 = 0; $GrandPenderita_kusta_1 = 0; $GrandPenderita_kusta_2 = 0; @endphp @foreach ($desa as $key => $item) @if ($item->filterTable65(Session::get('year'), $item->id)) @php $filterResult = $item->filterTable65(Session::get('year'), $item->id); $isDisabled = $filterResult->status == 1 || $filterResult->status == 2 ? "disabled" : ""; @endphp @endif @endforeach @endrole
No KecamatanPuskesmasDesaKASUS BARULock data Lock upload File Download Detail Desa
Penderita Kusta Cacat Tingkat 0 Cacat Tingkat 2 Penderita Kusta Anak < 15 tahun PENDERITA KUSTA ANAK < 15 TAHUN DENGAN CACAT TINGKAT 2
Jumlah % Jumlah % Jumlah % Jumlah
{{ $key + 1 }} {{ $item->kecamatan }} {{ $item->nama }} @php $penderitaKusta = $item->unitKerjaAmbilPart2('filterTable65', Session::get('year'), 'penderitaKusta,id')['total']; $GrandPenderitaKusta += $penderitaKusta; echo $penderitaKusta; @endphp @php $jumlah_cacat_0 = $item->unitKerjaAmbilPart2('filterTable65', Session::get('year'), 'jumlah_cacat_0')['total']; $GrandJumlah_cacat_0 += $jumlah_cacat_0; echo $jumlah_cacat_0; @endphp {{ $penderitaKusta > 0?number_format(($jumlah_cacat_0 / $penderitaKusta) * 100, 2)."%":0 }} @php $jumlah_cacat_1 = $item->unitKerjaAmbilPart2('filterTable65', Session::get('year'), 'jumlah_cacat_1')['total']; $GrandJumlah_cacat_1 += $jumlah_cacat_1; echo $jumlah_cacat_1; @endphp {{ $penderitaKusta > 0?number_format(($jumlah_cacat_1 / $penderitaKusta) * 100, 2)."%":0 }} @php $penderita_kusta_1 = $item->unitKerjaAmbilPart2('filterTable65', Session::get('year'), 'penderita_kusta_1')['total']; $GrandPenderita_kusta_1 += $penderita_kusta_1; echo $penderita_kusta_1; @endphp {{$penderitaKusta > 0? number_format(($penderita_kusta_1 / $penderitaKusta) * 100, 2)."%":0 }} @php $penderita_kusta_2 = $item->unitKerjaAmbilPart2('filterTable65', Session::get('year'), 'penderita_kusta_2')['total']; $GrandPenderita_kusta_2 += $penderita_kusta_2; echo $penderita_kusta_2; @endphp general_lock_get2(Session::get('year'), 'filterTable65') == 1 ? "checked":""}} {{$item->general_lock_get2(Session::get('year'), 'filterTable65') == 2 ? "disabled":""}} class="data-lock" id="{{$item->id}}">user->downloadFile('Table65', Session::get('year'))->status == 1 ? "checked":""}} class="data-lock-upload" id="{{$item->user->id}}">- @if($item->user->downloadFile('Table65', Session::get('year'))->file_name != "-") Download pdf file @else - @endif -
JUMLAH {{$GrandPenderitaKusta}} {{$GrandJumlah_cacat_0}} {{ $GrandPenderitaKusta > 0?number_format(($GrandJumlah_cacat_0 / $GrandPenderitaKusta) * 100, 2)."%":0 }} {{$GrandJumlah_cacat_1}} {{ $GrandPenderitaKusta>0?number_format(($GrandJumlah_cacat_1 / $GrandPenderitaKusta) * 100, 2)."%":0 }} {{$GrandPenderita_kusta_1}} {{ $GrandPenderitaKusta>0?number_format(($GrandPenderita_kusta_1 / $GrandPenderitaKusta) * 100, 2)."%":0 }} {{$GrandPenderita_kusta_2}}
ANGKA CACAT TINGKAT 2 PER 1.000.000 PENDUDUK {{ $jumlah_penduduk_perempuan + $jumlah_penduduk_laki_laki > 0?($GrandJumlah_cacat_1 / ($jumlah_penduduk_perempuan + $jumlah_penduduk_laki_laki)) * 100000:0}}
{{ $key + 1 }} {{ $item->UnitKerja->kecamatan }} {{ $item->nama }} @php $penderitaKusta = $item->filterTable65(Session::get('year'), $item->id)->PenderitaKusta($item->id); $GrandPenderitaKusta += $penderitaKusta; @endphp @php $jumlah_cacat_0 = $item->filterTable65(Session::get('year'), $item->id)->jumlah_cacat_0; $GrandJumlah_cacat_0 += $jumlah_cacat_0; @endphp {{ $penderitaKusta?number_format(($jumlah_cacat_0 / $penderitaKusta) * 100, 2)."%":0 }} @php $jumlah_cacat_1 = $item->filterTable65(Session::get('year'), $item->id)->jumlah_cacat_1; $GrandJumlah_cacat_1 += $jumlah_cacat_1; @endphp {{ $penderitaKusta > 0?number_format(($jumlah_cacat_1 / $penderitaKusta) * 100, 2)."%":0 }} @php $penderita_kusta_1 = $item->filterTable65(Session::get('year'), $item->id)->penderita_kusta_1; $GrandPenderita_kusta_1 += $penderita_kusta_1; @endphp {{ $penderitaKusta>0?number_format(($penderita_kusta_1 / $penderitaKusta) * 100, 2)."%":0 }} @php $penderita_kusta_2 = $item->filterTable65(Session::get('year'), $item->id)->penderita_kusta_2; $GrandPenderita_kusta_2 += $penderita_kusta_2; @endphp
JUMLAH {{$GrandPenderitaKusta}} {{$GrandJumlah_cacat_0}} {{ $GrandPenderitaKusta>0?number_format(($GrandJumlah_cacat_0 / $GrandPenderitaKusta) * 100, 2)."%":0 }} {{$GrandJumlah_cacat_1}} {{ $GrandPenderitaKusta>0?number_format(($GrandJumlah_cacat_1 / $GrandPenderitaKusta) * 100, 2)."%":0 }} {{$GrandPenderita_kusta_1}} {{ $GrandPenderitaKusta>0?number_format(($GrandPenderita_kusta_1 / $GrandPenderitaKusta) * 100, 2)."%":0 }} {{$GrandPenderita_kusta_2}}
ANGKA CACAT TINGKAT 2 PER 1.000.000 PENDUDUK {{$jumlah_penduduk_perempuan + $jumlah_penduduk_laki_laki>0?($GrandJumlah_cacat_1 / ($jumlah_penduduk_perempuan + $jumlah_penduduk_laki_laki)) * 100000:0}}
@push('scripts') @endpush @push('scripts') @endpush @endsection