@extends('layouts.website') @section('content')

Admissions

Track Your Application

@csrf @if ($errors->any())
{{ $errors->first() }}
@endif

For privacy, we only show your application status - never personal details.

@if ($searched)
@if ($application) @php $steps = [ 'pending' => ['Submitted', 'Your application has been received.'], 'under_review' => ['Under Review', 'Our admissions team is reviewing your application.'], 'shortlisted' => ['Shortlisted', 'Congratulations! Your application has been shortlisted.'], 'interview' => ['Interview Scheduled', 'You will be contacted with interview details.'], 'awaiting_documents' => ['Awaiting Documents', 'Please submit the outstanding documents requested.'], 'accepted' => ['Accepted', 'Congratulations! Your application was successful.'], 'completed' => ['Completed', 'Enrolment complete. Welcome to the family!'], 'waitlisted' => ['Waitlisted', 'Your application is on the waiting list.'], 'rejected' => ['Not Successful', 'Thank you for your interest. Unfortunately, this application was not successful this time.'], ]; $current = $steps[$application->status] ?? ['Submitted', 'Your application has been received.']; $order = array_keys($steps); $position = array_search($application->status, $order, true); if ($position === false) { $position = 0; } $progress = ['accepted', 'completed', 'rejected'][0] === $application->status || in_array($application->status, ['accepted', 'completed', 'rejected']) ? 100 : round((($position + 1) / 5) * 100); @endphp

Application {{ $application->application_no }}

{{ $current[0] }}

{{ $current[1] }}

@if (! in_array($application->status, ['rejected']))
Progress{{ $progress }}%
@endif
Applicant
{{ substr($application->first_name, 0, 1) }}. {{ $application->last_name }}
Class applied for
{{ $application->classroom?->name ?? '-' }}
Submitted
{{ $application->created_at->format('M j, Y') }}
Last updated
{{ $application->updated_at->format('M j, Y') }}
@else

No application found

Check that the reference number and email match your application exactly.

@endif
@endif
@endsection