@php $tenant = \App\Support\Facades\Tenancy::get(); $brandStyle = $tenant->brand_primary_color ? ":root { --color-brand-600: {$tenant->brand_primary_color}; } .dark { --color-brand-600: {$tenant->brand_primary_color}; }" : null; $statusColors = [ 'submitted' => 'slate', 'under_review' => 'amber', 'entrance_exam_scheduled' => 'amber', 'merit_listed' => 'brand', 'approved' => 'green', 'rejected' => 'red', 'enrolled' => 'green', ]; $tenantTimezone = $tenant->timezone ?? config('app.timezone'); @endphp Back

Applicant Details

{{ ucwords(str_replace('_', ' ', $application->status)) }}
Date of Birth
{{ $application->dob->format('M j, Y') }}
Gender
{{ ucfirst($application->gender) }}
Religion
{{ $application->religion ?? '—' }}
NID Number
{{ $application->nid_number ?? '—' }}
Birth Certificate Number
{{ $application->birth_certificate_number ?? '—' }}
Passport Number
{{ $application->passport_number ?? '—' }}
Branch
{{ $application->branch->name }}
Department
{{ $application->department?->name ?? '—' }}
Academic Session
{{ $application->academicSession->name }}
Previous School
{{ $application->previous_school ?? '—' }}
Guardian
{{ $application->guardian_name }}
Relation
{{ $application->guardian_relation ? ucfirst($application->guardian_relation) : '—' }}
Guardian Phone
{{ $application->guardian_phone }}
Guardian Email
{{ $application->guardian_email ?? '—' }}
Entrance Exam Score
{{ $application->entrance_exam_score ?? '—' }}
Permanent Address
{{ $application->permanent_address ?? '—' }}
Present Address
{{ $application->present_address ?? '—' }}

Documents

@if($application->documents->isEmpty())

No documents uploaded.

@else
    @foreach($application->documents as $document)
  • {{ ucwords(str_replace('_', ' ', $document->document_type)) }}
  • @endforeach
@endif @if($application->notes)

Notes

{{ $application->notes }}

@endif
@if($application->status === 'rejected')

Application Rejected

This application was rejected. You can restore it to an active status if it was rejected in error.

@csrf @method('PATCH')
@endif @if(!in_array($application->status, ['enrolled', 'rejected']))

Admission Test

@if($application->testAttempts->isNotEmpty()) @php $attempt = $application->testAttempts->sortByDesc('id')->first(); @endphp
Test:
{{ $attempt->admissionTest->title }}
Status:
@if($attempt->hasSubmitted()) Submitted — {{ $attempt->score }} / {{ $attempt->total_marks }} @elseif($attempt->hasStarted()) In progress @else Not started yet @endif
View Test Details @elseif(! $application->schoolClass)

This application has no class selected, so it can't be shortlisted into a class-scoped test.

@elseif($availableTests->isEmpty())

No upcoming admission test scheduled for {{ $application->schoolClass->name }} yet.

Schedule a Test @else
@csrf
@endif
@endif @if(!in_array($application->status, ['enrolled', 'rejected']))

Update Status

@csrf @method('PATCH')
@if($application->testAttempts->contains(fn ($a) => $a->hasSubmitted()))

This score was set automatically from the online test. Changing it here overrides that result.

@endif
@endif @if($application->status === 'approved' && !$application->enrolled_student_id)

Enroll Applicant

Creates the Student record and links/creates the Guardian.

@csrf
@endif @if($application->enrolledStudent)

Enrolled

This applicant was enrolled as a student.

View Student Profile
@endif @if($application->reviewer)
Last reviewed by {{ $application->reviewer->name }} on {{ $application->reviewed_at?->copy()->setTimezone($tenantTimezone)->format('M j, Y g:i A') }}
@endif @unless($application->enrolledStudent)

Danger Zone

Permanently delete this application and its uploaded documents. This cannot be undone.

@endunless