Meobda nomination ensemble #107

Merged
okorpheus merged 16 commits from meobda_nomination_ensemble into master 2025-02-17 16:20:06 +00:00
2 changed files with 5 additions and 3 deletions
Showing only changes of commit d5699b1412 - Show all commits

View File

@ -56,6 +56,8 @@
<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>
<x-table.th>Split</x-table.th>
<x-table.th>Seat</x-table.th>
</tr> </tr>
</thead> </thead>
<x-table.body> <x-table.body>
@ -64,6 +66,8 @@
<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>
<x-table.td>{{ $nomination->data['split'] ?? '---' }}</x-table.td>
<x-table.td>{{ $nomination->data['seat'] ?? '---' }}</x-table.td>
</tr> </tr>
@endforeach @endforeach
</x-table.body> </x-table.body>

View File

@ -44,10 +44,8 @@
@continue(! $nominations[$split]->has($instrument['name'])) @continue(! $nominations[$split]->has($instrument['name']))
<x-card.heading class="ml-5"> <x-card.heading class="ml-5">
{{ $instrument['name'] }} {{ $instrument['name'] }}
<x-slot:right_side>
Count: {{ count($nominations[$split][$instrument['name']]) }}</x-slot:right_side>
</x-card.heading> </x-card.heading>
<x-card.list.body> <x-card.list.body class="ml-10">
@foreach($nominations[$split][$instrument['name']] as $thisNomination) @foreach($nominations[$split][$instrument['name']] as $thisNomination)
<x-card.list.row>{{ $thisNomination->data['seat'] }} - {{ $thisNomination->student->full_name() }}, {{ $thisNomination->student->school->name }}</x-card.list.row> <x-card.list.row>{{ $thisNomination->data['seat'] }} - {{ $thisNomination->student->full_name() }}, {{ $thisNomination->student->school->name }}</x-card.list.row>