@extends('institution.partials.print-layout') @section('print-title', $record->name) @section('print-content') @php $status = is_object($record->status) ? $record->status : \App\Enums\RecordStatus::tryFrom($record->status ?? 'active'); @endphp
| Code | {{ $record->code }} |
|---|---|
| Academic Years | {{ $record->year_start }} – {{ $record->year_end }} |
| Current Session | {{ $record->is_current ? 'Yes' : 'No' }} |
| Status | {{ $status?->label() }} |
| Registration Period | {{ $record->registration_start?->format('d M Y') ?? '—' }} – {{ $record->registration_end?->format('d M Y') ?? '—' }} |
| Teaching Period | {{ $record->teaching_start?->format('d M Y') ?? '—' }} – {{ $record->teaching_end?->format('d M Y') ?? '—' }} |
| Examination Period | {{ $record->examination_start?->format('d M Y') ?? '—' }} – {{ $record->examination_end?->format('d M Y') ?? '—' }} |
| Graduation Date | {{ $record->graduation_date?->format('d M Y') ?? '—' }} |