@php /** * @var \App\Models\Event[] $events A collection of all events with auditions * @var bool $drawnAuditionsExist A boolean value indicating if there are any drawn auditions */ @endphp @if($drawnAuditionsExist) @include('admin.draw.drawn-auditions-exist-notification') @endif @foreach($events as $event) @continue($event->auditions->isEmpty()) {{ $event->name }}
@foreach($event->auditions as $audition) @continue($audition->hasFlag('drawn'))
{{$audition->name}}
@endforeach
Run Draw
@endforeach