Skip to content

Commit

Permalink
feat(exports): supprime la surface des exports Certis
Browse files Browse the repository at this point in the history
  • Loading branch information
thom4parisot committed Feb 12, 2024
1 parent f68bce9 commit 9e642b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Features/ExportStrategies/CertisExporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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',
'',
Expand Down

0 comments on commit 9e642b4

Please sign in to comment.