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

{{$title}}

@if(Auth::user()->downloadFile('ObatTuberkulosis', Session::get('year')))
@csrf downloadFile('ObatTuberkulosis', Session::get('year'))->status == 1 ?"disabled":""}} class="form-control" placeholder="upload PDF file">
@else
@csrf
@endif @if(Auth::user()->hasFile('ObatTuberkulosis', Session::get('year')) && Auth::user()->downloadFile('ObatTuberkulosis', 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('ObatTuberkulosis', Session::get('year'))) @elseif(isset($item->user) && !$item->user->downloadFile('ObatTuberkulosis', Session::get('year'))) @else @endif @if(isset($item->user) && $item->user->hasFile('ObatTuberkulosis', Session::get('year'))) @else @endif @endforeach @endrole @role('Puskesmas|Pihak Wajib Pajak') @foreach ($desa as $key => $item) @if($item->filterObatTuberkulosis(Session::get('year'))) @php $filterResult = $item->filterObatTuberkulosis(Session::get('year')); $isDisabled = $filterResult->status == 1 || $filterResult->status == 2 ? "disabled" : ""; @endphp @endif @endforeach @endrole
No KecamatanPuskesmasDesaJUMLAH KASUS TUBERKULOSIS PARU TERKONFIRMASI BAKTERIOLOGIS YANG DITEMUKAN DAN DIOBATI* JUMLAH SEMUA KASUS TUBERKULOSIS YANG DITEMUKAN DAN DIOBATI ANGKA KESEMBUHAN (CURE RATE) TUBERKULOSIS PARU TERKONFIRMASI BAKTERIOLOGIS ANGKA PENGOBATAN LENGKAP (COMPLETE RATE) SEMUA KASUS TUBERKULOSIS ANGKA KEBERHASILAN PENGOBATAN (SUCCESS RATE/SR) SEMUA KASUS TUBERKULOSIS JUMLAH KEMATIAN SELAMA PENGOBATAN TUBERKULOSISLock data Lock upload File Download Detail Desa
Laki-Laki Perempuan Laki-Laki + Perempuan Laki-Laki Perempuan Laki-Laki + Perempuan Laki-Laki Perempuan Laki-Laki + Perempuan
L P L + P L P L + P Jumlah % Jumlah % Jumlah % Jumlah % Jumlah % Jumlah % Jumlah % Jumlah % Jumlah % Jumlah %
{{$key + 1}} {{$item->kecamatan}} {{$item->nama}} {{$item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'konfirmasi_L')["total"]}} {{$item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'konfirmasi_P')["total"]}} {{$item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'konfirmasi_P')["total"] + $item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'konfirmasi_L')["total"]}} {{$item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'diobati_L')["total"]}} {{$item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'diobati_P')["total"]}} {{$item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'diobati_P')["total"] + $item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'diobati_L')["total"]}} {{$item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'kesembuhan_L')["total"]}} {{$item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'konfirmasi_L')["total"] > 0? number_format($item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'kesembuhan_L')["total"] /$item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'konfirmasi_L')["total"] * 100, 2 ):0}} {{$item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'kesembuhan_P')["total"]}} {{$item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'konfirmasi_P')["total"] > 0? number_format($item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'kesembuhan_P')["total"] /$item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'konfirmasi_P')["total"] * 100, 2 ):0}} {{$item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'kesembuhan_P')["total"] + $item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'kesembuhan_L')["total"]}} {{$item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'konfirmasi_P')["total"] + $item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'konfirmasi_L')["total"] > 0? number_format(($item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'kesembuhan_P')["total"] + $item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'kesembuhan_L')["total"]) /($item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'konfirmasi_L')["total"] + $item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'konfirmasi_P')["total"]) * 100, 2 ):0}} {{$item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'lengkap_L')["total"]}} {{$item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'diobati_L')["total"] > 0? number_format($item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'lengkap_L')["total"] /$item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'diobati_L')["total"] * 100, 2 ):0}} {{$item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'lengkap_P')["total"]}} {{$item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'diobati_P')["total"] > 0? number_format($item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'lengkap_P')["total"] /$item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'diobati_P')["total"] * 100, 2 ):0}} {{$item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'lengkap_P')["total"] + $item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'lengkap_L')["total"]}} {{$item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'diobati_P')["total"] + $item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'diobati_L')["total"] > 0? number_format(($item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'lengkap_P')["total"] + $item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'lengkap_L')["total"]) /($item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'diobati_L')["total"] + $item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'diobati_P')["total"]) * 100, 2 ):0}} {{$item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'berhasil_L')["total"]}} {{$item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'diobati_L')["total"] > 0? number_format($item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'berhasil_L')["total"] /$item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'diobati_L')["total"] * 100, 2 ):0}} {{$item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'berhasil_P')["total"]}} {{$item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'diobati_P')["total"] > 0? number_format($item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'berhasil_P')["total"] /$item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'diobati_P')["total"] * 100, 2 ):0}} {{$item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'berhasil_P')["total"] + $item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'berhasil_L')["total"]}} {{$item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'diobati_P')["total"] + $item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'diobati_L')["total"] > 0? number_format(($item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'berhasil_P')["total"] + $item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'berhasil_L')["total"]) /($item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'diobati_L')["total"] + $item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'diobati_P')["total"]) * 100, 2 ):0}} {{$item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'kematian')["total"]}} {{$item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'diobati_P')["total"] + $item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'diobati_L')["total"] > 0? number_format($item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'kematian')["total"] /($item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'diobati_L')["total"] + $item->unitKerjaAmbil('filterObatTuberkulosis', Session::get('year'), 'diobati_P')["total"]) * 100, 2 ):0}} general_lock_get(Session::get('year'), 'filterObatTuberkulosis') == 1 ? "checked":""}} {{$item->general_lock_get(Session::get('year'), 'filterObatTuberkulosis') == 2 ? "disabled":""}} class="data-lock" id="{{$item->id}}">user->downloadFile('ObatTuberkulosis', Session::get('year'))->status == 1 ? "checked":""}} class="data-lock-upload" id="{{$item->user->id}}">- @if($item->user->downloadFile('ObatTuberkulosis', Session::get('year'))->file_name != "-") Download pdf file @else - @endif -
{{$key + 1}} {{$item->UnitKerja->kecamatan}} {{$item->nama}} {{$item->filterObatTuberkulosis(Session::get('year'))->konfirmasi_P + $item->filterObatTuberkulosis(Session::get('year'))->konfirmasi_L}} {{$item->filterObatTuberkulosis(Session::get('year'))->diobati_P + $item->filterObatTuberkulosis(Session::get('year'))->diobati_L}} {{$item->filterObatTuberkulosis(Session::get('year'))->konfirmasi_L>0? number_format($item->filterObatTuberkulosis(Session::get('year'))->kesembuhan_L /$item->filterObatTuberkulosis(Session::get('year'))->konfirmasi_L * 100, 2):0}} {{$item->filterObatTuberkulosis(Session::get('year'))->konfirmasi_P>0? number_format($item->filterObatTuberkulosis(Session::get('year'))->kesembuhan_P /$item->filterObatTuberkulosis(Session::get('year'))->konfirmasi_P * 100, 2):0}} {{$item->filterObatTuberkulosis(Session::get('year'))->kesembuhan_P + $item->filterObatTuberkulosis(Session::get('year'))->kesembuhan_L}} {{$item->filterObatTuberkulosis(Session::get('year'))->konfirmasi_P + $item->filterObatTuberkulosis(Session::get('year'))->konfirmasi_L>0? number_format(($item->filterObatTuberkulosis(Session::get('year'))->kesembuhan_P + $item->filterObatTuberkulosis(Session::get('year'))->kesembuhan_L) /($item->filterObatTuberkulosis(Session::get('year'))->konfirmasi_L + $item->filterObatTuberkulosis(Session::get('year'))->konfirmasi_P) * 100, 2):0}} {{$item->filterObatTuberkulosis(Session::get('year'))->diobati_L>0? number_format($item->filterObatTuberkulosis(Session::get('year'))->lengkap_L /$item->filterObatTuberkulosis(Session::get('year'))->diobati_L * 100, 2):0}} {{$item->filterObatTuberkulosis(Session::get('year'))->diobati_P>0? number_format($item->filterObatTuberkulosis(Session::get('year'))->lengkap_P /$item->filterObatTuberkulosis(Session::get('year'))->diobati_P * 100, 2):0}} {{$item->filterObatTuberkulosis(Session::get('year'))->lengkap_P + $item->filterObatTuberkulosis(Session::get('year'))->lengkap_L}} {{$item->filterObatTuberkulosis(Session::get('year'))->diobati_P + $item->filterObatTuberkulosis(Session::get('year'))->diobati_L>0? number_format(($item->filterObatTuberkulosis(Session::get('year'))->lengkap_P + $item->filterObatTuberkulosis(Session::get('year'))->lengkap_L) /($item->filterObatTuberkulosis(Session::get('year'))->diobati_L + $item->filterObatTuberkulosis(Session::get('year'))->diobati_P) * 100, 2):0}} {{$item->filterObatTuberkulosis(Session::get('year'))->diobati_L>0? number_format($item->filterObatTuberkulosis(Session::get('year'))->berhasil_L /$item->filterObatTuberkulosis(Session::get('year'))->diobati_L * 100, 2):0}} {{$item->filterObatTuberkulosis(Session::get('year'))->diobati_P>0? number_format($item->filterObatTuberkulosis(Session::get('year'))->berhasil_P /$item->filterObatTuberkulosis(Session::get('year'))->diobati_P * 100, 2):0}} {{$item->filterObatTuberkulosis(Session::get('year'))->berhasil_P + $item->filterObatTuberkulosis(Session::get('year'))->berhasil_L}} {{$item->filterObatTuberkulosis(Session::get('year'))->diobati_P + $item->filterObatTuberkulosis(Session::get('year'))->diobati_L>0? number_format(($item->filterObatTuberkulosis(Session::get('year'))->berhasil_P + $item->filterObatTuberkulosis(Session::get('year'))->berhasil_L) /($item->filterObatTuberkulosis(Session::get('year'))->diobati_L + $item->filterObatTuberkulosis(Session::get('year'))->diobati_P) * 100, 2):0}} {{$item->filterObatTuberkulosis(Session::get('year'))->diobati_P + $item->filterObatTuberkulosis(Session::get('year'))->diobati_L>0? number_format($item->filterObatTuberkulosis(Session::get('year'))->kematian /($item->filterObatTuberkulosis(Session::get('year'))->diobati_L + $item->filterObatTuberkulosis(Session::get('year'))->diobati_P) * 100, 2):0}}
@push('scripts') @endpush @push('scripts') @endpush @endsection