@extends('layouts.app') @section('content')

Detail Wilayah

@csrf
{{--
@csrf

Export
--}}
@if(Auth::user()->downloadFile('Obat', Session::get('year')))
@csrf downloadFile('Obat', Session::get('year'))->status == 1 ?"disabled":""}} class="form-control" placeholder="upload PDF file">
@else
@csrf
@endif @if(Auth::user()->hasFile('Obat', Session::get('year')) && Auth::user()->downloadFile('Obat', Session::get('year'))->file_name != "-") Download pdf file @endif Report
@role('Admin|superadmin') @foreach ($obat as $key => $item) @endforeach @endrole
No Nama Obat Satuan Ketersediaan obat esensial
{{$key + 1}} {{$item->nama_obat}} {{$item->satuan}}
status == 1?"checked":""}} name="diatas_80" id="{{$item->id}}" class="data-input">
status == 2?"checked":""}} name="dibawah_80" id="{{$item->id}}" class="data-input">
JUMLAH ITEM OBAT INDIKATOR YANG TERSEDIA DI KABUPATEN/KOTA {{$obat_tersedia}}
JUMLAH ITEM OBAT INDIKATOR {{$total_obat}}
% KABUPATEN/KOTA DENGAN KETERSEDIAAN OBAT ESENSIAL {{$total_obat?number_format($obat_tersedia/$total_obat * 100, 2):0}}%
@push('scripts') @endpush @push('scripts') @endpush @endsection