Ajout info création nouvel amortissement

This commit is contained in:
Jean-Christophe Engel 2026-06-10 11:16:01 +02:00
parent 2acb6304b6
commit 33c65388f9
2 changed files with 7 additions and 2 deletions

View file

@ -1,6 +1,6 @@
{ {
"$schema": "https://json-schema.org/draft/2020-12/schema", "$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Schéma des liens entre documents", "description": "Schéma des liens entre écritures",
"type": "object", "type": "object",
"properties": { "properties": {
"type": { "type": {
@ -23,7 +23,7 @@
"exclusiveMinimum": 0 "exclusiveMinimum": 0
}, },
"exit_line_id": { "exit_line_id": {
"description": "ligne d'amortissement de sortie du bilan de l'immobilisation", "description": "ligne de sortie du bilan de l'immobilisation",
"type": "integer", "type": "integer",
"exclusiveMinimum": 0 "exclusiveMinimum": 0
}, },
@ -35,6 +35,10 @@
"amount": { "amount": {
"description": "montant de la ligne d'amortissement ou de crédit", "description": "montant de la ligne d'amortissement ou de crédit",
"type": ["number", "null"] "type": ["number", "null"]
},
"created" : {
"description" : "vrai si amortissement créé dans le module",
"type" : ["boolean", "null"]
} }
}, },
"required": ["type", "immo_doc_id"], "required": ["type", "immo_doc_id"],

View file

@ -185,6 +185,7 @@
type="amort_link" type="amort_link"
immo_doc_id=$_GET.immo_doc_id|intval immo_doc_id=$_GET.immo_doc_id|intval
amort_line_id=$line.id amort_line_id=$line.id
created=true
}} }}
{{:break}} {{:break}}
{{/if}} {{/if}}