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