This commit is contained in:
Matt Young 2024-07-10 03:36:35 -05:00
parent a59a4c1d2b
commit 6939a09eef
2 changed files with 2 additions and 1 deletions

View File

@ -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]),
];
}

View File

@ -32,7 +32,7 @@
</x-table.td>
<x-table.td>{{ $entry['totalScore'] }}</x-table.td>
<x-table.td>
@if(is_numeric($entry['totalScore']))
@if($entry['fullyScored'])
<x-icons.checkmark color="green"/>
@endif
</x-table.td>