{{-- Regular Class Schedule Verification Report — one PDF page group per weekday. --}} @php use Carbon\Carbon; $range = $data['range'] ?? ['from' => null, 'to' => null]; $days = $data['days'] ?? []; $summary = $data['summary'] ?? []; $fmtTime = function ($t) { if (!$t) return ''; try { return Carbon::parse($t)->format('g:i A'); } catch (\Throwable $e) { return $t; } }; $fmtDate = function ($iso) { if (!$iso) return ''; try { return Carbon::parse($iso)->format('l — F j, Y'); } catch (\Throwable $e) { return $iso; } }; $rangeLabel = ($range['from'] && $range['to']) ? Carbon::parse($range['from'])->format('M j, Y') . ' – ' . Carbon::parse($range['to'])->format('M j, Y') : ''; @endphp
| Time | Students · Grade · Subject | Mode | Location | Capacity | Class / Occ ID | Verification | Notes |
|---|---|---|---|---|---|---|---|
| {{ $fmtTime($c['start_time']) }} {{ $fmtTime($c['end_time']) }} |
@if(empty($c['students'])) No students assigned @else @foreach($c['students'] as $idx => $s) {{ $idx + 1 }}. {{ $s['student_name'] }}@if(!empty($s['grade'])) — GR {{ $s['grade'] }}@endif@if(!empty($s['subject'])) — {{ $s['subject'] }}@endif @endforeach @endif | {{ $c['mode'] ?? '—' }} | {{ $c['location'] ?? '—' }} | {{ $c['enrolled_count'] }} / {{ $c['capacity'] !== null ? $c['capacity'] : '—' }} | #{{ $c['class_id'] }} Occ #{{ $c['occurrence_id'] }} |
Correct Correction Required Staff Time Student Grade/Subject Mode/Location |