{{ \App\Models\Setting::school() }}
Student Attendance Report — {{ $class->name ?? 'All classes' }}
{{ \Carbon\Carbon::parse($from)->format('j M Y') }} to {{ \Carbon\Carbon::parse($to)->format('j M Y') }}
Admission No
Learner
Present
Absent
Late
Days Marked
Rate
@foreach($rows as $r) @php $t = $r->present + $r->absent + $r->late; @endphp
{{ $r->admission_no }}
{{ $r->first_name }} {{ $r->surname }}
{{ $r->present }}
{{ $r->absent }}
{{ $r->late }}
{{ $r->marked }}
{{ $t ? number_format($r->present / $t * 100, 1) : '0' }}%
@endforeach
Generated {{ now()->format('j M Y H:i') }}