feat: export file optimization

This commit is contained in:
Corentin Huet 2025-07-08 15:36:23 +02:00
parent ae9ab52f4d
commit e83b77d985

View file

@ -35,6 +35,9 @@ class SalariesExport implements FromCollection, WithHeadings, WithMapping, WithC
{
return [
'Matricule',
'Nom',
'Prenom',
'Site',
'Code',
];
}
@ -51,6 +54,9 @@ class SalariesExport implements FromCollection, WithHeadings, WithMapping, WithC
//phpcs:enable
return [
$salaries->matricule,
$salaries->nom,
$salaries->prenom,
$salaries->site,
$salaries->code,
];
}