From fe9e81e6bbf954f97bb035270bf3adf59f928a6f Mon Sep 17 00:00:00 2001 From: Imen Chermiti Date: Sun, 10 Mar 2024 22:52:16 +0100 Subject: [PATCH] feat: add effectif ETP to export search result file --- src/server/src/api/export.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/server/src/api/export.js b/src/server/src/api/export.js index aef96cc82..e98e9e52e 100644 --- a/src/server/src/api/export.js +++ b/src/server/src/api/export.js @@ -89,6 +89,7 @@ router.get("/downloadXlsx", withAuth, async (req, res) => { adresseEtablissement, complementAdresseEtablissement, libelleActivitePrincipale, + last_eff_rec }) => ({ Siret: siret, Etat: xlsxConfig.establishmentState[etatAdministratifEtablissement], @@ -107,6 +108,7 @@ router.get("/downloadXlsx", withAuth, async (req, res) => { "Code postal": codePostalEtablissement, Ville: libelleCommuneEtablissement, "Dernier effectif DSN connu": getTrancheLibelleFromCode(trancheEffectifsEtablissement), + "Dernier effectif ETP ": last_eff_rec, Activité: `${codeActivitePrincipale} - ${libelleActivitePrincipale}`, }) );