{{ \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') }}
@foreach($rows as $r) @php $t = $r->present + $r->absent + $r->late; @endphp @endforeach
Admission NoLearnerPresentAbsentLateDays MarkedRate
{{ $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' }}%
Generated {{ now()->format('j M Y H:i') }}