@extends('layouts::admin') @section('page_title', 'Eligibility') @section('page_subtitle', 'Track and manage participant eligibility status') @section('content')

Total

{{ number_format($stats['total']) }}

Participants assessed

Eligible

{{ number_format($stats['eligible']) }}

{{ round(($stats['eligible'] / max(1, $stats['total'])) * 100, 1) }}% of total

Not Eligible

{{ number_format($stats['not_eligible']) }}

{{ round(($stats['not_eligible'] / max(1, $stats['total'])) * 100, 1) }}% of total

Pending Review

{{ number_format($stats['pending']) }}

{{ round(($stats['pending'] / max(1, $stats['total'])) * 100, 1) }}% of total

@if(session('success'))

Success

{{ session('success') }}

@endif

Eligibility Details

Participant criteria breakdown

@csrf
@forelse ($registrations as $r) @empty @endforelse
Participant Course Registration Attendance Assessment Completion Eligibility Actions
{{ strtoupper(substr($r->participant->name, 0, 1)) }}
{{ $r->participant->name }}
{{ $r->course->name ?? '—' }} {{ ucfirst($r->registration_status) }} {{ $r->eligibilityResult->attendance_status ?? '—' }} {{ $r->eligibilityResult->assessment_status ?? '—' }} {{ $r->eligibilityResult->completion_status ?? '—' }} @if ($r->eligibilityResult) @if ($r->eligibilityResult->eligible) Eligible @else Not Eligible @endif @else Pending @endif
No registrations found.
@if($registrations->hasPages())
{{ $registrations->links('pagination::tailwind') }}
@endif
@endsection