@extends('institution.partials.print-layout') @php $entity = $record ?? $review ?? $decision ?? $letter ?? $invoice ?? null; $printTitle = data_get($entity, 'name') ?? data_get($entity, 'title') ?? data_get($entity, 'application_number') ?? data_get($entity, 'reference_number') ?? data_get($entity, 'invoice_number') ?? 'Admission Intakes'; @endphp @section('print-title', $printTitle) @section('print-content')
| Code | {{ is_object(data_get($record ?? $review ?? $decision ?? $letter ?? $invoice ?? null, 'code')) ? (data_get($record ?? $review ?? $decision ?? $letter ?? $invoice, 'code')?->label() ?? data_get($record ?? $review ?? $decision ?? $letter ?? $invoice, 'code')) : (data_get($record ?? $review ?? $decision ?? $letter ?? $invoice, 'code') ?? '—') }} |
|---|---|
| Name | {{ is_object(data_get($record ?? $review ?? $decision ?? $letter ?? $invoice ?? null, 'name')) ? (data_get($record ?? $review ?? $decision ?? $letter ?? $invoice, 'name')?->label() ?? data_get($record ?? $review ?? $decision ?? $letter ?? $invoice, 'name')) : (data_get($record ?? $review ?? $decision ?? $letter ?? $invoice, 'name') ?? '—') }} |
| Capacity | {{ is_object(data_get($record ?? $review ?? $decision ?? $letter ?? $invoice ?? null, 'capacity')) ? (data_get($record ?? $review ?? $decision ?? $letter ?? $invoice, 'capacity')?->label() ?? data_get($record ?? $review ?? $decision ?? $letter ?? $invoice, 'capacity')) : (data_get($record ?? $review ?? $decision ?? $letter ?? $invoice, 'capacity') ?? '—') }} |
| Application Open | {{ is_object(data_get($record ?? $review ?? $decision ?? $letter ?? $invoice ?? null, 'application_open')) ? (data_get($record ?? $review ?? $decision ?? $letter ?? $invoice, 'application_open')?->label() ?? data_get($record ?? $review ?? $decision ?? $letter ?? $invoice, 'application_open')) : (data_get($record ?? $review ?? $decision ?? $letter ?? $invoice, 'application_open') ?? '—') }} |
| Application Close | {{ is_object(data_get($record ?? $review ?? $decision ?? $letter ?? $invoice ?? null, 'application_close')) ? (data_get($record ?? $review ?? $decision ?? $letter ?? $invoice, 'application_close')?->label() ?? data_get($record ?? $review ?? $decision ?? $letter ?? $invoice, 'application_close')) : (data_get($record ?? $review ?? $decision ?? $letter ?? $invoice, 'application_close') ?? '—') }} |
| Status | {{ is_object(data_get($record ?? $review ?? $decision ?? $letter ?? $invoice ?? null, 'status')) ? (data_get($record ?? $review ?? $decision ?? $letter ?? $invoice, 'status')?->label() ?? data_get($record ?? $review ?? $decision ?? $letter ?? $invoice, 'status')) : (data_get($record ?? $review ?? $decision ?? $letter ?? $invoice, 'status') ?? '—') }} |