@extends('layouts.school') @section('title', 'Application ' . $application->application_no) @section('header', 'Application Details') @section('content')
{{ $application->application_no }}
{{ $application->email }}
Phone
{{ $application->phone ?? '—' }}
Date of Birth
{{ $application->date_of_birth?->format('d M Y') ?? '—' }}
Gender
{{ ucfirst($application->gender ?? '—') }}
Class Applied For
{{ $application->classroom?->name ?? '—' }}
Previous School
{{ $application->previous_school ?? '—' }}
Address
{{ $application->address }}
Applied On
{{ $application->created_at->format('d M Y, h:i A') }}
Name
{{ $application->parent_name ?? '—' }}
{{ $application->parent_email ?? '—' }}
Phone
{{ $application->parent_phone ?? '—' }}
Occupation
{{ $application->parent_occupation ?? '—' }}
This will create a new student record and enroll them in the current academic year.