From d7456a95498bfd30d62a91637bee44780db1fb3e Mon Sep 17 00:00:00 2001 From: Jean-Christophe Engel Date: Wed, 18 Mar 2026 09:34:26 +0100 Subject: [PATCH] =?UTF-8?q?Am=C3=A9lioration=20affichage=20libell=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- save_amort.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/save_amort.html b/save_amort.html index 5a509a8..3a2f0f9 100644 --- a/save_amort.html +++ b/save_amort.html @@ -10,6 +10,7 @@ line.id_account as account_id, line.debit as montant, line.id_project as project_id, + line.label as line_label, trans.id as trans_id, trans.label, trans.date, @@ -27,6 +28,9 @@ {{/select}} {{:assign date_debut=$ligne_immo.date}} {{:assign var="amort_label" value="Amortissement %s"|args:$ligne_immo.label}} +{{if $ligne_immo.line_label != null}} + {{:assign amort_label=$amort_label|cat:" — "|cat:$ligne_immo.line_label}} +{{/if}} {{#load type="immo" where="$$.line = :line_id" :line_id=$_GET.immo_id|intval}} {{:assign duree=$duration}} @@ -289,7 +293,7 @@
{{:input type="select" default=$selected_year name="id_year" label="Exercice" required=true default_empty="— Faire un choix —" options=$open_years}} {{:input type="date" name="date_amort" label="Date" required=true default=$date_amort|date_short}} - {{:input type="text" name="designation" label="Libellé" required=true default=$amort_label}} + {{:input type="text" name="designation" label="Libellé" required=true default=$amort_label size="50"}} {{:input type="money" name="montant" label="Montant" required=true default=$montant_amort}} {{:input type="list"