Skip to content

Commit

Permalink
feat: add effectif ETP to export search result file (#326)
Browse files Browse the repository at this point in the history
  • Loading branch information
ImenOuidou authored Mar 11, 2024
1 parent ec7134d commit 1eee08d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/server/src/api/export.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ router.get("/downloadXlsx", withAuth, async (req, res) => {
adresseEtablissement,
complementAdresseEtablissement,
libelleActivitePrincipale,
last_eff_rec
}) => ({
Siret: siret,
Etat: xlsxConfig.establishmentState[etatAdministratifEtablissement],
Expand All @@ -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}`,
})
);
Expand Down

0 comments on commit 1eee08d

Please sign in to comment.