feat: export file optimization
This commit is contained in:
parent
ae9ab52f4d
commit
e83b77d985
1 changed files with 6 additions and 0 deletions
|
|
@ -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,
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue