Show directors results of nomination seating for MEOBDA nomination groups.

This commit is contained in:
Matt Young 2025-03-23 15:32:59 -05:00
parent 65b8c8bd81
commit 978ec0edf9
2 changed files with 10 additions and 0 deletions

View File

@ -57,6 +57,7 @@
<x-table.table id="nominationTable"> <x-table.table id="nominationTable">
<thead> <thead>
<tr> <tr>
<x-table.th>Nom ID</x-table.th>
<x-table.th>Name</x-table.th> <x-table.th>Name</x-table.th>
<x-table.th>School</x-table.th> <x-table.th>School</x-table.th>
<x-table.th>Nominated For</x-table.th> <x-table.th>Nominated For</x-table.th>
@ -67,6 +68,7 @@
<x-table.body> <x-table.body>
@foreach($nominations as $nomination) @foreach($nominations as $nomination)
<tr> <tr>
<x-table.td>{{ $nomination->id }}</x-table.td>
<x-table.td>{{ $nomination->student->full_name('fl') }}</x-table.td> <x-table.td>{{ $nomination->student->full_name('fl') }}</x-table.td>
<x-table.td>{{ $nomination->student->school->name }}</x-table.td> <x-table.td>{{ $nomination->student->school->name }}</x-table.td>
<x-table.td>{{ $nomination->ensemble->name }} - {{ $nomination->data['instrument'] }}</x-table.td> <x-table.td>{{ $nomination->ensemble->name }} - {{ $nomination->data['instrument'] }}</x-table.td>

View File

@ -17,6 +17,10 @@
<x-table.th>Student</x-table.th> <x-table.th>Student</x-table.th>
<x-table.th>Grade</x-table.th> <x-table.th>Grade</x-table.th>
<x-table.th>Instrument</x-table.th> <x-table.th>Instrument</x-table.th>
@if($past_deadline[$ensemble->id])
<x-table.th>Split</x-table.th>
<x-table.th>Seat</x-table.th>
@endif
</tr> </tr>
</thead> </thead>
<x-table.body> <x-table.body>
@ -38,6 +42,10 @@
for the {{ $ensemble->name }} ensemble. for the {{ $ensemble->name }} ensemble.
</x-delete-resource-modal> </x-delete-resource-modal>
</x-table.td> </x-table.td>
@else
<x-table.td>{{ $nom->data['split'] ?? '' }}</x-table.td>
<x-table.td>{{ $nom->data['seat'] ?? '' }}</x-table.td>
@endif @endif
</tr> </tr>
@endforeach @endforeach