Amélioration affichage libellé et correction oubli

This commit is contained in:
Jean-Christophe Engel 2026-03-18 09:34:26 +01:00
parent a66aeb69ba
commit 8295cfa09d
6 changed files with 21 additions and 14 deletions

View file

@ -242,7 +242,7 @@
<div class="informations">
<dl class="describe">
<dt>Immobilisation</dt>
<dd><span class="num"><a href={{$trans_url}}>#{{$ligne_immo.trans_id}}</a></span> {{$ligne_immo.label}}{{if $ligne_immo.line_label != null}} — {{$ligne_immo.line_label}}{{/if}}</dd>
<dd><span class="num"><a href={{$trans_url}}>#{{$ligne_immo.trans_id}}</a></span> {{$ligne_immo.label}}{{if $ligne_immo.line_label != null && $ligne_immo.line_label != $ligne_immo.label}} — {{$ligne_immo.line_label}}{{/if}}</dd>
<dt>Montant</dt>
<dd class="money strong">{{"%f"|math:$ligne_immo.montant|money_currency_html:false|raw}}</dd>
<dt>Début d'amortissement</dt>
@ -292,10 +292,9 @@
<td class="money">{{"%f"|math:$line.amort_amount|money_html:false|raw}}</td>
<td class="money">{{"%f"|math:$solde|money_html:false|raw}}</td>
<td>
{{if $line.amort_label == null}}
{{$line.trans_label}}
{{else}}
{{$line.amort_label}}
{{$line.trans_label}}
{{if $line.amort_label != null && $line.amort_label != $line.trans_label}}
— {{$line.amort_label}}
{{/if}}
</td>
<td><a href={{$compte_url}}>{{$line.account_code}}</a></td>