@if($event->coverImage)

@else
No image
@endif
@php
$allowedStateIds = $event->states()->pluck('state_id')->toArray();
$lockedStateIds = $event->getLockedStateIds();
@endphp
{{-- DEBUG: Allowed State IDs from backend: {{ json_encode($allowedStateIds) }} --}}
{{-- Store pre-selected state IDs in a data attribute BEFORE Choices.js initialization --}}
Type to search and select multiple states.
@if(count($lockedStateIds) > 0)
States with participants (🔒) cannot be removed.
@endif
Legend:
✅ Active Admin
📧 Invitation Sent
⏰ Link Expired
🚫 No Admin
participant_slot_limit) style="display: none;" @endif>
@if($hasParticipants)
Cannot modify: Slot limit locked after participants registered.
{{ $participantCount }} participant(s)
@else
Official: 1 (standard) or 4 (Fed Cup style)
Open: Unlimited (leave empty)
@endif
Automatically generates unique batch codes (e.g., IND-1, PAIR-1, TEAM-1) for Poomsae registrations.