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

Tuberkulosis

@if(Auth::user()->downloadFile('Tuberkulosis', Session::get('year')))
@csrf downloadFile('Tuberkulosis', Session::get('year'))->status == 1 ?"disabled":""}} class="form-control" placeholder="upload PDF file">
@else
@csrf
@endif @if(Auth::user()->hasFile('Tuberkulosis', 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('Tuberkulosis', Session::get('year'))) @elseif(isset($item->user) && !$item->user->downloadFile('Tuberkulosis', Session::get('year'))) @else @endif @if(isset($item->user) && $item->user->hasFile('Tuberkulosis', Session::get('year'))) @else @endif @endforeach @endrole @role('Puskesmas|Pihak Wajib Pajak') @foreach ($desa as $key => $item) @if($item->filterTuberkulosis(Session::get('year'))) @endif @endforeach @endrole
No KecamatanPuskesmasDesaJumlah Terduga Tuberkulosis Jumlah Semua Kasus Tuberkulosis Kasus Tuberkulosis anak 0-14 tahunLock data Lock Upload File Download Detail Desa
Laki Laki Perempuan Laki Laki + Perempuan
Jumlah % Jumlah %
{{$key + 1}} {{$item->kecamatan}} {{$item->nama}} {{$item->tuberkulosis_per_desa(Session::get('year'))["terduga_kasus"]}} {{$item->tuberkulosis_per_desa(Session::get('year'))["kasus_L"]}} {{$item->tuberkulosis_per_desa(Session::get('year'))["kasus_LP"] > 0?number_format($item->tuberkulosis_per_desa(Session::get('year'))["kasus_L"]/$item->tuberkulosis_per_desa(Session::get('year'))["kasus_LP"]*100, 2):0}}% {{$item->tuberkulosis_per_desa(Session::get('year'))["kasus_P"]}} {{$item->tuberkulosis_per_desa(Session::get('year'))["kasus_LP"] > 0?number_format($item->tuberkulosis_per_desa(Session::get('year'))["kasus_P"]/$item->tuberkulosis_per_desa(Session::get('year'))["kasus_LP"]*100, 2):0}}% {{$item->tuberkulosis_per_desa(Session::get('year'))["kasus_LP"]}} {{$item->tuberkulosis_per_desa(Session::get('year'))["kasus_anak"]}} tuberkulosis_lock_get(Session::get('year')) == 1 ? "checked":""}} class="data-lock" id="{{$item->id}}">user->downloadFile('Tuberkulosis', Session::get('year'))->status == 1 ? "checked":""}} class="data-lock-upload" id="{{$item->user->id}}">- @if($item->user->downloadFile('Tuberkulosis', Session::get('year'))->file_name != "-") Download pdf file @else - @endif -
{{$total_terduga_kasus}} {{$total_kasus_L}} {{$total_kasus_LP > 0?number_format($total_kasus_L/$total_kasus_LP*100, 2):0}}% {{$total_kasus_P}} {{$total_kasus_LP > 0?number_format($total_kasus_P/$total_kasus_LP*100, 2):0}}% {{$total_kasus_LP}} {{$total_kasus_anak}}
{{$key + 1}} {{$item->UnitKerja->nama}} {{$item->nama}} filterTuberkulosis(Session::get('year'))->status == 1?"disabled":""}} name="terduga_kasus" id="{{$item->filterTuberkulosis(Session::get('year'))->id}}" value="{{$item->filterTuberkulosis(Session::get('year'))->terduga_kasus}}" class="form-control data-input" style="border: none"> filterTuberkulosis(Session::get('year'))->status == 1?"disabled":""}} name="kasus_L" id="{{$item->filterTuberkulosis(Session::get('year'))->id}}" value="{{$item->filterTuberkulosis(Session::get('year'))->kasus_L}}" class="form-control data-input" style="border: none"> {{$item->filterTuberkulosis(Session::get('year'))->kasus_LP>0?number_format($item->filterTuberkulosis(Session::get('year'))->kasus_L / $item->filterTuberkulosis(Session::get('year'))->kasus_LP * 100, 2):0}}% filterTuberkulosis(Session::get('year'))->status == 1?"disabled":""}} name="kasus_P" id="{{$item->filterTuberkulosis(Session::get('year'))->id}}" value="{{$item->filterTuberkulosis(Session::get('year'))->kasus_L}}" class="form-control data-input" style="border: none"> {{$item->filterTuberkulosis(Session::get('year'))->kasus_LP>0?number_format($item->filterTuberkulosis(Session::get('year'))->kasus_P / $item->filterTuberkulosis(Session::get('year'))->kasus_LP * 100, 2):0}}% filterTuberkulosis(Session::get('year'))->status == 1?"disabled":""}} name="kasus_LP" id="{{$item->filterTuberkulosis(Session::get('year'))->id}}" value="{{$item->filterTuberkulosis(Session::get('year'))->kasus_LP}}" class="form-control data-input" style="border: none"> filterTuberkulosis(Session::get('year'))->status == 1?"disabled":""}} name="kasus_anak" id="{{$item->filterTuberkulosis(Session::get('year'))->id}}" value="{{$item->filterTuberkulosis(Session::get('year'))->kasus_anak}}" class="form-control data-input" style="border: none">
{{$total_terduga_kasus}} {{$total_kasus_L}} {{$total_kasus_LP > 0?number_format($total_kasus_L/$total_kasus_LP*100, 2):0}}% {{$total_kasus_P}} {{$total_kasus_LP > 0?number_format($total_kasus_P/$total_kasus_LP*100, 2):0}}% {{$total_kasus_LP}} {{$total_kasus_anak}}
@push('scripts') @endpush @push('scripts') @endpush @endsection