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