LAPORAN REKAPITULASI ABSENSI SISWA

Periode: {{ $startDate }} s/d {{ $endDate }}

@php $grouped = collect($report)->groupBy(fn($r) => $r['class_name'] ?? 'N/A'); @endphp @foreach($grouped as $className => $students)
Kelas: {{ $className }}
@foreach($students as $i => $s) @endforeach
No Nama Siswa NIS H S I A Persentase Hadir
{{ $i+1 }} {{ $s['name'] }} {{ $s['nis'] }} {{ $s['hadir'] }} {{ $s['sakit'] }} {{ $s['izin'] }} {{ $s['alpa'] }} {{ $s['percentage'] }}
@endforeach