@extends('layouts.staff_dashboard') @section('title', 'Select Course - Attendance') @section('content')

Attendance — Select Course

Choose any allocated course below to view the attendance register or mark hourly attendance.

Total: {{ $totalCourses ?? 0 }} Current: {{ $activeCoursesCount ?? 0 }} Completed: {{ $completedCoursesCount ?? 0 }} Showing ({{ ucfirst($currentFilter ?? 'current') }}): {{ $courses->count() }}
@include('staff.attendance.partials.courses_grid', ['courses' => $courses, 'currentFilter' => $currentFilter ?? 'current'])
@endsection