@extends('layouts.portal')
@section('title', 'Admissions')
@section('subtitle', 'Online applications: review, request information, approve into a batch (fee and invoice follow), or decline.')
@section('actions') Public application form@endsection
@section('content')
@php
$cur = $filters['status'] ?? '';
$keep = collect($filters)->except('status')->filter()->all();
$tone = ['submitted' => 'blue', 'under_review' => 'violet', 'info_requested' => 'amber', 'approved' => 'amber', 'admitted' => 'green', 'rejected' => 'red', 'withdrawn' => 'gray'];
@endphp
New{{ $counts['submitted'] ?? 0 }}waiting for a first look
In review{{ ($counts['under_review'] ?? 0) + ($counts['info_requested'] ?? 0) }}{{ $counts['info_requested'] ?? 0 }} waiting on the applicant
Approved{{ $counts['approved'] ?? 0 }}awaiting first payment
Admitted{{ $counts['admitted'] ?? 0 }}{{ $counts->sum() ? round(($counts['admitted'] ?? 0) / $counts->sum() * 100) : 0 }}% of all applications
| Applicant | Programme · batch | Source | Status | Received | |
@forelse($apps as $a)
| {{ $a->user->name }} {{ $a->user->email }} · {{ $a->details['phone'] ?? '' }} |
{{ $a->course->title }} {{ $a->batch?->batch_code ?? 'Next available' }} |
{{ $a->attribution['last']['utm_source'] ?? 'direct' }}@if(! empty($a->attribution['last']['utm_campaign'])) {{ $a->attribution['last']['utm_campaign'] }} @endif |
{{ $a->statusLabel() }} |
{{ $a->created_at->format('d M Y') }} {{ $a->created_at->diffForHumans() }} |
Open |
@empty
|
@endforelse
{{ $apps->links() }}
@endsection