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

{{$title}}

@if(Auth::user()->downloadFile('Table68', Session::get('year')))
@csrf downloadFile('Table68', Session::get('year'))->status == 1 ?"disabled":""}} class="form-control" placeholder="upload PDF file">
@else
@csrf
@endif @if(Auth::user()->hasFile('Table68', Session::get('year')) && Auth::user()->downloadFile('Table68', 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_penduduk_15 = 0; $Grandjumlah_kasus_afp = 0; $AffRate = 0; @endphp @role('Admin|superadmin') @foreach ($unit_kerja as $key => $item) @if(isset($item->user) && $item->user->downloadFile('Table68', Session::get('year'))) @elseif(isset($item->user) && !$item->user->downloadFile('Table68', Session::get('year'))) @else @endif @if(isset($item->user) && $item->user->hasFile('Table68', Session::get('year'))) @else @endif @endforeach @endrole @role('Puskesmas|Pihak Wajib Pajak') @foreach ($desa as $key => $item) @if ($item->filterTable68(Session::get('year'), $item->id)) @php $filterResult = $item->filterTable68(Session::get('year'), $item->id); $isDisabled = $filterResult->status == 1 || $filterResult->status == 2 ? "disabled" : ""; @endphp @endif @endforeach @endrole
No KecamatanPuskesmasDesaJUMLAH PENDUDUK < 15 TAHUN "JUMLAH KASUS AFP (NON POLIO)"Lock data Lock upload File Download Detail Desa
{{ $key + 1 }} {{ $item->kecamatan }} {{ $item->nama }} @php $jumlah_penduduk_15 = $item->unitKerjaAmbilPart2('filterTable68', Session::get('year'), 'jumlah_penduduk_15')['total']; $Grandjumlah_penduduk_15 += $jumlah_penduduk_15; echo $jumlah_penduduk_15; @endphp @php $jumlah_kasus_afp = $item->unitKerjaAmbilPart2('filterTable68', Session::get('year'), 'jumlah_kasus_afp')['total']; $Grandjumlah_kasus_afp += $jumlah_kasus_afp; echo $jumlah_kasus_afp; @endphp general_lock_get2(Session::get('year'), 'filterTable68') == 1 ? "checked":""}} {{$item->general_lock_get2(Session::get('year'), 'filterTable68') == 2 ? "disabled":""}} class="data-lock" id="{{$item->id}}">user->downloadFile('Table68', Session::get('year'))->status == 1 ? "checked":""}} class="data-lock-upload" id="{{$item->user->id}}">- @if($item->user->downloadFile('Table68', Session::get('year'))->file_name != "-") Download pdf file @else - @endif -
Jumlah {{$Grandjumlah_penduduk_15}} {{$Grandjumlah_kasus_afp}}
AFP RATE (NON POLIO) PER 100.000 PENDUDUK USIA < 15 TAHUN {{ ($Grandjumlah_kasus_afp / $Grandjumlah_penduduk_15) * 100000 }}
{{ $key + 1 }} {{ $item->UnitKerja->kecamatan }} {{ $item->nama }} @php $jumlah_penduduk_15 = $item ->filterTable68( Session::get('year'), $item->id, ) ->jumlah_penduduk_15; $Grandjumlah_penduduk_15 += $jumlah_penduduk_15; @endphp @php $jumlah_kasus_afp = $item ->filterTable68( Session::get('year'), $item->id, ) ->jumlah_kasus_afp; $Grandjumlah_kasus_afp += $jumlah_kasus_afp; @endphp
Jumlah {{$Grandjumlah_penduduk_15}} {{$Grandjumlah_kasus_afp}}
AFP RATE (NON POLIO) PER 100.000 PENDUDUK USIA < 15 TAHUN {{ $Grandjumlah_penduduk_15>0?($Grandjumlah_kasus_afp / $Grandjumlah_penduduk_15) * 100000:0 }}
@push('scripts') @endpush @push('scripts') @endpush @endsection