Préciser numéro d'écriture attachée/détachée

This commit is contained in:
Jean-Christophe Engel 2024-12-18 15:11:28 +01:00
parent 33ad15dbfc
commit ddbea77660
3 changed files with 4 additions and 4 deletions

View File

@ -7,9 +7,9 @@
{{if $_GET.ok}}
{{if $_GET.msg|match:"attach"}}
{{:assign msg="Attachement effectué"}}
{{:assign msg="Attachement effectué (écriture %s)"|args:$_GET.trans_id}}
{{elseif $_GET.msg|match:"detach"}}
{{:assign msg="Attachement supprimé"}}
{{:assign msg="Attachement supprimé (écriture %s)"|args:$_GET.trans_id}}
{{elseif $_GET.msg|match:"amortissement"}}
{{:assign msg="Amortissement enregistré"}}
{{/if}}

View File

@ -53,4 +53,4 @@
assign_code="result_code"
transactions=$linked_transactions
}}
{{:redirect to="amortization.html?immo_id=%s&ok=1&msg=attach"|args:$_GET.immo_id}}
{{:redirect to="amortization.html?immo_id=%s&ok=1&msg=attach&trans_id=%s"|args:$_GET.immo_id:$amort_id}}

View File

@ -55,4 +55,4 @@
assign_code="result_code"
transactions=$linked_transactions
}}
{{:redirect to="amortization.html?immo_id=%s&ok=1&msg=detach"|args:$_GET.immo_id}}
{{:redirect to="amortization.html?immo_id=%s&ok=1&msg=detach&trans_id=%s"|args:$_GET.immo_id:$amort_id}}