32 lines
973 B
PHP
32 lines
973 B
PHP
@inject('seatingService','App\Services\SeatingService')
|
|
|
|
<x-card.card class="mb-3">
|
|
<x-card.heading>
|
|
Seats are Published
|
|
</x-card.heading>
|
|
|
|
<x-form.form method="POST"
|
|
action="{{ route('tabulation.seat.unpublish',['audition' => $audition->id]) }}"
|
|
class="mx-5 my-2">
|
|
<x-form.button type="submit">
|
|
Unpublish
|
|
</x-form.button>
|
|
</x-form.form>
|
|
|
|
</x-card.card>
|
|
|
|
@foreach($ensembleLimits as $ensembleLimit)
|
|
@php
|
|
$ensembleSeats = $seatingService->getSeatsForAudition($audition->id)[$ensembleLimit->ensemble->id] ?? array();
|
|
@endphp
|
|
<x-card.card class="mb-3">
|
|
<x-card.heading>{{ $ensembleLimit->ensemble->name }}</x-card.heading>
|
|
@foreach($ensembleSeats as $seat)
|
|
<x-card.list.row class="!py-2">
|
|
{{ $seat->seat }} - {{ $seat->student->full_name() }}
|
|
</x-card.list.row>
|
|
@endforeach
|
|
|
|
</x-card.card>
|
|
@endforeach
|