From ddbea77660bfa4116348b15a5b9c93f752e577f0 Mon Sep 17 00:00:00 2001 From: Jean-Christophe Engel Date: Wed, 18 Dec 2024 15:11:28 +0100 Subject: [PATCH] =?UTF-8?q?Pr=C3=A9ciser=20num=C3=A9ro=20d'=C3=A9criture?= =?UTF-8?q?=20attach=C3=A9e/d=C3=A9tach=C3=A9e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- amortization.html | 4 ++-- attach_amort.html | 2 +- detach_amort.html | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/amortization.html b/amortization.html index 5d9d56f..fe315d9 100644 --- a/amortization.html +++ b/amortization.html @@ -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}} diff --git a/attach_amort.html b/attach_amort.html index 01993a4..d2863df 100644 --- a/attach_amort.html +++ b/attach_amort.html @@ -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}} diff --git a/detach_amort.html b/detach_amort.html index bdbca86..b2ae4da 100644 --- a/detach_amort.html +++ b/detach_amort.html @@ -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}}