From 6939a09eefd635cf52b501808b56385acdf90286 Mon Sep 17 00:00:00 2001 From: Matt Young Date: Wed, 10 Jul 2024 03:36:35 -0500 Subject: [PATCH] Tweaks --- app/Http/Controllers/Tabulation/SeatAuditionController.php | 1 + .../views/tabulation/auditionSeating-results-table.blade.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Http/Controllers/Tabulation/SeatAuditionController.php b/app/Http/Controllers/Tabulation/SeatAuditionController.php index 3f13d7c..980ec52 100644 --- a/app/Http/Controllers/Tabulation/SeatAuditionController.php +++ b/app/Http/Controllers/Tabulation/SeatAuditionController.php @@ -35,6 +35,7 @@ class SeatAuditionController extends Controller 'schoolName' => $entry->student->school->name, 'drawNumber' => $entry->draw_number, 'totalScore' => $totalScore[0], + 'fullyScored' => is_numeric($totalScore[0]), ]; } diff --git a/resources/views/tabulation/auditionSeating-results-table.blade.php b/resources/views/tabulation/auditionSeating-results-table.blade.php index 4b47689..6845dc9 100644 --- a/resources/views/tabulation/auditionSeating-results-table.blade.php +++ b/resources/views/tabulation/auditionSeating-results-table.blade.php @@ -32,7 +32,7 @@ {{ $entry['totalScore'] }} - @if(is_numeric($entry['totalScore'])) + @if($entry['fullyScored']) @endif