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

Pelayanan Produktif

@if(Auth::user()->downloadFile('PelayananProduktif', Session::get('year')))
@csrf downloadFile('PelayananProduktif', Session::get('year'))->status == 1 ?"disabled":""}} class="form-control" placeholder="upload PDF file">
@else
@csrf
@endif @if(Auth::user()->hasFile('PelayananProduktif', Session::get('year'))) 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('PelayananProduktif', Session::get('year'))) @elseif(isset($item->user) && !$item->user->downloadFile('PelayananProduktif', Session::get('year'))) @else @endif @if(isset($item->user) && $item->user->hasFile('PelayananProduktif', Session::get('year'))) @else @endif @endforeach @endrole @role('Puskesmas|Pihak Wajib Pajak') @foreach ($desa as $key => $item) @if($item->filterPelayananProduktif(Session::get('year'))) @endif @endforeach @endrole
No KecamatanPuskesmasDesaPenduduk Usia 15-59 tahunLock data Lock Upload File Download Detail Desa
Jumlah Mendapat Pelayanan Kesehatan Skrining sesuai standar Berisiko
Laki Laki Perempuan Laki Laki + Perempuan Laki Laki Perempuan Laki Laki + Perempuan Laki Laki Perempuan Laki Laki + Perempuan
Jumlah % Jumlah % Jumlah % Jumlah % Jumlah % Jumlah %
{{$key + 1}} {{$item->kecamatan}} {{$item->nama}} {{$item->pelayanan_produktif_per_desa(Session::get('year'))["jumlah_L"]}} {{$item->pelayanan_produktif_per_desa(Session::get('year'))["jumlah_P"]}} {{$item->pelayanan_produktif_per_desa(Session::get('year'))["jumlah_L"] + $item->pelayanan_produktif_per_desa(Session::get('year'))["jumlah_P"]}} {{$item->pelayanan_produktif_per_desa(Session::get('year'))["standar_L"]}} {{$item->pelayanan_produktif_per_desa(Session::get('year'))["jumlah_L"] > 0?number_format($item->pelayanan_produktif_per_desa(Session::get('year'))['standar_L'] / $item->pelayanan_produktif_per_desa(Session::get('year'))['jumlah_L'] * 100, 2): 0}}% {{$item->pelayanan_produktif_per_desa(Session::get('year'))["standar_P"]}} {{$item->pelayanan_produktif_per_desa(Session::get('year'))["jumlah_P"] > 0?number_format($item->pelayanan_produktif_per_desa(Session::get('year'))['standar_P'] / $item->pelayanan_produktif_per_desa(Session::get('year'))['jumlah_P'] * 100, 2): 0}}% {{$item->pelayanan_produktif_per_desa(Session::get('year'))["standar_P"] + $item->pelayanan_produktif_per_desa(Session::get('year'))["standar_L"]}} {{$item->pelayanan_produktif_per_desa(Session::get('year'))["jumlah_P"] + $item->pelayanan_produktif_per_desa(Session::get('year'))["jumlah_L"] > 0?number_format(($item->pelayanan_produktif_per_desa(Session::get('year'))['standar_P'] + $item->pelayanan_produktif_per_desa(Session::get('year'))['standar_L']) / ($item->pelayanan_produktif_per_desa(Session::get('year'))['jumlah_P'] + $item->pelayanan_produktif_per_desa(Session::get('year'))['jumlah_L']) * 100, 2): 0}}% {{$item->pelayanan_produktif_per_desa(Session::get('year'))["risiko_L"]}} {{$item->pelayanan_produktif_per_desa(Session::get('year'))["jumlah_L"] > 0?number_format($item->pelayanan_produktif_per_desa(Session::get('year'))['risiko_L'] / $item->pelayanan_produktif_per_desa(Session::get('year'))['jumlah_L'] * 100, 2): 0}}% {{$item->pelayanan_produktif_per_desa(Session::get('year'))["risiko_P"]}} {{$item->pelayanan_produktif_per_desa(Session::get('year'))["jumlah_P"] > 0?number_format($item->pelayanan_produktif_per_desa(Session::get('year'))['risiko_P'] / $item->pelayanan_produktif_per_desa(Session::get('year'))['jumlah_P'] * 100, 2): 0}}% {{$item->pelayanan_produktif_per_desa(Session::get('year'))["risiko_P"] + $item->pelayanan_produktif_per_desa(Session::get('year'))["risiko_L"]}} {{$item->pelayanan_produktif_per_desa(Session::get('year'))["jumlah_P"] + $item->pelayanan_produktif_per_desa(Session::get('year'))["jumlah_L"] > 0?number_format(($item->pelayanan_produktif_per_desa(Session::get('year'))['risiko_P'] + $item->pelayanan_produktif_per_desa(Session::get('year'))['risiko_L']) / ($item->pelayanan_produktif_per_desa(Session::get('year'))['jumlah_P'] + $item->pelayanan_produktif_per_desa(Session::get('year'))['jumlah_L']) * 100, 2): 0}}% pelayanan_produktif_lock_get(Session::get('year')) == 1 ? "checked":""}} {{$item->pelayanan_produktif_lock_get(Session::get('year')) == 2 ? "disabled":""}} class="data-lock" id="{{$item->id}}">user->downloadFile('PelayananProduktif', Session::get('year'))->status == 1 ? "checked":""}} class="data-lock-upload" id="{{$item->user->id}}">- @if($item->user->downloadFile('PelayananProduktif', Session::get('year'))->file_name != "-") Download pdf file @else - @endif -
{{$total_L}} {{$total_P}} {{$total_L + $total_P}} {{$totalstandar_L}} {{$total_L > 0?number_format($totalstandar_L / $total_L * 100, 2): 0}}% {{$totalstandar_P}} {{$total_P > 0?number_format($totalstandar_P / $total_P * 100, 2): 0}}% {{$totalstandar_P + $totalstandar_L}} {{$total_P + $total_L > 0?number_format(($totalstandar_P + $totalstandar_L) / ($total_L + $total_P) * 100, 2): 0}}% {{$totalrisiko_L}} {{$total_L > 0?number_format($totalrisiko_L / $total_L * 100, 2): 0}}% {{$totalrisiko_P}} {{$total_P > 0?number_format($totalrisiko_P / $total_P * 100, 2): 0}}% {{$total_P + $total_L}} {{$total_P + $total_L > 0?number_format(($totalrisiko_P + $totalrisiko_L) / ($total_P + $total_L) * 100, 2): 0}}%
{{$key + 1}} {{$item->UnitKerja->kecamatan}} {{$item->nama}} filterPelayananProduktif(Session::get('year'))->status == 1 || $item->filterPelayananProduktif(Session::get('year'))->status == 2?"disabled":""}} name="jumlah_L" id="{{$item->filterPelayananProduktif(Session::get('year'))->id}}" value="{{$item->filterPelayananProduktif(Session::get('year'))->jumlah_L}}" class="form-control data-input" style="border: none"> filterPelayananProduktif(Session::get('year'))->status == 1 || $item->filterPelayananProduktif(Session::get('year'))->status == 2?"disabled":""}} name="jumlah_P" id="{{$item->filterPelayananProduktif(Session::get('year'))->id}}" value="{{$item->filterPelayananProduktif(Session::get('year'))->jumlah_P}}" class="form-control data-input" style="border: none"> {{$item->filterPelayananProduktif(Session::get('year'))->jumlah_L + $item->filterPelayananProduktif(Session::get('year'))->jumlah_P}} filterPelayananProduktif(Session::get('year'))->status == 1 || $item->filterPelayananProduktif(Session::get('year'))->status == 2?"disabled":""}} name="standar_L" id="{{$item->filterPelayananProduktif(Session::get('year'))->id}}" value="{{$item->filterPelayananProduktif(Session::get('year'))->standar_L}}" class="form-control data-input" style="border: none"> {{$item->filterPelayananProduktif(Session::get('year'))->jumlah_L > 0? number_format($item->filterPelayananProduktif(Session::get('year'))->standar_L/$item->filterPelayananProduktif(Session::get('year'))->jumlah_L * 100):0}}% filterPelayananProduktif(Session::get('year'))->status == 1 || $item->filterPelayananProduktif(Session::get('year'))->status == 2?"disabled":""}} name="standar_P" id="{{$item->filterPelayananProduktif(Session::get('year'))->id}}" value="{{$item->filterPelayananProduktif(Session::get('year'))->standar_P}}" class="form-control data-input" style="border: none"> {{$item->filterPelayananProduktif(Session::get('year'))->jumlah_P > 0? number_format($item->filterPelayananProduktif(Session::get('year'))->standar_P/$item->filterPelayananProduktif(Session::get('year'))->jumlah_P * 100):0}}% {{$item->filterPelayananProduktif(Session::get('year'))->standar_P + $item->filterPelayananProduktif(Session::get('year'))->standar_L}} {{$item->filterPelayananProduktif(Session::get('year'))->jumlah_P + $item->filterPelayananProduktif(Session::get('year'))->jumlah_L > 0? number_format(($item->filterPelayananProduktif(Session::get('year'))->standar_P + $item->filterPelayananProduktif(Session::get('year'))->standar_L)/($item->filterPelayananProduktif(Session::get('year'))->jumlah_P + $item->filterPelayananProduktif(Session::get('year'))->jumlah_L) * 100):0}}% filterPelayananProduktif(Session::get('year'))->status == 1 || $item->filterPelayananProduktif(Session::get('year'))->status == 2?"disabled":""}} name="risiko_L" id="{{$item->filterPelayananProduktif(Session::get('year'))->id}}" value="{{$item->filterPelayananProduktif(Session::get('year'))->risiko_L}}" class="form-control data-input" style="border: none"> {{$item->filterPelayananProduktif(Session::get('year'))->jumlah_L > 0? number_format($item->filterPelayananProduktif(Session::get('year'))->risiko_L/$item->filterPelayananProduktif(Session::get('year'))->jumlah_L * 100):0}}% filterPelayananProduktif(Session::get('year'))->status == 1 || $item->filterPelayananProduktif(Session::get('year'))->status == 2?"disabled":""}} name="risiko_P" id="{{$item->filterPelayananProduktif(Session::get('year'))->id}}" value="{{$item->filterPelayananProduktif(Session::get('year'))->risiko_P}}" class="form-control data-input" style="border: none"> {{$item->filterPelayananProduktif(Session::get('year'))->jumlah_P > 0? number_format($item->filterPelayananProduktif(Session::get('year'))->risiko_P/$item->filterPelayananProduktif(Session::get('year'))->jumlah_P * 100):0}}% {{$item->filterPelayananProduktif(Session::get('year'))->risiko_P + $item->filterPelayananProduktif(Session::get('year'))->risiko_L}} {{$item->filterPelayananProduktif(Session::get('year'))->jumlah_P + $item->filterPelayananProduktif(Session::get('year'))->jumlah_L > 0? number_format(($item->filterPelayananProduktif(Session::get('year'))->risiko_P + $item->filterPelayananProduktif(Session::get('year'))->risiko_L)/($item->filterPelayananProduktif(Session::get('year'))->jumlah_P + $item->filterPelayananProduktif(Session::get('year'))->jumlah_L) * 100):0}}%
{{$total_L}} {{$total_P}} {{$total_L + $total_P}} {{$totalstandar_L}} {{$total_L > 0?number_format($totalstandar_L / $total_L * 100, 2): 0}}% {{$totalstandar_P}} {{$total_P > 0?number_format($totalstandar_P / $total_P * 100, 2): 0}}% {{$totalstandar_P + $totalstandar_L}} {{$total_P + $total_L > 0?number_format(($totalstandar_P + $totalstandar_L) / ($total_L + $total_P) * 100, 2): 0}}% {{$totalrisiko_L}} {{$total_L > 0?number_format($totalrisiko_L / $total_L * 100, 2): 0}}% {{$totalrisiko_P}} {{$total_P > 0?number_format($totalrisiko_P / $total_P * 100, 2): 0}}% {{$total_P + $total_L}} {{$total_P + $total_L > 0?number_format(($totalrisiko_P + $totalrisiko_L) / ($total_P + $total_L) * 100, 2): 0}}%
@push('scripts') @endpush @push('scripts') @endpush @endsection