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