Amélioration affichage libellé

This commit is contained in:
Jean-Christophe Engel 2026-07-11 11:28:17 +02:00
parent 1439f0333d
commit 18e97956fe
13 changed files with 40 additions and 25 deletions

View file

@ -13,7 +13,7 @@
{{/if}}
{{:assign label_immo=$info_immo.label|or:$ligne_immo.trans_label}}
{{if $ligne_immo.line_label != null && $ligne_immo.line_label != $label_immo}}
{{if $label_immo|strpos:$ligne_immo.line_label === false}}
{{:assign label_immo=$label_immo|cat:" — "|cat:$ligne_immo.line_label}}
{{/if}}
{{:assign trans_url="%s/acc/transactions/details.php?id=%s"|args:$admin_url:$ligne_immo.trans_id}}
@ -123,12 +123,13 @@
{{/select}}
{{:admin_header title="Immobilisation sortie du bilan" custom_css="./style.css" current="module_amortization"}}
{{if $_GET.from == "exit"}}
{{:assign current="other"}}
{{else}}
{{:assign current="archived"}}
{{/if}}
{{:include file="_nav.html" current=$current subcurrent="exit"}}
{{*:include file="_nav.html" current=$current subcurrent="exit"*}}
{{if $_GET.ok}}
{{if $_GET.msg|match:"attach_avoir"}}
@ -146,7 +147,7 @@
<dt>Compte d'immobilisation</dt>
<dd>{{$ligne_immo.account_code}} — {{$ligne_immo.account_label}}</dd>
<dt>Montant de l'immobilisation</dt>
<dd><span class="money">{{$ligne_immo.amount|money_html|raw}}</dd>
<dd><span class="money">{{$montant_immo|money_currency_html:false|raw}}</dd>
{{if $total_credits > 0}}
<dt>Montant des avoirs</dt>
<dd class="money">{{"%f"|math:$total_credits|money_currency_html:false|raw}}</dd>
@ -210,7 +211,7 @@
<td class="num"></td>
<td>Date</td>
<td>Libellé</td>
<td>Montant</td>
<td class="nombre">Montant</td>
<td>N° compte</td>
<td>Compte</td>
<td class="actions"></td>