@extends('layouts.app') @section('title', 'Applications Report') @section('breadcrumb') Dashboard Reports Applications @endsection @section('content') @include('partials._report-tabs')
total
Total applications
{{ number_format($stats['total']) }}
QUEUED
Pending
{{ number_format($stats['pending']) }}
approved
Approved
{{ number_format($stats['approved']) }}
{{ $stats['rejected'] }}
Rejected
{{ number_format($stats['rejected']) }}
@include('partials._report-filter', ['exportType' => 'applications']) @include('partials._report-cap-banner')
All applications
{{ $applications->count() }} record(s)
@if($applications->isEmpty())
No applications yet
Applications will appear here as candidates apply to posts.
@else
@foreach($applications as $app) @php $status = strtolower($app->status_label ?? ''); $pillTone = 's-neutral'; if (str_contains($status, 'approv')) $pillTone = 's-success'; elseif (str_contains($status, 'reject')) $pillTone = 's-danger'; elseif (str_contains($status, 'pend')) $pillTone = 's-warning'; @endphp @endforeach
# Candidate Post Roll # Status Applied  
{{ $loop->iteration }}
{{ $app->user?->name }}
{{ $app->user?->email }}
{{ $app->post?->code }}
{{ Str::limit($app->post?->title, 36) }}
@if($app->roll_number) {{ $app->roll_number }} @else @endif {{ $app->status_label }} {{ $app->created_at->format('d M Y') }}
@endif
@endsection @push('scripts') @endpush