I've got an Maatwebsite (v3.1.25) Excel Export as follows. What is the simplest way to add a custom name for each sheet? Currently they just appear as "Worksheet", "Worksheet 1" etc.
I did see the official website's documentation, but couldn't figure out how to apply it to my specific situation.
class BizdevReport implements WithMultipleSheets
{
public function sheets(): array
{
$sheets = [
new BizdevReportTeachers(),
new BizdevReportClasses(),
new BizdevReportGMV()
];
return $sheets;
}
}
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire