Modification types de sortie dans schéma mouvements

This commit is contained in:
Jean-Christophe Engel 2023-10-20 14:11:59 +02:00
parent 6551c9ec07
commit 8e8f308671
2 changed files with 3 additions and 1 deletions

View File

@ -19,7 +19,7 @@
"outputNature": {
"description": "Nature de la sortie",
"type": ["null", "string"],
"enum": ["Vente", "Don", "Besoin", "Autre (perte, vol, ...)", "Location / Prêt"]
"enum": ["Vente", "Don", "Location / Prêt", "Autre (casse, perte, vol, ...)"]
},
"amount": {
"description": "Quantité ajoutée ou retirée",

View File

@ -9,6 +9,8 @@
{{:assign var='types_sorties.' value='Vente'}}
{{:assign var='types_sorties.' value='Don'}}
{{:assign var='types_sorties.' value='Location / Prêt'}}
{{:assign var='types_sorties.' value='Autre (casse, perte, vol, ...)'}}
{{* Traiter l'envoi du formulaire *}}
{{#form on="save"}}