@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 }} |
|---|---|
| Session | {{ $record->academicSession?->name ?? '—' }} |
| Type | {{ $record->period_type?->label() ?? '—' }} |
| Sequence | {{ $record->sequence ?? '—' }} |
| Credits | {{ $record->credits ?? '—' }} |
| Period | {{ $record->start_date?->format('d M Y') ?? '—' }} – {{ $record->end_date?->format('d M Y') ?? '—' }} |
| Status | {{ $status?->label() }} |