{{-- Header --}}

✓ Official Registration Confirmed

{{ $official->event->event_name ?? 'Event' }}

{{ $official->getOfficialTypeLabel() }}
{{-- Body --}}

Dear {{ $official->user->name ?? trim(($official->user->fname ?? '') . ' ' . ($official->user->lname ?? '')) }},

Your registration as an official for the event has been confirmed. Below are the details of your registration:

{{-- Registration Details --}}
Event {{ $official->event->event_name ?? 'N/A' }}
Official Type {{ $official->getOfficialTypeLabel() }}
State {{ $official->state->name ?? 'N/A' }}
Registered On {{ $official->registered_at ? $official->registered_at->format('d M Y, h:i A') : now()->format('d M Y') }}
@if($official->notes)
Notes {{ $official->notes }}
@endif

Please carry a copy of this email and your identification document on the event day. If you have any queries, contact your state sports association.

{{-- Footer --}}