Ajout info création nouvel amortissement
This commit is contained in:
parent
2acb6304b6
commit
33c65388f9
2 changed files with 7 additions and 2 deletions
|
|
@ -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"],
|
||||||
|
|
|
||||||
|
|
@ -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}}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue