@extends('layouts.main_dashboard.app') @php $routePrefix = auth()->user()?->usesStaffPortal() ? 'teacher' : 'admin'; $isArabic = app()->getLocale() === 'ar'; $attendanceCollection = collect($attendanceRecords); @endphp @section('title', __('dashboard.All Attendance Records')) @section('page_heading', __('dashboard.All Attendance Records')) @section('page_subtitle', $course->name) @section('skip_page_hero', true) @section('content')
{{ $isArabic ? 'سجل موحد وواضح لكل أيام الحضور في المقرر، مع نوع الجلسة، حالة النشر، وعدد الغياب.' : 'A unified and cleaner list of course attendance days with session type, publication status, and absence volume.' }}
{{ __('dashboard.There are no attendance records to display, try creating one!') }}
{{ __('dashboard.Add New Attendance Record') }}