diff --git a/src/naf-2025.md b/src/naf-2025.md index f4b3957..35a7cc6 100644 --- a/src/naf-2025.md +++ b/src/naf-2025.md @@ -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"}) @@ -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"})