@extends('layouts.app') @section('content')
No | Kecamatan | @role('Admin|superadmin')Puskesmas | @endrole @role('Puskesmas|Pihak Wajib Pajak')Desa | @endroleJumlah Balita Yang Ditimbang | Balita Berat Badan Kurang (BB/U) | Jumlah Balita Yang Diukur Tinggi Badan | Balita Pendek (TB/U) | Jumlah Balita Yang Diukur Tinggi Badan | Balita Kurang Gizi (BB/TB: < -2 s.d -3 SD) | Balita Gizi Buruk(BB/TB: < -3 SD) | @role('Admin|superadmin')Lock data | Lock upload | File Download | Detail Desa | @endrole||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Jumlah | % | Jumlah | % | Jumlah | % | Jumlah | % | |||||||||||||
{{$key + 1}} | {{$item->kecamatan}} | {{$item->nama}} | {{$item->unitKerjaAmbil('filterStatusGizi', Session::get('year'), 'jumlah_timbang')["total"]}} | {{$item->unitKerjaAmbil('filterStatusGizi', Session::get('year'), 'bb_kurang')["total"]}} | {{$item->unitKerjaAmbil('filterStatusGizi', Session::get('year'), 'jumlah_timbang')["total"] > 0? number_format($item->unitKerjaAmbil('filterStatusGizi', Session::get('year'), 'bb_kurang')["total"] /$item->unitKerjaAmbil('filterStatusGizi', Session::get('year'), 'jumlah_timbang')["total"] * 100, 2 ):0}} | {{$item->unitKerjaAmbil('filterStatusGizi', Session::get('year'), 'jumlah_tinggi')["total"]}} | {{$item->unitKerjaAmbil('filterStatusGizi', Session::get('year'), 'tb_kurang')["total"]}} | {{$item->unitKerjaAmbil('filterStatusGizi', Session::get('year'), 'jumlah_tinggi')["total"] > 0? number_format($item->unitKerjaAmbil('filterStatusGizi', Session::get('year'), 'tb_kurang')["total"] /$item->unitKerjaAmbil('filterStatusGizi', Session::get('year'), 'jumlah_tinggi')["total"] * 100, 2 ):0}} | {{$item->unitKerjaAmbil('filterStatusGizi', Session::get('year'), 'jumlah_gizi')["total"]}} | {{$item->unitKerjaAmbil('filterStatusGizi', Session::get('year'), 'gizi_kurang')["total"]}} | {{$item->unitKerjaAmbil('filterStatusGizi', Session::get('year'), 'jumlah_gizi')["total"] > 0? number_format($item->unitKerjaAmbil('filterStatusGizi', Session::get('year'), 'gizi_kurang')["total"] /$item->unitKerjaAmbil('filterStatusGizi', Session::get('year'), 'jumlah_gizi')["total"] * 100, 2 ):0}} | {{$item->unitKerjaAmbil('filterStatusGizi', Session::get('year'), 'gizi_buruk')["total"]}} | {{$item->unitKerjaAmbil('filterStatusGizi', Session::get('year'), 'jumlah_gizi')["total"] > 0? number_format($item->unitKerjaAmbil('filterStatusGizi', Session::get('year'), 'gizi_buruk')["total"] /$item->unitKerjaAmbil('filterStatusGizi', Session::get('year'), 'jumlah_gizi')["total"] * 100, 2 ):0}} | general_lock_get(Session::get('year'), 'filterStatusGizi') == 1 ? "checked":""}} {{$item->general_lock_get(Session::get('year'), 'filterStatusGizi') == 2 ? "disabled":""}} class="data-lock" id="{{$item->id}}"> | @if(isset($item->user) && $item->user->downloadFile('StatusGizi', Session::get('year')))user->downloadFile('StatusGizi', Session::get('year'))->status == 1 ? "checked":""}} class="data-lock-upload" id="{{$item->user->id}}"> | @elseif(isset($item->user) && !$item->user->downloadFile('StatusGizi', Session::get('year')))@else | - | @endif @if(isset($item->user) && $item->user->hasFile('StatusGizi', Session::get('year')))@if($item->user->downloadFile('StatusGizi', Session::get('year'))->file_name != "-") Download pdf file @else - @endif | @else- | @endif|
{{$key + 1}} | {{$item->UnitKerja->kecamatan}} | {{$item->nama}} | {{$item->filterStatusGizi(Session::get('year'))->jumlah_timbang>0? number_format($item->filterStatusGizi(Session::get('year'))->bb_kurang /$item->filterStatusGizi(Session::get('year'))->jumlah_timbang * 100, 2):0}} | {{$item->filterStatusGizi(Session::get('year'))->jumlah_tinggi>0? number_format($item->filterStatusGizi(Session::get('year'))->tb_kurang /$item->filterStatusGizi(Session::get('year'))->jumlah_tinggi * 100, 2):0}} | {{$item->filterStatusGizi(Session::get('year'))->jumlah_gizi>0? number_format($item->filterStatusGizi(Session::get('year'))->gizi_kurang /$item->filterStatusGizi(Session::get('year'))->jumlah_gizi * 100, 2):0}} | {{$item->filterStatusGizi(Session::get('year'))->jumlah_gizi>0? number_format($item->filterStatusGizi(Session::get('year'))->gizi_buruk /$item->filterStatusGizi(Session::get('year'))->jumlah_gizi * 100, 2):0}} |