@extends('layouts.app') @section('heading',$event->exists?'Configure Event':'Create Event') @section('content')
@csrf @if($event->exists)@method('put')@endif
@if($event->exists)

VIPs for this Event

Assign the actual VIP accounts allowed to activate this event. At least {{ $event->required_vip_count }} must be assigned before publishing.

@error('vip_ids')
{{ $message }}
@enderror
@csrf @method('put') @if($vips->isNotEmpty())
{{ $event->assignedVips->count() }} selected · {{ $vips->count() }} VIPs
@endif @if($vips->isNotEmpty())
@foreach($vips as $vip) @endforeach
Select VIP Name Username Email
assignedVips->contains($vip->id))> {{ $vip->name }} {{ '@'.$vip->username }} {{ $vip->email }}
@else
No active VIP accounts are available. Superadmin must create a VIP account first.
@endif @if($vips->isNotEmpty())
No VIP accounts match your search.
Showing VIPs
@endif @if($vips->isNotEmpty())@endif

Presentation Assets

@csrf
MP4, MOV, WebM, JPG, PNG, GIF or PDF. Maximum 500 MB per file. Large files are automatically uploaded in small hosting-safe parts and stored in private Laravel storage.
Preparing upload…0%
Keep this page open until the upload is complete.
@error('files')
{{ $message }}
@enderror

Drag the cards to arrange the running sequence. Change each timer, then click Save Order.

@foreach($event->assets as $asset)
{{ strtoupper($asset->type) }}Preview

{{ $asset->original_name }}

Drag to reorder
@endforeach
{{ ucfirst($event->status) }} VIP progress: {{ $event->activationCount() }} / {{ $event->required_vip_count }} @if($event->status==='draft') @php($canPublish=$event->assignedVips->count()>=$event->required_vip_count && $event->assets->isNotEmpty())
@csrf
@if(!$canPublish)Assign enough VIPs and add at least one presentation asset to publish.@endif @endif @if(in_array($event->status,['published','activating'])) @role('Superadmin')Open Presentation Screen@endrole @role('Superadmin')
@csrf
@endrole
@csrf
@endif @if($event->status==='completed') @role('Superadmin')
@csrf
@endrole @endif @if($event->status!=='draft') @role('Superadmin')
@csrf
@endrole @endif @if(!in_array($event->status,['cancelled','completed']))
@csrf
@endif
@csrf @method('delete')
@endif @endsection @push('scripts') @if($event->exists) @endif @endpush