From db8621837f0b3934b029d17b778fcbbec88481c9 Mon Sep 17 00:00:00 2001 From: s416422 Date: Sat, 14 Dec 2019 22:41:09 +0100 Subject: [PATCH] xlsx sheet title updated --- app/Exports/AttendanceGroupedExportSingleView.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Exports/AttendanceGroupedExportSingleView.php b/app/Exports/AttendanceGroupedExportSingleView.php index 71141e8..5e91a29 100644 --- a/app/Exports/AttendanceGroupedExportSingleView.php +++ b/app/Exports/AttendanceGroupedExportSingleView.php @@ -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);