From 9e642b4b1b8330499217f4ec3c463df9da427970 Mon Sep 17 00:00:00 2001 From: Thomas Parisot Date: Mon, 12 Feb 2024 15:45:58 +0100 Subject: [PATCH] feat(exports): supprime la surface des exports Certis --- src/components/Features/ExportStrategies/CertisExporter.js | 2 +- src/components/Features/ExportStrategies/CertisExporter.test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Features/ExportStrategies/CertisExporter.js b/src/components/Features/ExportStrategies/CertisExporter.js index a6670049..a7b1ca3c 100644 --- a/src/components/Features/ExportStrategies/CertisExporter.js +++ b/src/components/Features/ExportStrategies/CertisExporter.js @@ -99,7 +99,7 @@ const getSheet = ({ featureCollection, operator, permissions, record }) => { // Liste secondaire culture?.libelle_code_cpf, // Espèces implantées - generateAutresInfos([{ properties }], { withDate: false, withName: false, withNotes: false, withSurface: true, withVariete: true, initialCulture: culture?.code_cpf }), + generateAutresInfos([{ properties }], { withDate: false, withName: false, withNotes: false, withSurface: false, withVariete: true, initialCulture: culture?.code_cpf }), // Degré de conversion de la parcelle/ilot properties.conversion_niveau, // Date de semis/implantation diff --git a/src/components/Features/ExportStrategies/CertisExporter.test.js b/src/components/Features/ExportStrategies/CertisExporter.test.js index de96c47a..71c115cb 100644 --- a/src/components/Features/ExportStrategies/CertisExporter.test.js +++ b/src/components/Features/ExportStrategies/CertisExporter.test.js @@ -108,7 +108,7 @@ describe('CertisExporter', () => { '', '01.19.10.8', 'Luzerne', - '0.70ha / 01.19.10.7 Trèfle, 4 feuilles, 0.30ha', + '01.19.10.7 Trèfle, 4 feuilles', 'AB', '01.19.10.7 Trèfle, semis le 01/03/2023', '',