For unscored entries, show the number of judges that have entered a score for each entry.
Closes #92
This commit is contained in:
parent
9cf025154a
commit
ad4c2e80b6
|
|
@ -48,6 +48,7 @@ class SeatAuditionFormController extends Controller
|
|||
$query->where('flag_name', 'failed_prelim');
|
||||
})
|
||||
->with('student.school')
|
||||
->withCount('scoreSheets')
|
||||
->orderBy('draw_number', 'asc')
|
||||
->get();
|
||||
|
||||
|
|
|
|||
|
|
@ -89,6 +89,7 @@
|
|||
<x-table.th>Draw #</x-table.th>
|
||||
<x-table.th>ID</x-table.th>
|
||||
<x-table.th>Student</x-table.th>
|
||||
<x-table.th>Judges<br>Scored</x-table.th>
|
||||
<x-table.th></x-table.th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
|
@ -101,6 +102,9 @@
|
|||
<span>{{ $entry->student->full_name() }}</span>
|
||||
<span class="text-xs text-gray-400">{{ $entry->student->school->name }}</span>
|
||||
</x-table.td>
|
||||
<x-table.td>
|
||||
{{ $entry->score_sheets_count }}
|
||||
</x-table.td>
|
||||
<x-table.td>
|
||||
<x-form.form method="POST"
|
||||
action="{{ route('seating.audition.noshow',[$audition, $entry]) }}">
|
||||
|
|
|
|||
Loading…
Reference in New Issue