From ad4c2e80b6564a74b6169b21af92c06e20b73a33 Mon Sep 17 00:00:00 2001 From: Matt Young Date: Mon, 30 Jun 2025 08:32:36 -0500 Subject: [PATCH] For unscored entries, show the number of judges that have entered a score for each entry. Closes #92 --- .../Controllers/Tabulation/SeatAuditionFormController.php | 1 + resources/views/tabulation/auditionSeating.blade.php | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/app/Http/Controllers/Tabulation/SeatAuditionFormController.php b/app/Http/Controllers/Tabulation/SeatAuditionFormController.php index 7f3ac23..a1646b1 100644 --- a/app/Http/Controllers/Tabulation/SeatAuditionFormController.php +++ b/app/Http/Controllers/Tabulation/SeatAuditionFormController.php @@ -48,6 +48,7 @@ class SeatAuditionFormController extends Controller $query->where('flag_name', 'failed_prelim'); }) ->with('student.school') + ->withCount('scoreSheets') ->orderBy('draw_number', 'asc') ->get(); diff --git a/resources/views/tabulation/auditionSeating.blade.php b/resources/views/tabulation/auditionSeating.blade.php index 78771ac..5d62b6d 100644 --- a/resources/views/tabulation/auditionSeating.blade.php +++ b/resources/views/tabulation/auditionSeating.blade.php @@ -89,6 +89,7 @@ Draw # ID Student + Judges
Scored
@@ -101,6 +102,9 @@ {{ $entry->student->full_name() }} {{ $entry->student->school->name }} + + {{ $entry->score_sheets_count }} +