Add grade to export results
This commit is contained in:
parent
0041c62008
commit
7b0729381b
|
|
@ -23,7 +23,7 @@ class GetExportData
|
|||
// Audition, Rank, Name, School, Score, Flags or Seat
|
||||
$ranker = App::make(RankAuditionEntries::class);
|
||||
$exportRows = [
|
||||
'Audition,Rank,Student Name,School,Score,Seat or Flag',
|
||||
'Audition,Rank,Student Name,School,Grade,Score,Seat or Flag',
|
||||
];
|
||||
$events = Event::all();
|
||||
foreach ($events as $event) {
|
||||
|
|
@ -36,6 +36,7 @@ class GetExportData
|
|||
$thisRow .= ',';
|
||||
$thisRow .= $entry->student->full_name().',';
|
||||
$thisRow .= $entry->student->school->name.',';
|
||||
$thisRow .= $entry->student->grade.',';
|
||||
$thisRow .= $entry->score_totals[0] ?? '';
|
||||
$thisRow .= ',';
|
||||
if ($entry->hasFlag('failed_prelim')) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue