47 lines
1.5 KiB
PHP
47 lines
1.5 KiB
PHP
<x-card.card class="mb-3">
|
|
<x-card.heading>
|
|
Seats are Published
|
|
</x-card.heading>
|
|
|
|
<x-form.form method="POST"
|
|
action="{{ route('seating.audition.unpublish',['audition' => $audition->id]) }}"
|
|
class="mx-5 my-2">
|
|
<x-form.button type="submit">
|
|
Unpublish
|
|
</x-form.button>
|
|
</x-form.form>
|
|
|
|
</x-card.card>
|
|
|
|
<x-card.card class="mb-3">
|
|
@php
|
|
$previousEnsemble = null;
|
|
@endphp
|
|
@foreach($rightPanel['data'] as $seat)
|
|
@if($seat['ensemble'] !== $previousEnsemble)
|
|
<x-card.heading>{{$seat['ensemble']}}</x-card.heading>
|
|
@endif
|
|
<x-card.list.row class="!py-2">
|
|
{{ $seat['seat'] }} - {{ $seat['student_name'] }}
|
|
</x-card.list.row>
|
|
@php
|
|
|
|
$previousEnsemble = $seat['ensemble'];
|
|
@endphp
|
|
@endforeach
|
|
</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--}}
|