@extends('admin.layout.app') @section('title', ($section ?? null) === 'workflow' ? 'Workflow Configuration' : 'Admission') @php $isWorkflowConfiguration = ($section ?? null) === 'workflow'; $tabs = $isWorkflowConfiguration ? ['workflow' => 'Workflow Configuration'] : [ 'applications' => 'Admission', 'entrance-exams' => 'Kankor Examination', 'certificates' => 'Certificates', 'id-cards' => 'Student ID Cards', ]; $routeFor = fn ($key) => route('admin.admissions-lifecycle.section', $key); @endphp @section('body')
{{ $isWorkflowConfiguration ? 'Configure admission workflow rules, required stages, and decision controls.' : 'Online applications, physical applications, Kankor cards, exam results, and direct student registration.' }}
| Applicant | Program | Status | {{ $usesEntrance ? 'Kankor / Entrance' : 'Admission Method' }} | Actions |
|---|---|---|---|---|
|
{{ $application->name }}
{{ $application->register_no }} · {{ $application->phone }}
|
{{ $application->program->name ?? '—' }}
{{ $application->faculty->name ?? '' }}
|
{{ ucfirst($application->status ?? 'pending') }} |
@if($assignment)
{{ $assignment->exam?->name ?? 'Kankor Exam' }}
Seat {{ $assignment->seat_number }} · {{ str_replace('_', ' ', $assignment->result_status) }}
@elseif($usesEntrance)
Click Next to generate Kankor card
@elseif($canDirectConvert)
Direct admission available
@else
No next step enabled
@endif
|
|
| No {{ $activeApplicationTab }} applications found. | ||||
| Exam | Year | Date | Scope | Candidates | Successful | Failed | Waiting | Actions |
|---|---|---|---|---|---|---|---|---|
{{ $exam->name }} {{ $exam->location }} {{ $exam->room }} |
{{ $exam->exam_date?->format('Y') ?? '—' }} | {{ $exam->exam_date?->format('Y-m-d') ?? '—' }} {{ $exam->exam_date_shamsi }} |
{{ $exam->program?->name ?? $exam->faculty?->name ?? 'All applicants' }} | {{ $exam->applicants_count }} | {{ $exam->successful_count }} | {{ $exam->failed_count }} | {{ $exam->waiting_count }} | View Edit @if($exam->applicants_count === 0)@endif |
| No Kankor examinations found. | ||||||||
| Certificate | Student | Date | Verification | |
|---|---|---|---|---|
| {{ $certificate->certificate_type }} {{ $certificate->certificate_number }} | {{ $certificate->student->name ?? '—' }} | {{ $certificate->issue_date?->format('Y-m-d') }} {{ $certificate->issue_date_shamsi }} | {{ $certificate->verification_code }} | |
| No certificates generated. | ||||
| Card | Student | Valid | Status | |
|---|---|---|---|---|
| {{ $card->card_number }} {{ $card->barcode }} | {{ $card->student->name ?? '—' }} | {{ $card->valid_until?->format('Y-m-d') }} {{ $card->valid_until_shamsi }} | {{ $card->status }} | |
| No ID cards generated. | ||||