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