@extends('admin.layout.app') @section('title', 'View Admission Application') @php $source = $application->application_source ?: 'online'; $statusClass = $application->status === 'approved' ? 'success' : ($application->status === 'rejected' ? 'danger' : 'warning'); $canDirectConvert = ($workflow['direct_admission_enabled'] ?? true) && ! $application->converted_student_user_id; @endphp @section('body')

Admission Application

{{ $application->register_no }} · {{ ucfirst($source) }} application

Back Edit
@csrf
@if(session('success'))
{{ session('success') }}
@endif @if(session('warning'))
{{ session('warning') }}
@endif
Applicant Information {{ ucfirst($application->status ?? 'pending') }}
Full Name
{{ $application->name ?? '—' }}
Father Name
{{ $application->father_name ?? '—' }}
Grandfather
{{ $application->grandfather_name ?? '—' }}
Gender
{{ ucfirst($application->gender ?? '—') }}
Date of Birth
{{ $application->dob?->format('Y-m-d') ?? '—' }} {{ $application->dob_shamsi ? '/ '.$application->dob_shamsi : '' }}
Phone
{{ $application->phone ?? '—' }}
WhatsApp
{{ $application->whatsapp_number ?? '—' }}
Email
{{ $application->email ?? '—' }}
Address
{{ trim(implode(' ', array_filter([$application->province, $application->district, $application->address]))) ?: '—' }}
Academic Selection
University
{{ $application->university?->name ?? '—' }}
Faculty
{{ $application->faculty?->name ?? '—' }}
Department
{{ $application->department?->name ?? '—' }}
Program
{{ $application->program?->name ?? '—' }}
Course
{{ $application->course?->title ?? $application->desired_course ?? '—' }}
Previous Education
{{ $application->last_education ?? '—' }}
Next Step
@if($application->converted_student_user_id)

This applicant is already registered as a student.

Open Student @elseif($latestAssignment)

{{ $latestAssignment->exam?->name }}

Seat {{ $latestAssignment->seat_number }} · Result {{ str_replace('_', ' ', $latestAssignment->result_status) }}

Print Kankor Card Open Kankor Exam @else

Click Next to assign the applicant to the matching active Kankor exam and print the entrance card.

@csrf
@endif @if($canDirectConvert)
@csrf
@endif
Documents
@include('online-form._attachments', ['model' => $application]) @if(! $application->student_photo && ! $application->tazkira_file)

No files uploaded.

@endif
@endsection