@extends('layouts.app') @section('content')
No | Kecamatan | @role('Admin|superadmin')Puskesmas | @endrole @role('Puskesmas|Pihak Wajib Pajak')Desa | @endroleJumlah Baduta | Baduta Diimunisasi | @role('Admin|superadmin')Lock data | Lock upload | File Download | Detail Desa | @endrole|||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DPT-HB-Hib4 | CAMPAK RUBELA2 | |||||||||||||||||||||||
L | P | L+P | L | P | L+P | |||||||||||||||||||
L | P | L+P | Jumlah | % | Jumlah | % | Jumlah | % | Jumlah | % | Jumlah | % | Jumlah | % | ||||||||||
{{$key + 1}} | {{$item->kecamatan}} | {{$item->nama}} | {{$item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'jumlah_L')["total"]}} | {{$item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'jumlah_P')["total"]}} | {{$item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'jumlah_P')["total"] + $item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'jumlah_L')["total"]}} | {{$item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'dpt_L')["total"]}} | {{$item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'jumlah_L')["total"] > 0? number_format($item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'dpt_L')["total"] /$item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'jumlah_L')["total"] * 100, 2 ):0}} | {{$item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'dpt_P')["total"]}} | {{$item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'jumlah_P')["total"] > 0? number_format($item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'dpt_P')["total"] /$item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'jumlah_P')["total"] * 100, 2 ):0}} | {{$item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'dpt_P')["total"] + $item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'dpt_L')["total"]}} | {{$item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'jumlah_P')["total"] + $item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'jumlah_L')["total"] > 0? number_format(($item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'dpt_P')["total"] + $item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'dpt_L')["total"]) /($item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'jumlah_P')["total"] + $item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'jumlah_L')["total"]) * 100, 2 ):0}} | {{$item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'rubela_L')["total"]}} | {{$item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'jumlah_L')["total"] > 0? number_format($item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'rubela_L')["total"] /$item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'jumlah_L')["total"] * 100, 2 ):0}} | {{$item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'rubela_P')["total"]}} | {{$item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'jumlah_P')["total"] > 0? number_format($item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'rubela_P')["total"] /$item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'jumlah_P')["total"] * 100, 2 ):0}} | {{$item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'rubela_P')["total"] + $item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'rubela_L')["total"]}} | {{$item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'jumlah_P')["total"] + $item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'jumlah_L')["total"] > 0? number_format(($item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'rubela_P')["total"] + $item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'rubela_L')["total"]) /($item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'jumlah_P')["total"] + $item->unitKerjaAmbil('filterBadutaImunisasi', Session::get('year'), 'jumlah_L')["total"]) * 100, 2 ):0}} | general_lock_get(Session::get('year'), 'filterBadutaImunisasi') == 1 ? "checked":""}} class="data-lock" id="{{$item->id}}"> | @if(isset($item->user) && $item->user->downloadFile('BadutaImunisasi', Session::get('year')))user->downloadFile('BadutaImunisasi', Session::get('year'))->status == 1 ? "checked":""}} class="data-lock-upload" id="{{$item->user->id}}"> | @elseif(isset($item->user) && !$item->user->downloadFile('BadutaImunisasi', Session::get('year')))@else | - | @endif @if(isset($item->user) && $item->user->hasFile('BadutaImunisasi', Session::get('year')))@if($item->user->downloadFile('BadutaImunisasi', Session::get('year'))->file_name != "-") Download pdf file @else - @endif | @else- | @endif|
{{$key + 1}} | {{$item->UnitKerja->kecamatan}} | {{$item->nama}} | {{$item->filterBadutaImunisasi(Session::get('year'))->jumlah_P + $item->filterBadutaImunisasi(Session::get('year'))->jumlah_L}} | {{$item->filterBadutaImunisasi(Session::get('year'))->jumlah_L>0? number_format($item->filterBadutaImunisasi(Session::get('year'))->dpt_L /$item->filterBadutaImunisasi(Session::get('year'))->jumlah_L * 100, 2):0}} | {{$item->filterBadutaImunisasi(Session::get('year'))->jumlah_P>0? number_format($item->filterBadutaImunisasi(Session::get('year'))->dpt_P /$item->filterBadutaImunisasi(Session::get('year'))->jumlah_P * 100, 2):0}} | {{$item->filterBadutaImunisasi(Session::get('year'))->dpt_P + $item->filterBadutaImunisasi(Session::get('year'))->dpt_L}} | {{$item->filterBadutaImunisasi(Session::get('year'))->jumlah_P + $item->filterBadutaImunisasi(Session::get('year'))->jumlah_L>0? number_format(($item->filterBadutaImunisasi(Session::get('year'))->dpt_P + $item->filterBadutaImunisasi(Session::get('year'))->dpt_L) /($item->filterBadutaImunisasi(Session::get('year'))->jumlah_P + $item->filterBadutaImunisasi(Session::get('year'))->jumlah_L) * 100, 2):0}} | {{$item->filterBadutaImunisasi(Session::get('year'))->jumlah_L>0? number_format($item->filterBadutaImunisasi(Session::get('year'))->rubela_L /$item->filterBadutaImunisasi(Session::get('year'))->jumlah_L * 100, 2):0}} | {{$item->filterBadutaImunisasi(Session::get('year'))->jumlah_P>0? number_format($item->filterBadutaImunisasi(Session::get('year'))->rubela_P /$item->filterBadutaImunisasi(Session::get('year'))->jumlah_P * 100, 2):0}} | {{$item->filterBadutaImunisasi(Session::get('year'))->rubela_P + $item->filterBadutaImunisasi(Session::get('year'))->rubela_L}} | {{$item->filterBadutaImunisasi(Session::get('year'))->jumlah_P + $item->filterBadutaImunisasi(Session::get('year'))->jumlah_L>0? number_format(($item->filterBadutaImunisasi(Session::get('year'))->rubela_P + $item->filterBadutaImunisasi(Session::get('year'))->rubela_L) /($item->filterBadutaImunisasi(Session::get('year'))->jumlah_P + $item->filterBadutaImunisasi(Session::get('year'))->jumlah_L) * 100, 2):0}} |