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 [
|
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,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue