From f69b5a0ee87bc93c3f47d6596cd994f9eac5a58c Mon Sep 17 00:00:00 2001 From: Jean-Christophe Engel Date: Fri, 12 Jun 2026 10:24:35 +0200 Subject: [PATCH] =?UTF-8?q?Am=C3=A9lioration=20pr=C3=A9sentation=20page=20?= =?UTF-8?q?amortissements?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _immobilisations.html | 2 +- amortization.html | 78 +++++++++++++++++++++---------------------- 2 files changed, 40 insertions(+), 40 deletions(-) diff --git a/_immobilisations.html b/_immobilisations.html index 8e56aef..ab4d4d6 100644 --- a/_immobilisations.html +++ b/_immobilisations.html @@ -124,7 +124,7 @@ {{$account_code}} {{:linkbutton - label="Voir" + label="Détails" href="amortization.html?immo_doc_id=%s&type_immo=%s"|args:$immo_doc_id:$type_immo shape="eye" }} diff --git a/amortization.html b/amortization.html index f7c9d43..5f70eb1 100644 --- a/amortization.html +++ b/amortization.html @@ -113,14 +113,14 @@

Immobilisation

-

+

@@ -156,8 +156,43 @@
+

Avoirs

+ + +{{if $linked_immos != null}} + + + + + + + + + + {{#foreach from=$linked_immos item="line"}} + {{:assign url="%s/acc/transactions/details.php?id=%s"|args:$admin_url:$line.trans_id}} + + + + + + + + {{/foreach}} + +
DateLibelléMontant
#{{$line.trans_id}}{{$line.date|date_short}}{{$line.label}}{{"%f"|math:$line.amount|money_currency_html:false|raw}} + {{if $total_amort == 0}} + {{:linkbutton label="Détacher" href="detach_credit.html?immo_doc_id=%s&credit_line_id=%s"|args:$_GET.immo_doc_id:$line.credit_line_id shape="minus"}} + {{/if}} +
+{{/if}} +

Amortissements

-

+

{{if $linked_amort != null}}
@@ -231,40 +266,5 @@

Aucun amortissement enregistré pour cette immobilisation ; utilisez le bouton « Enregistrer un amortissement » pour enregistrer un nouvel amortissement

{{/if}} -

Avoirs

-

- {{if $total_amort == 0}} - {{:linkbutton label="Attacher une écriture d'avoir" href="link_immo.html?immo_doc_id=%s"|args:$_GET.immo_doc_id shape="link" target="_dialog"}} - {{/if}} -

- -{{if $linked_immos != null}} - - - - - - - - - - {{#foreach from=$linked_immos item="line"}} - {{:assign url="%s/acc/transactions/details.php?id=%s"|args:$admin_url:$line.trans_id}} - - - - - - - - {{/foreach}} - -
DateLibelléMontant
#{{$line.trans_id}}{{$line.date|date_short}}{{$line.label}}{{"%f"|math:$line.amount|money_currency_html:false|raw}} - {{if $total_amort == 0}} - {{:linkbutton label="Détacher" href="detach_credit.html?immo_doc_id=%s&credit_line_id=%s"|args:$_GET.immo_doc_id:$line.credit_line_id shape="minus"}} - {{/if}} -
-{{/if}} - {{:form_errors}} {{:admin_footer}}