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

Hipertensi

@if(Auth::user()->downloadFile('Hipertensi', Session::get('year')))
@csrf downloadFile('Hipertensi', Session::get('year'))->status == 1 ?"disabled":""}} class="form-control" placeholder="upload PDF file">
@else
@csrf
@endif @if(Auth::user()->hasFile('Hipertensi', 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('Hipertensi', Session::get('year'))) @elseif(isset($item->user) && !$item->user->downloadFile('Hipertensi', Session::get('year'))) @else @endif @if(isset($item->user) && $item->user->hasFile('Hipertensi', Session::get('year'))) @else @endif @endforeach @endrole @role('Puskesmas|Pihak Wajib Pajak') @foreach ($desa as $key => $item) @if($item->filterHipertensi(Session::get('year'))) @endif @endforeach @endrole
No KecamatanPuskesmasDesaJumlah Penderita Hipertensi Berusia > 15 tahun Mendapat Pelayanan KesehatanLock data Lock upload File Download Detail Desa
Laki Laki Perempuan Laki Laki + Perempuan Laki Laki Perempuan Perempuan + Laki Laki
Jumlah % Jumlah % Jumlah %
{{$key + 1}} {{$item->kecamatan}} {{$item->nama}} {{$item->hipertensi_per_desa(Session::get('year'))["jumlah_L"]}} {{$item->hipertensi_per_desa(Session::get('year'))["jumlah_P"]}} {{$item->hipertensi_per_desa(Session::get('year'))["jumlah_P"] + $item->hipertensi_per_desa(Session::get('year'))["jumlah_L"]}} {{$item->hipertensi_per_desa(Session::get('year'))["pelayanan_L"]}} {{$item->hipertensi_per_desa(Session::get('year'))["jumlah_L"] > 0?number_format($item->hipertensi_per_desa(Session::get('year'))["pelayanan_L"]/$item->hipertensi_per_desa(Session::get('year'))["jumlah_L"]*100, 2):0}}% {{$item->hipertensi_per_desa(Session::get('year'))["pelayanan_P"]}} {{$item->hipertensi_per_desa(Session::get('year'))["jumlah_P"] > 0?number_format($item->hipertensi_per_desa(Session::get('year'))["pelayanan_P"]/$item->hipertensi_per_desa(Session::get('year'))["jumlah_P"]*100, 2):0}}% {{$item->hipertensi_per_desa(Session::get('year'))["pelayanan_P"] + $item->hipertensi_per_desa(Session::get('year'))["pelayanan_L"]}} {{$item->hipertensi_per_desa(Session::get('year'))["jumlah_P"] + $item->hipertensi_per_desa(Session::get('year'))["jumlah_L"] > 0?number_format(($item->hipertensi_per_desa(Session::get('year'))["pelayanan_P"] + $item->hipertensi_per_desa(Session::get('year'))["pelayanan_L"])/($item->hipertensi_per_desa(Session::get('year'))["jumlah_P"] + $item->hipertensi_per_desa(Session::get('year'))["jumlah_L"])*100, 2):0}}% hipertensi_lock_get(Session::get('year')) == 1 ? "checked":""}} {{$item->hipertensi_lock_get(Session::get('year')) == 2 ? "disabled":""}} class="data-lock" id="{{$item->id}}">user->downloadFile('Hipertensi', Session::get('year'))->status == 1 ? "checked":""}} class="data-lock-upload" id="{{$item->user->id}}">- @if($item->user->downloadFile('Hipertensi', Session::get('year'))->file_name != "-") Download pdf file @else - @endif -
{{$total_L}} {{$total_P}} {{$total_L + $total_P}} {{$total_pelayanan_L}} {{$total_L > 0?number_format($total_pelayanan_L/$total_L*100, 2):0}}% {{$total_pelayanan_P}} {{$total_P > 0?number_format($total_pelayanan_P/$total_P*100, 2):0}}% {{$total_pelayanan_P + $total_pelayanan_L}} {{$total_P + $total_L > 0?number_format(($total_pelayanan_P + $total_pelayanan_L)/($total_P + $total_L)*100, 2):0}}%
{{$key + 1}} {{$item->UnitKerja->kecamatan}} {{$item->nama}} filterHipertensi(Session::get('year'))->status == 1 || $item->filterHipertensi(Session::get('year'))->status == 2?"disabled":""}} name="jumlah_L" id="{{$item->filterHipertensi(Session::get('year'))->id}}" value="{{$item->filterHipertensi(Session::get('year'))->jumlah_L}}" class="form-control data-input" style="border: none"> filterHipertensi(Session::get('year'))->status == 1 || $item->filterHipertensi(Session::get('year'))->status == 2?"disabled":""}} name="jumlah_P" id="{{$item->filterHipertensi(Session::get('year'))->id}}" value="{{$item->filterHipertensi(Session::get('year'))->jumlah_P}}" class="form-control data-input" style="border: none"> {{$item->filterHipertensi(Session::get('year'))->jumlah_L + $item->filterHipertensi(Session::get('year'))->jumlah_P}} filterHipertensi(Session::get('year'))->status == 1 || $item->filterHipertensi(Session::get('year'))->status == 2?"disabled":""}} name="pelayanan_L" id="{{$item->filterHipertensi(Session::get('year'))->id}}" value="{{$item->filterHipertensi(Session::get('year'))->pelayanan_L}}" class="form-control data-input" style="border: none"> {{$item->filterHipertensi(Session::get('year'))->jumlah_L > 0?number_format($item->filterHipertensi(Session::get('year'))->pelayanan_L/$item->filterHipertensi(Session::get('year'))->jumlah_L*100, 2):0}}% filterHipertensi(Session::get('year'))->status == 1 || $item->filterHipertensi(Session::get('year'))->status == 2?"disabled":""}} name="pelayanan_P" id="{{$item->filterHipertensi(Session::get('year'))->id}}" value="{{$item->filterHipertensi(Session::get('year'))->pelayanan_P}}" class="form-control data-input" style="border: none"> {{$item->filterHipertensi(Session::get('year'))->jumlah_P > 0?number_format($item->filterHipertensi(Session::get('year'))->pelayanan_P/$item->filterHipertensi(Session::get('year'))->jumlah_P*100, 2):0}}% {{$item->filterHipertensi(Session::get('year'))->pelayanan_P + $item->filterHipertensi(Session::get('year'))->pelayanan_L}} {{$item->filterHipertensi(Session::get('year'))->jumlah_P + $item->filterHipertensi(Session::get('year'))->jumlah_L > 0?number_format(($item->filterHipertensi(Session::get('year'))->pelayanan_P + $item->filterHipertensi(Session::get('year'))->pelayanan_L)/($item->filterHipertensi(Session::get('year'))->jumlah_P + $item->filterHipertensi(Session::get('year'))->jumlah_L)*100, 2):0}}%
{{$total_L}} {{$total_P}} {{$total_L + $total_P}} {{$total_pelayanan_L}} {{$total_L > 0?number_format($total_pelayanan_L/$total_L*100, 2):0}}% {{$total_pelayanan_P}} {{$total_P > 0?number_format($total_pelayanan_P/$total_P*100, 2):0}}% {{$total_pelayanan_P + $total_pelayanan_L}} {{$total_P + $total_L > 0?number_format(($total_pelayanan_P + $total_pelayanan_L)/($total_P + $total_L)*100, 2):0}}%
@push('scripts') @endpush @push('scripts') @endpush @endsection