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

{{$title}}

@if(Auth::user()->downloadFile('Catin', Session::get('year')))
@csrf downloadFile('Catin', Session::get('year'))->status == 1 ?"disabled":""}} class="form-control" placeholder="upload PDF file">
@else
@csrf
@endif @if(Auth::user()->hasFile('Catin', Session::get('year')) && Auth::user()->downloadFile('Catin', 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') @foreach ($unit_kerja as $key => $item) @if(isset($item->user) && $item->user->downloadFile('Catin', Session::get('year'))) @elseif(isset($item->user) && !$item->user->downloadFile('Catin', Session::get('year'))) @else @endif @if(isset($item->user) && $item->user->hasFile('Catin', Session::get('year'))) @else @endif @endforeach @endrole @role('Puskesmas|Pihak Wajib Pajak') @foreach ($desa as $key => $item) @if($item->filterCatin(Session::get('year'))) @php $filterResult = $item->filterCatin(Session::get('year')); $isDisabled = $filterResult->status == 1 || $filterResult->status == 2 ? "disabled" : ""; @endphp @endif @endforeach @endrole
No KecamatanPuskesmasDesaJumlah Catin terdaftar di KUA atau lembaga Agama Lainnya Catin Mendapatkan Layanan Kesehatan Catin Perempuan Anemia Catin Perempuan Gizi KurangLock data Lock upload File Download Detail Desa
Laki-Laki Perempuan Laki-Laki + Perempuan
Laki-Laki Perempuan Laki-Laki + Perempuan Jumlah % Jumlah % Jumlah % Jumlah % Jumlah %
{{$key + 1}} {{$item->kecamatan}} {{$item->nama}} {{$item->unitKerjaAmbil('filterCatin', Session::get('year'), 'kua_L')["total"]}} {{$item->unitKerjaAmbil('filterCatin', Session::get('year'), 'kua_P')["total"]}} {{$item->unitKerjaAmbil('filterCatin', Session::get('year'), 'kua_P')["total"] + $item->unitKerjaAmbil('filterCatin', Session::get('year'), 'kua_L')["total"]}} {{$item->unitKerjaAmbil('filterCatin', Session::get('year'), 'layanan_L')["total"]}} {{$item->unitKerjaAmbil('filterCatin', Session::get('year'), 'kua_L')["total"] > 0? number_format($item->unitKerjaAmbil('filterCatin', Session::get('year'), 'layanan_L')["total"] /$item->unitKerjaAmbil('filterCatin', Session::get('year'), 'kua_L')["total"] * 100, 2 ):0}} {{$item->unitKerjaAmbil('filterCatin', Session::get('year'), 'layanan_P')["total"]}} {{$item->unitKerjaAmbil('filterCatin', Session::get('year'), 'kua_P')["total"] > 0? number_format($item->unitKerjaAmbil('filterCatin', Session::get('year'), 'layanan_P')["total"] /$item->unitKerjaAmbil('filterCatin', Session::get('year'), 'kua_P')["total"] * 100, 2 ):0}} {{$item->unitKerjaAmbil('filterCatin', Session::get('year'), 'layanan_P')["total"] + $item->unitKerjaAmbil('filterCatin', Session::get('year'), 'layanan_L')["total"]}} {{$item->unitKerjaAmbil('filterCatin', Session::get('year'), 'kua_P')["total"] + $item->unitKerjaAmbil('filterCatin', Session::get('year'), 'kua_L')["total"] > 0? number_format(($item->unitKerjaAmbil('filterCatin', Session::get('year'), 'layanan_P')["total"] + $item->unitKerjaAmbil('filterCatin', Session::get('year'), 'layanan_L')["total"]) /($item->unitKerjaAmbil('filterCatin', Session::get('year'), 'kua_L')["total"] + $item->unitKerjaAmbil('filterCatin', Session::get('year'), 'kua_P')["total"]) * 100, 2 ):0}} {{$item->unitKerjaAmbil('filterCatin', Session::get('year'), 'anemia')["total"]}} {{$item->unitKerjaAmbil('filterCatin', Session::get('year'), 'layanan_P')["total"] > 0? number_format($item->unitKerjaAmbil('filterCatin', Session::get('year'), 'anemia')["total"] /$item->unitKerjaAmbil('filterCatin', Session::get('year'), 'layanan_P')["total"] * 100, 2 ):0}} {{$item->unitKerjaAmbil('filterCatin', Session::get('year'), 'gizi')["total"]}} {{$item->unitKerjaAmbil('filterCatin', Session::get('year'), 'layanan_P')["total"] > 0? number_format($item->unitKerjaAmbil('filterCatin', Session::get('year'), 'gizi')["total"] /$item->unitKerjaAmbil('filterCatin', Session::get('year'), 'layanan_P')["total"] * 100, 2 ):0}} general_lock_get(Session::get('year'), 'filterCatin') == 1 ? "checked":""}} {{$item->general_lock_get(Session::get('year'), 'filterCatin') == 2 ? "disabled":""}} class="data-lock" id="{{$item->id}}">user->downloadFile('Catin', Session::get('year'))->status == 1 ? "checked":""}} class="data-lock-upload" id="{{$item->user->id}}">- @if($item->user->downloadFile('Catin', Session::get('year'))->file_name != "-") Download pdf file @else - @endif -
{{$key + 1}} {{$item->UnitKerja->kecamatan}} {{$item->nama}} {{$item->filterCatin(Session::get('year'))->kua_P + $item->filterCatin(Session::get('year'))->kua_L}} {{$item->filterCatin(Session::get('year'))->kua_L>0? number_format($item->filterCatin(Session::get('year'))->layanan_L /$item->filterCatin(Session::get('year'))->kua_L * 100, 2):0}} {{$item->filterCatin(Session::get('year'))->kua_P>0? number_format($item->filterCatin(Session::get('year'))->layanan_P /$item->filterCatin(Session::get('year'))->kua_P * 100, 2):0}} {{$item->filterCatin(Session::get('year'))->layanan_P + $item->filterCatin(Session::get('year'))->layanan_L}} {{$item->filterCatin(Session::get('year'))->kua_P + $item->filterCatin(Session::get('year'))->kua_L>0? number_format(($item->filterCatin(Session::get('year'))->layanan_P + $item->filterCatin(Session::get('year'))->layanan_L) /( $item->filterCatin(Session::get('year'))->kua_L + $item->filterCatin(Session::get('year'))->kua_P) * 100, 2):0}} {{$item->filterCatin(Session::get('year'))->layanan_P>0? number_format($item->filterCatin(Session::get('year'))->anemia /$item->filterCatin(Session::get('year'))->layanan_P * 100, 2):0}} {{$item->filterCatin(Session::get('year'))->layanan_P>0? number_format($item->filterCatin(Session::get('year'))->gizi /$item->filterCatin(Session::get('year'))->layanan_P * 100, 2):0}}
@push('scripts') @endpush @push('scripts') @endpush @endsection