@extends('layouts.teacher-portal') @section('title', 'Attendance History') @section('header', 'Attendance History') @section('content')
School days: {{ $schoolDays }} Students recorded: {{ $rows->count() }}
@forelse ($rows as $row) @empty @endforelse
Student Present Absent Late Excused Rate
{{ $row->student?->full_name }} {{ $row->present }} {{ $row->absent }} {{ $row->late }} {{ $row->excused }} {{ number_format($row->rate, 1) }}%
No attendance records for this period.
@endsection