diff --git a/app/Actions/Tabulation/CalculateEntryScore.php b/app/Actions/Tabulation/CalculateEntryScore.php new file mode 100644 index 0000000..90b8842 --- /dev/null +++ b/app/Actions/Tabulation/CalculateEntryScore.php @@ -0,0 +1,8 @@ +with('student.school')->get(); + foreach ($entries as $entry) { + $entryData[] = [ + 'rank' => 'xx', + 'id' => $entry->id, + 'studentName' => $entry->student->full_name(), + 'schoolName' => $entry->student->school->name, + ]; + } } }