@php use App\Models\Audition;use App\Models\School;use App\Models\SchoolEmailDomain;use App\Models\ScoringGuide;use App\Models\User;use App\Settings;use Illuminate\Support\Facades\Auth;use Illuminate\Support\Facades\DB;use Illuminate\Support\Facades\Session; @endphp Test Page @php $auditions = Audition::with('entries')->get(); @endphp @foreach($auditions as $audition) {{ $audition->name }} has {{ $audition->entries->count() }} entries.
@if($audition->has_complete_draw()) Draw is complete. @endif @if($audition->has_partial_draw()) Has a partial draw. @endif @if($audition->has_no_draw()) Has no draw. @endif

@endforeach