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