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

Detail Wilayah

@csrf
{{--

Pengguna

--}} {{--

DataTables has most features enabled by default, so all you need to do to use it with your own tables is to call the construction function: $().DataTable();.

--}}
{{--
@csrf

Export
--}}
@if(Auth::user()->downloadFile('JaminanKesehatan', Session::get('year')))
@csrf downloadFile('JaminanKesehatan', Session::get('year'))->status == 1 ?"disabled":""}} class="form-control" placeholder="upload PDF file">
@else
@csrf
@endif @if(Auth::user()->hasFile('JaminanKesehatan', Session::get('year')) && Auth::user()->downloadFile('JaminanKesehatan', Session::get('year'))->file_name != "-") Download pdf file @endif Report
@role('Admin|superadmin') @foreach ($pbi as $key => $item) @endforeach @foreach ($nonPbi as $key => $item) @endforeach @endrole
No Jenis Kepesertaan Peserta Jaminan Kesehatan
jumlah %
PENERIMA BANTUAN IURAN (PBI)
{{$key + 1}} {{$item->nama_kepesertaan}} {{$totalPenduduk>0?number_format($item->jumlah/$totalPenduduk, 2):1}}
Sub Jumlah Pbi {{$jumlahPbi}} {{$totalPenduduk>0?number_format($jumlahPbi/$totalPenduduk, 2):0}}
NON PBI
{{$key + 1}} {{$item->nama_kepesertaan}} {{$totalPenduduk>0?number_format($item->jumlah/$totalPenduduk, 2):0}}
Sub Jumlah Non Pbi {{$jumlahNonPbi}} {{$totalPenduduk>0?number_format($jumlahNonPbi/$totalPenduduk, 2):0}}
JUMLAH KAB/KOTA {{$jumlahNonPbi + $jumlahPbi}} {{$totalPenduduk>0?number_format($jumlahNonPbi + $jumlahPbi/$totalPenduduk, 2):0}}
@push('scripts') @endpush @push('scripts') @endpush @endsection