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}}