Skip to content

Commit

Permalink
Update naf-2025.md
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAIWizard authored Feb 13, 2025
1 parent 64d3272 commit 84450ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/naf-2025.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ const cj = Generators.input(cjInput);
const typeFormInput = Inputs.select(["A","B","C","D","E","G","I","L","M","N","P","R","S","X","Y","Z",])
const typeForm = Generators.input(typeFormInput);

const surfInput = Inputs.select([null].concat(["1 - strictement inférieure à 120 m2", "2 - entre 120 et 399 m2", "3 - entre 400 et 2499 m2", "4 - strictement supérieure à 2499 m2"]), {value: null,})
const surfInput = Inputs.select([null].concat(["1 - strictement inférieure à 120 m2", "2 - entre 120 et 399 m2", "3 - entre 400 et 2499 m2", "4 - strictement supérieure à 2499 m2"]), {value: null,});
const surf = Generators.input(surfInput).transform(value => value ? value.split(" - ")[0] : null);

const permStatusInput = Inputs.select([null].concat(["P", "S"]), {value: "P"})
Expand All @@ -112,7 +112,7 @@ const natInput = Inputs.text({
error: "Doit être code à 2 chiffres"
});
-->
const natInput = Inputs.select([null].concat(["04 - Fabrication, production", "09 - Commerce de gros", "10 - Commerce de détail en magasin","14 - Batiment, travaux publics", "16 - Commerce de détail sur marché", "17 - Commerce de détail sur internet","20 - Location de logements", "21 - Location de terrains et autres biens immobiliers", "22 - Promotion immobilière de bureaux","23 - Promotion immobilière de logements", "24 - Promotion immobilière d'autres bâtiments", "25 - Réalisation de programme de construction", "26 - Support de patrimoine familial immobilier sans activité de location", "99 - Autre"]), {value: null,})
const natInput = Inputs.select([null].concat(["04 - Fabrication, production", "09 - Commerce de gros", "10 - Commerce de détail en magasin","14 - Batiment, travaux publics", "16 - Commerce de détail sur marché", "17 - Commerce de détail sur internet","20 - Location de logements", "21 - Location de terrains et autres biens immobiliers", "22 - Promotion immobilière de bureaux","23 - Promotion immobilière de logements", "24 - Promotion immobilière d'autres bâtiments", "25 - Réalisation de programme de construction", "26 - Support de patrimoine familial immobilier sans activité de location", "99 - Autre"]), {value: null,});
const nat = Generators.input(natInput).transform(value => value ? value.split(" - ")[0] : null);

const otherNatureActivityInput = Inputs.text({width: width/2, placeholder: "Détaillez une autre nature d'activité si nécessaire"})
Expand Down

0 comments on commit 84450ed

Please sign in to comment.