From e83b77d98541c563728bd76293398b717d913b45 Mon Sep 17 00:00:00 2001 From: Corentin Huet Date: Tue, 8 Jul 2025 15:36:23 +0200 Subject: [PATCH] feat: export file optimization --- app/Exports/SalariesExport.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/Exports/SalariesExport.php b/app/Exports/SalariesExport.php index 1ae0d6b7..49b3b254 100644 --- a/app/Exports/SalariesExport.php +++ b/app/Exports/SalariesExport.php @@ -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, ]; }