Audition Seating - {{ $audition->name }}
{{-- Entry Ranking Table --}} {{-- Scored Entries --}} Scored Entries Rank ID Draw # Student Doubler Total Score @if($audition->bonusScore()->count() > 0)
Has Bonus
@endif
@foreach($scored_entries as $entry) {{ $entry->seatingRank }} {{ $entry->id }} {{ $entry->draw_number }}
{{ $entry->student->school->name }}
@php($doubler = $doublerData->get($entry->student_id)) @if($doubler) @if($doubler->accepted_entry == $entry->id) ACCEPTED @elseif($entry->hasFlag('declined')) DECLINED @else @if($request = $entry->student->doublerRequests()->where('event_id',$entry->audition->event_id)->first())
{{-- Begin block seating request --}}
Request

{{ $request->request }}

@endif @foreach($entry->student->entriesForEvent($entry->audition->event_id) as $de) @include('tabulation.auditionSeating-doubler-block') @endforeach @endif @endif
{{ $entry->totalScore->seating_total }} @endforeach
{{-- Unscored Entries --}} Unscored Entries Draw # ID Student @foreach($unscored_entries as $entry) {{ $entry->draw_number }} {{ $entry->id }} {{ $entry->student->full_name() }} {{ $entry->student->school->name }} Record No Show @endforeach {{-- No Show Entries --}} No Show Entries Draw # ID Student @foreach($noshow_entries as $entry) {{ $entry->draw_number }} {{ $entry->id }} {{ $entry->student->full_name() }} {{ $entry->student->school->name }} @endforeach {{-- Failed Prelim Entries --}} Failed Prelim Entries Draw # ID Student @foreach($failed_prelim_entries as $entry) {{ $entry->draw_number }} {{ $entry->id }} {{ $entry->student->full_name() }} {{ $entry->student->school->name }} @endforeach
{{-- Right Column Wrapper --}} @if($audition->hasFlag('seats_published')) Published Results @php($previousEnsemble = '') @foreach($publishedSeats as $seat) @if($previousEnsemble !== $seat->ensemble->name) @php($previousEnsemble = $seat->ensemble->name) {{ $seat->ensemble->name }} @endif

{{ $seat->seat }}. {{ $seat->student->full_name() }}

{{ $seat->student->school->name }}

@endforeach
Unpublish Results @else @if($canSeat) @if($seatingProposal) Seating Proposal Results are not yet published @foreach($seatingProposal as $proposedEnsemble)

{{ $proposedEnsemble['ensemble_name'] }}

@if(isset($proposedEnsemble['seats'])) @foreach($proposedEnsemble['seats'] as $seat) {{ $seat['seat'] }} . {{ $seat['entry_name'] }} @endforeach @endif @endforeach Clear Draft Publish
@else Seat Audition Choose how many entries to seat in each ensemble @foreach($audition->SeatingLimits()->where('maximum_accepted','>',0)->get() as $limit) {{$limit->ensemble->name}} @for($n = 0; $n< $limit->maximum_accepted; $n++) @endfor @endforeach Draft Seats @endif @else
{{-- TODO: Add in bulk decline doubler option --}} @if($unscored_entries->count() > 0) Cannot seat the audition while entries are unscored. @endif @if($auditionHasUnresolvedDoublers) Cannot seat the audition while there are unresolved doublers. @endif
@endif @endif