auditionadmin/resources/views/tabulation/auditionSeating-unable-to-s...

21 lines
1.1 KiB
PHP

<x-card.card>
<x-card.heading>Unable to seat this audition</x-card.heading>
@if(! $rightPanel['data']['allScored'])
<p class="text-sm px-5 py-2">The audition cannot be seated while it has unscored entries.</p>
<div class="p-3">
<x-form.button href="{{ url()->current() }}?mass-no-show=1" class="mb-3" onclick="return confirm('Do you really want to mark unscored entries as no-shows?');">Unscored entries are No-Shows</x-form.button>
</div>
@endif
@if(! $rightPanel['data']['allScored'] && ! $rightPanel['data']['doublersResolved'])
<hr>
@endif
@if(! $rightPanel['data']['doublersResolved'])
<p class="text-sm px-5 py-2">The audition cannot be seated while it has unresolved doublers.</p>
<x-form.form method="POST" action="{{route('seating.audition',['audition' => $audition])}}">
<x-form.field name="decline-below" label_text="Decline Doublers Ranked Below" type="number" class="mb-3" />
<x-form.button class="mb-3">Decline Doublers</x-form.button>
</x-form.form>
@endif
</x-card.card>