@extends('layouts.admin') @section('title', 'Event Participants') @section('content')

Event Participants

{{ $event->title ?? 'Event' }} - Manage participants and attendance

{{ $event->title ?? 'Event Title' }}

{{ $event->description ?? 'No description available' }}

{{ $event->type ?? 'Training' }} {{ $event->start_date ? $event->start_date->format('M d, Y') : 'Date TBD' }}

{{ $participantCount ?? '0' }}

Registered

{{ $attendanceCount ?? '0' }}

Attended

Participants List
@if($participants->isNotEmpty())
@foreach($participants as $participant) @endforeach
Participant Belt Level Registration Date Payment Status Attendance Actions
{{ substr($participant->user->name ?? 'P', 0, 1) }}
{{ $participant->user->name ?? 'Participant Name' }}

{{ $participant->user->email ?? 'No email' }}

{{ $participant->belt_level ?? 'White Belt' }} {{ $participant->created_at->format('M d, Y') }} @if($participant->payment_status == 'paid') Paid @elseif($participant->payment_status == 'pending') Pending @else Unpaid @endif @if($participant->attended) Present @else Absent @endif
@else

No participants registered yet

@endif
@if($participants->isNotEmpty()) @endif
@endsection @section('scripts') @endsection