fix for too long xlsx sheet title

This commit is contained in:
s416422 2019-12-14 22:38:00 +01:00
parent 2999478790
commit 857b5eed17

View File

@ -40,6 +40,6 @@ class AttendanceGroupedExportSingleView implements FromView, WithTitle
$this->groupedValue = "{$subject} {$date}";
}
return str_replace(":", "-", "{$this->groupedValue}");
return substr(str_replace(":", "-", "{$this->groupedValue}"), 0, 30);
}
}