@extends('layouts.app') @section('content')
No | Kecamatan | @role('Admin|superadmin')Puskesmas | @endrole @role('Puskesmas|Pihak Wajib Pajak')Desa | @endroleODHIV Baru Ditemukan | ODHIV Baru Ditemukan dan Mendapatkan Pengobatan ARV | Persentase ODHIV Baru Mendapat Pengobatan ARV | @role('Admin|superadmin')Lock data | Lock upload | File Download | Detail Desa | @endrole||
---|---|---|---|---|---|---|---|---|---|---|---|---|
{{$key + 1}} | {{$item->kecamatan}} | {{$item->nama}} | {{$item->unitKerjaAmbil('filterOdhiv', Session::get('year'), 'baru')["total"]}} | {{$item->unitKerjaAmbil('filterOdhiv', Session::get('year'), 'arv')["total"]}} | {{$item->unitKerjaAmbil('filterOdhiv', Session::get('year'), 'arv')["total"] > 0? number_format($item->unitKerjaAmbil('filterOdhiv', Session::get('year'), 'baru')["total"] /$item->unitKerjaAmbil('filterOdhiv', Session::get('year'), 'arv')["total"] * 100, 2 ):0}} | general_lock_get(Session::get('year'), 'filterOdhiv') == 1 ? "checked":""}} {{$item->general_lock_get(Session::get('year'), 'filterOdhiv') == 2 ? "disabled":""}} class="data-lock" id="{{$item->id}}"> | @if(isset($item->user) && $item->user->downloadFile('Odhiv', Session::get('year')))user->downloadFile('Odhiv', Session::get('year'))->status == 1 ? "checked":""}} class="data-lock-upload" id="{{$item->user->id}}"> | @elseif(isset($item->user) && !$item->user->downloadFile('Odhiv', Session::get('year')))@else | - | @endif @if(isset($item->user) && $item->user->hasFile('Odhiv', Session::get('year')))@if($item->user->downloadFile('Odhiv', Session::get('year'))->file_name != "-") Download pdf file @else - @endif | @else- | @endif|
{{$key + 1}} | {{$item->UnitKerja->kecamatan}} | {{$item->nama}} | {{$item->filterOdhiv(Session::get('year'))->arv>0? number_format($item->filterOdhiv(Session::get('year'))->baru /$item->filterOdhiv(Session::get('year'))->arv * 100, 2):0}} |