@extends('admin.layout.app') @section('title', __('front.online_applications')) @section('body')
@foreach(['all' => 'All', 'pending' => 'Pending', 'approved' => 'Approved', 'rejected' => 'Rejected'] as $key => $label) @php($colors = ['all'=>'primary','pending'=>'warning','approved'=>'success','rejected'=>'danger']) @endforeach

{{ __('front.online_applications') }}

Search, filter, PDF, Excel and CSV reports for online admission applications.

Reset
@if(session('success'))
{{ session('success') }}
@endif @if(session('warning'))
{{ session('warning') }} @if(session('mail_error'))
{{ session('mail_error') }}
@endif
@endif
@forelse($applications as $a) @empty @endforelse
# Applicant Academic Selection Phone Status Date Actions
{{ $a->register_no ?? $a->id }}
@if($a->student_photo) student @else @endif
{{ $a->name ?? '—' }}
{{ $a->email ?? '—' }}
{{ $a->program?->name ?? $a->desired_course ?? '—' }}
{{ $a->faculty?->name ?? '—' }} / {{ $a->department?->name ?? '—' }}
{{ $a->phone ?? '—' }} @php($status = $a->status ?? 'pending') @php($badgeClass = $status == 'approved' ? 'bg-success' : ($status == 'rejected' ? 'bg-danger' : 'bg-warning text-dark')) {{ ucfirst($status) }}
{{ $a->created_at?->format('Y-m-d') }}
{{ $a->created_at?->format('H:i') }}
@csrf @method('DELETE')
No applications found
@if($applications->hasPages()) @endif
@endsection