@extends('layouts.app') @section('content')
No | Kecamatan | @role('Admin|superadmin')Puskesmas | @endrole @role('Puskesmas|Pihak Wajib Pajak')Desa | @endroleBayi Baru Lahir | Bayi Usia < 6 Bulan | @role('Admin|superadmin')Lock data | Lock upload | File Download | Detail Desa | @endrole||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Jumlah | Mendapat Imd | Jumlah | Mendapat Asi | ||||||||||||
jumlah | % | jumlah | % | ||||||||||||
{{$key + 1}} | {{$item->kecamatan}} | {{$item->nama}} | {{$item->unitKerjaAmbil('filterImdAsi', Session::get('year'), 'jumlah_baru_lahir')["total"]}} | {{$item->unitKerjaAmbil('filterImdAsi', Session::get('year'), 'mendapat_imd')["total"]}} | {{$item->unitKerjaAmbil('filterImdAsi', Session::get('year'), 'jumlah_baru_lahir')["total"] > 0? number_format($item->unitKerjaAmbil('filterImdAsi', Session::get('year'), 'mendapat_imd')["total"] /$item->unitKerjaAmbil('filterImdAsi', Session::get('year'), 'jumlah_baru_lahir')["total"] * 100, 2 ):0 }} | {{$item->unitKerjaAmbil('filterImdAsi', Session::get('year'), 'jumlah_enam_bulan')["total"]}} | {{$item->unitKerjaAmbil('filterImdAsi', Session::get('year'), 'mendapat_asi')["total"]}} | {{$item->unitKerjaAmbil('filterImdAsi', Session::get('year'), 'jumlah_enam_bulan')["total"] > 0? number_format($item->unitKerjaAmbil('filterImdAsi', Session::get('year'), 'mendapat_asi')["total"] /$item->unitKerjaAmbil('filterImdAsi', Session::get('year'), 'jumlah_enam_bulan')["total"] * 100, 2 ):0 }} | general_lock_get(Session::get('year'), 'filterImdAsi') == 1 ? "checked":""}} {{$item->general_lock_get(Session::get('year'), 'filterImdAsi') == 2 ? "disabled":""}} class="data-lock" id="{{$item->id}}"> | @if(isset($item->user) && $item->user->downloadFile('ImdAsi', Session::get('year')))user->downloadFile('ImdAsi', Session::get('year'))->status == 1 ? "checked":""}} {{$item->user->downloadFile('ImdAsi', Session::get('year'))->status == 2 ? "disabled":""}} class="data-lock-upload" id="{{$item->user->id}}"> | @elseif(isset($item->user) && !$item->user->downloadFile('ImdAsi', Session::get('year')))@else | - | @endif @if(isset($item->user) && $item->user->hasFile('ImdAsi', Session::get('year')))@if($item->user->downloadFile('ImdAsi', Session::get('year'))->file_name != "-") Download pdf file @else - @endif | @else- | @endif|
{{$key + 1}} | {{$item->UnitKerja->kecamatan}} | {{$item->nama}} | {{$item->filterImdAsi(Session::get('year'))->jumlah_baru_lahir>0? number_format($item->filterImdAsi(Session::get('year'))->mendapat_imd /$item->filterImdAsi(Session::get('year'))->jumlah_baru_lahir * 100, 2):0}} | {{$item->filterImdAsi(Session::get('year'))->jumlah_enam_bulan>0? number_format($item->filterImdAsi(Session::get('year'))->mendapat_asi /$item->filterImdAsi(Session::get('year'))->jumlah_enam_bulan * 100, 2):0}} |