Rewrite tabulation #14

Merged
okorpheus merged 43 commits from rewrite-tabulation into master 2024-07-14 05:36:29 +00:00
2 changed files with 2 additions and 1 deletions
Showing only changes of commit 6939a09eef - Show all commits

View File

@ -35,6 +35,7 @@ class SeatAuditionController extends Controller
'schoolName' => $entry->student->school->name, 'schoolName' => $entry->student->school->name,
'drawNumber' => $entry->draw_number, 'drawNumber' => $entry->draw_number,
'totalScore' => $totalScore[0], 'totalScore' => $totalScore[0],
'fullyScored' => is_numeric($totalScore[0]),
]; ];
} }

View File

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