@extends('layouts.app') @section('content')
{{ $totalPresent ?? 0 }}
{{ $totalAbsent ?? 0 }}
{{ $totalLate ?? 0 }}
| # | Date | Class | Trainer | Check In | Check Out | Status | Code |
|---|---|---|---|---|---|---|---|
| {{ $attendances->firstItem() + $index }} | {{ \Carbon\Carbon::parse($att->attendance_date)->format('d M Y') }} | {{ $att->classRoom->name ?? 'N/A' }} | {{ $att->trainer->name ?? 'N/A' }} | {{ $att->check_in_time ?? '-' }} | {{ $att->check_out_time ?? '-' }} | {{ ucfirst($att->status) }} | {{ $att->attendance_code ?? '-' }} |
| No attendance records found. | |||||||