@php use Carbon\Carbon;use Illuminate\Support\Facades\Auth; @endphp @push('scripts') {{-- Code from https://codepen.io/ryangjchandler/pen/WNQQKeR--}} @endpush Entries Add Entry Student Audition @if(auditionSetting('advanceTo'))
@else @endif Save
Entry Listing You have {{ $entries->count() }} entries
Name Audition @if(auditionSetting('advanceTo')) {{ auditionSetting('auditionAbbreviation') }} {{ auditionSetting('advanceTo') }} @endif Edit Seat Rank @foreach($entries as $entry) {{ $entry->student->full_name(true) }} {{ $entry->audition->name }} @if(auditionSetting('advanceTo')) @if($entry->for_seating)
@else
@endif
@if($entry->for_advancement)
@else
@endif
@endif @if($entry->audition->hasFlag('seats_published')) @if($entry->seat) {{ $entry->seat->ensemble->name }} - {{ $entry->seat->seat }} @else Not Seated @endif {{ $entry->rank('seating', false) }} @endif @php $currentDate = Carbon::now('America/Chicago'); $currentDate = $currentDate->format('Y-m-d'); @endphp @if( $entry->audition->entry_deadline >= $currentDate)
@csrf @method('DELETE') Delete
@endif
@endforeach
@include('students.student_audition_select_script')