@extends('layouts.app') @section('content')
No | Kecamatan | @role('Admin|superadmin')Puskesmas | @endrole @role('Puskesmas|Pihak Wajib Pajak')Desa | @endroleJumlah Ibu Hamil | TTD (90 Tablet) | @role('Admin|superadmin')Lock data | Lock upload | File Download | Detail Desa | @endrole|||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Ibu Hamil Yang Mendapatkan | % | Ibu Hamil Yang mengonsumsi | % | |||||||||||
{{$key + 1}} | {{$item->kecamatan}} | {{$item->nama}} | {{$item->ibu_hamil_per_desa(Session::get('year'))["jumlah_ibu_hamil"]}} | {{$item->ibu_hamil_per_desa(Session::get('year'))["dapat_ttd"]}} | {{$item->ibu_hamil_per_desa(Session::get('year'))["jumlah_ibu_hamil"]>0?number_format($item->ibu_hamil_per_desa(Session::get('year'))["dapat_ttd"]/$item->ibu_hamil_per_desa(Session::get('year'))["jumlah_ibu_hamil"] * 100, 2):0 }} | {{$item->ibu_hamil_per_desa(Session::get('year'))["konsumsi_ttd"]}} | {{$item->ibu_hamil_per_desa(Session::get('year'))["jumlah_ibu_hamil"]>0?number_format($item->ibu_hamil_per_desa(Session::get('year'))["konsumsi_ttd"]/$item->ibu_hamil_per_desa(Session::get('year'))["jumlah_ibu_hamil"] * 100, 2):0 }} | general_lock_get(Session::get('year'), 'filterDesa') == 1 ? "checked":""}} class="data-lock" id="{{$item->id}}"> | @if(isset($item->user) && $item->user->downloadFile('Ttd', Session::get('year')))user->downloadFile('Ttd', Session::get('year'))->status == 1 ? "checked":""}} class="data-lock-upload" id="{{$item->user->id}}"> | @elseif(isset($item->user) && !$item->user->downloadFile('Ttd', Session::get('year')))@else | - | @endif @if(isset($item->user) && $item->user->hasFile('Ttd', Session::get('year')))@if($item->user->downloadFile('Ttd', Session::get('year'))->file_name != "-") Download pdf file @else - @endif | @else- | @endif|
{{$key + 1}} | {{$item->UnitKerja->kecamatan}} | {{$item->nama}} | {{$item->filterDesa(Session::get('year'))->jumlah_ibu_hamil}} | {{$item->filterDesa(Session::get('year'))->jumlah_ibu_hamil>0?number_format($item->filterDesa(Session::get('year'))->dapat_ttd/$item->filterDesa(Session::get('year'))->jumlah_ibu_hamil * 100, 2):0}} | {{$item->filterDesa(Session::get('year'))->jumlah_ibu_hamil>0?number_format($item->filterDesa(Session::get('year'))->konsumsi_ttd/$item->filterDesa(Session::get('year'))->jumlah_ibu_hamil * 100, 2):0}} |