xlsx sheet title updated

This commit is contained in:
s416422 2019-12-14 22:41:09 +01:00
parent 857b5eed17
commit db8621837f

View File

@ -37,7 +37,7 @@ class AttendanceGroupedExportSingleView implements FromView, WithTitle
$subject = Subject::find(Classes::find($this->groupedValue)->subject_id)->name;
$date = Classes::find($this->groupedValue)->date;
$this->groupedValue = "{$subject} {$date}";
$this->groupedValue = "{$date} {$subject}";
}
return substr(str_replace(":", "-", "{$this->groupedValue}"), 0, 30);