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