Rewrite tabulation #14
|
|
@ -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]),
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue