@php
$no = '1';
@endphp
@forelse ($mapel as $item)
@php
$mapjur = DB::table('mapelusbns')->select('id')->where('jurusan_id',$jur->id)
->where('mapel_id',$item->mapel_id)->first();
$usbn = DB::table('usbns')->where('mapelusbn_id',$mapjur->id)
->where('tahun', $setting->tahun)->get()->count();
@endphp
@empty
@endforelse
# |
Kelompok |
Mata Pelajaran |
Aksi |
{{ $no++ }} |
{{ $item->mapel->jenis_mapel }} |
{{ $item->mapel->nama_mapel }} |
@if ($usbn>0)
@else
@endif
|
Tidak Ada Data |