@role('Admin|superadmin')
@foreach ($unit_kerja as $key => $item)
{{$item->kecamatan}} |
{{$item->nama}} |
{{$item->peserta_didik_per_desa(Session::get('year'))["jumlah_kelas_1"]}} |
{{$item->peserta_didik_per_desa(Session::get('year'))["pelayanan_kelas_1"]}} |
{{$item->peserta_didik_per_desa(Session::get('year'))["pelayanan_kelas_1"] > 0?number_format($item->peserta_didik_per_desa(Session::get('year'))["pelayanan_kelas_1"]/$item->peserta_didik_per_desa(Session::get('year'))["jumlah_kelas_1"] * 100, 2):0}} |
{{$item->peserta_didik_per_desa(Session::get('year'))["jumlah_kelas_7"]}} |
{{$item->peserta_didik_per_desa(Session::get('year'))["pelayanan_kelas_7"]}} |
{{$item->peserta_didik_per_desa(Session::get('year'))["pelayanan_kelas_7"] > 0?number_format($item->peserta_didik_per_desa(Session::get('year'))["pelayanan_kelas_7"]/$item->peserta_didik_per_desa(Session::get('year'))["jumlah_kelas_7"] * 100, 2):0}} |
{{$item->peserta_didik_per_desa(Session::get('year'))["jumlah_kelas_10"]}} |
{{$item->peserta_didik_per_desa(Session::get('year'))["pelayanan_kelas_10"]}} |
{{$item->peserta_didik_per_desa(Session::get('year'))["pelayanan_kelas_10"] > 0?number_format($item->peserta_didik_per_desa(Session::get('year'))["pelayanan_kelas_10"]/$item->peserta_didik_per_desa(Session::get('year'))["jumlah_kelas_10"] * 100, 2):0}} |
{{$item->peserta_didik_per_desa(Session::get('year'))["jumlah_usia_dasar"]}} |
{{$item->peserta_didik_per_desa(Session::get('year'))["pelayanan_usia_dasar"]}} |
{{$item->peserta_didik_per_desa(Session::get('year'))["pelayanan_usia_dasar"] > 0?number_format($item->peserta_didik_per_desa(Session::get('year'))["pelayanan_usia_dasar"]/$item->peserta_didik_per_desa(Session::get('year'))["jumlah_usia_dasar"] * 100, 2):0}} |
{{$item->peserta_didik_per_desa(Session::get('year'))["jumlah_sd"]}} |
{{$item->peserta_didik_per_desa(Session::get('year'))["pelayanan_sd"]}} |
{{$item->peserta_didik_per_desa(Session::get('year'))["pelayanan_sd"] > 0?number_format($item->peserta_didik_per_desa(Session::get('year'))["pelayanan_sd"]/$item->peserta_didik_per_desa(Session::get('year'))["jumlah_sd"] * 100, 2):0}} |
{{$item->peserta_didik_per_desa(Session::get('year'))["jumlah_smp"]}} |
{{$item->peserta_didik_per_desa(Session::get('year'))["pelayanan_smp"]}} |
{{$item->peserta_didik_per_desa(Session::get('year'))["pelayanan_smp"] > 0?number_format($item->peserta_didik_per_desa(Session::get('year'))["pelayanan_smp"]/$item->peserta_didik_per_desa(Session::get('year'))["jumlah_smp"] * 100, 2):0}} |
{{$item->peserta_didik_per_desa(Session::get('year'))["jumlah_sma"]}} |
{{$item->peserta_didik_per_desa(Session::get('year'))["pelayanan_sma"]}} |
{{$item->peserta_didik_per_desa(Session::get('year'))["pelayanan_sma"] > 0?number_format($item->peserta_didik_per_desa(Session::get('year'))["pelayanan_sma"]/$item->peserta_didik_per_desa(Session::get('year'))["jumlah_sma"] * 100, 2):0}} |
@endforeach
TOTAL |
|
{{$total_kelas_1}} |
{{$total_pelayanan_kelas_1}} |
{{$total_pelayanan_kelas_1 > 0?number_format($total_pelayanan_kelas_1/$total_kelas_1 * 100, 2):0}} |
{{$total_kelas_7}} |
{{$total_pelayanan_kelas_7}} |
{{$total_pelayanan_kelas_7 > 0?number_format($total_pelayanan_kelas_7/$total_kelas_7 * 100, 2):0}} |
{{$total_kelas_10}} |
{{$total_pelayanan_kelas_10}} |
{{$total_pelayanan_kelas_10 > 0?number_format($total_pelayanan_kelas_10/$total_kelas_10 * 100, 2):0}} |
{{$total_usia_dasar}} |
{{$total_pelayanan_usia_dasar}} |
{{$total_pelayanan_usia_dasar > 0?number_format($total_pelayanan_usia_dasar/$total_usia_dasar * 100, 2):0}} |
{{$total_sd}} |
{{$total_pelayanan_sd}} |
{{$total_pelayanan_sd > 0?number_format($total_pelayanan_sd/$total_sd * 100, 2):0}} |
{{$total_smp}} |
{{$total_pelayanan_smp}} |
{{$total_pelayanan_smp > 0?number_format($total_pelayanan_smp/$total_smp * 100, 2):0}} |
{{$total_sma}} |
{{$total_pelayanan_sma}} |
{{$total_pelayanan_sma > 0?number_format($total_pelayanan_sma/$total_sma * 100, 2):0}} |
|
@endrole
@role('Puskesmas|Pihak Wajib Pajak')
@foreach ($desa as $key => $item)
@if($item->filterPesertaDidik(Session::get('year')))
{{$item->UnitKerja->kecamatan}} |
{{$item->nama}} |
{{$item->filterPesertaDidik(Session::get('year'))->jumlah_kelas_1}} |
{{$item->filterPesertaDidik(Session::get('year'))->pelayanan_kelas_1}} |
{{$item->filterPesertaDidik(Session::get('year'))->jumlah_kelas_1 > 0?number_format($item->filterPesertaDidik(Session::get('year'))->pelayanan_kelas_1/($item->filterPesertaDidik(Session::get('year'))->jumlah_kelas_1)*100, 2):0}}% |
{{$item->filterPesertaDidik(Session::get('year'))->jumlah_kelas_7}} |
{{$item->filterPesertaDidik(Session::get('year'))->pelayanan_kelas_7}} |
{{$item->filterPesertaDidik(Session::get('year'))->jumlah_kelas_7 > 0?number_format($item->filterPesertaDidik(Session::get('year'))->pelayanan_kelas_7/($item->filterPesertaDidik(Session::get('year'))->jumlah_kelas_7)*100, 2):0}}% |
{{$item->filterPesertaDidik(Session::get('year'))->jumlah_kelas_10}} |
{{$item->filterPesertaDidik(Session::get('year'))->pelayanan_kelas_10}} |
{{$item->filterPesertaDidik(Session::get('year'))->jumlah_kelas_10 > 0?number_format($item->filterPesertaDidik(Session::get('year'))->pelayanan_kelas_10/($item->filterPesertaDidik(Session::get('year'))->jumlah_kelas_10)*100, 2):0}}% |
{{$item->filterPesertaDidik(Session::get('year'))->jumlah_usia_dasar}} |
{{$item->filterPesertaDidik(Session::get('year'))->pelayanan_usia_dasar}} |
{{$item->filterPesertaDidik(Session::get('year'))->jumlah_usia_dasar > 0?number_format($item->filterPesertaDidik(Session::get('year'))->pelayanan_usia_dasar/($item->filterPesertaDidik(Session::get('year'))->jumlah_usia_dasar)*100, 2):0}}% |
{{$item->filterPesertaDidik(Session::get('year'))->jumlah_sd}} |
{{$item->filterPesertaDidik(Session::get('year'))->pelayanan_sd}} |
{{$item->filterPesertaDidik(Session::get('year'))->jumlah_sd > 0?number_format($item->filterPesertaDidik(Session::get('year'))->pelayanan_sd/($item->filterPesertaDidik(Session::get('year'))->jumlah_sd)*100, 2):0}}% |
{{$item->filterPesertaDidik(Session::get('year'))->jumlah_smp}} |
{{$item->filterPesertaDidik(Session::get('year'))->pelayanan_smp}} |
{{$item->filterPesertaDidik(Session::get('year'))->jumlah_smp > 0?number_format($item->filterPesertaDidik(Session::get('year'))->pelayanan_smp/($item->filterPesertaDidik(Session::get('year'))->jumlah_smp)*100, 2):0}}% |
{{$item->filterPesertaDidik(Session::get('year'))->jumlah_sma}} |
{{$item->filterPesertaDidik(Session::get('year'))->pelayanan_sma}} |
{{$item->filterPesertaDidik(Session::get('year'))->jumlah_smp > 0?number_format($item->filterPesertaDidik(Session::get('year'))->pelayanan_smp/($item->filterPesertaDidik(Session::get('year'))->jumlah_smp)*100, 2):0}}% |
@endif
@endforeach
|
|
{{$total_kelas_1}} |
{{$total_pelayanan_kelas_1}} |
{{$total_pelayanan_kelas_1 > 0?number_format($total_pelayanan_kelas_1/$total_kelas_1 * 100, 2):0}} |
{{$total_kelas_7}} |
{{$total_pelayanan_kelas_7}} |
{{$total_pelayanan_kelas_7 > 0?number_format($total_pelayanan_kelas_7/$total_kelas_7 * 100, 2):0}} |
{{$total_kelas_10}} |
{{$total_pelayanan_kelas_10}} |
{{$total_pelayanan_kelas_10 > 0?number_format($total_pelayanan_kelas_10/$total_kelas_10 * 100, 2):0}} |
{{$total_usia_dasar}} |
{{$total_pelayanan_usia_dasar}} |
{{$total_pelayanan_usia_dasar > 0?number_format($total_pelayanan_usia_dasar/$total_usia_dasar * 100, 2):0}} |
{{$total_sd}} |
{{$total_pelayanan_sd}} |
{{$total_pelayanan_sd > 0?number_format($total_pelayanan_sd/$total_sd * 100, 2):0}} |
{{$total_smp}} |
{{$total_pelayanan_smp}} |
{{$total_pelayanan_smp > 0?number_format($total_pelayanan_smp/$total_smp * 100, 2):0}} |
{{$total_sma}} |
{{$total_pelayanan_sma}} |
{{$total_pelayanan_sma > 0?number_format($total_pelayanan_sma/$total_sma * 100, 2):0}} |
|
@endrole