From 33c65388f95e27e50b5513a1f311fac309b82735 Mon Sep 17 00:00:00 2001 From: Jean-Christophe Engel Date: Wed, 10 Jun 2026 11:16:01 +0200 Subject: [PATCH] =?UTF-8?q?Ajout=20info=20cr=C3=A9ation=20nouvel=20amortis?= =?UTF-8?q?sement?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- link.schema.json | 8 ++++++-- save_amort.html | 1 + 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/link.schema.json b/link.schema.json index 111d1bc..0160ff2 100644 --- a/link.schema.json +++ b/link.schema.json @@ -1,6 +1,6 @@ { "$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", "properties": { "type": { @@ -23,7 +23,7 @@ "exclusiveMinimum": 0 }, "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", "exclusiveMinimum": 0 }, @@ -35,6 +35,10 @@ "amount": { "description": "montant de la ligne d'amortissement ou de crédit", "type": ["number", "null"] + }, + "created" : { + "description" : "vrai si amortissement créé dans le module", + "type" : ["boolean", "null"] } }, "required": ["type", "immo_doc_id"], diff --git a/save_amort.html b/save_amort.html index a891138..0886c08 100644 --- a/save_amort.html +++ b/save_amort.html @@ -185,6 +185,7 @@ type="amort_link" immo_doc_id=$_GET.immo_doc_id|intval amort_line_id=$line.id + created=true }} {{:break}} {{/if}}