Correction affichage solde nul

This commit is contained in:
Jean-Christophe Engel 2025-01-06 14:04:36 +01:00
parent 3738ea0721
commit 6e06d4f24f

View File

@ -142,7 +142,7 @@
<td class="num"><a href={{$trans_url}}>#{{$line.amort_trans_id}}</a></td> <td class="num"><a href={{$trans_url}}>#{{$line.amort_trans_id}}</a></td>
<td>{{$line.amort_date|date_short}}</td> <td>{{$line.amort_date|date_short}}</td>
<td class="money">{{"%f"|math:$line.amort_amount|money}}</td> <td class="money">{{"%f"|math:$line.amort_amount|money}}</td>
<td class="money">{{"%f"|math:$solde|money}}</td> <td class="money">{{"%f"|math:$solde|money:false}}</td>
<td> <td>
{{if $line.amort_label == null}} {{if $line.amort_label == null}}
{{$line.trans_label}} {{$line.trans_label}}
@ -197,7 +197,7 @@
<td class="num">{{"%d+1"|math:$num}}</td> <td class="num">{{"%d+1"|math:$num}}</td>
<td>{{$date_amort|date_short}}</td> <td>{{$date_amort|date_short}}</td>
<td class="money">{{"%f"|math:$annuite_courante|money}}</td> <td class="money">{{"%f"|math:$annuite_courante|money}}</td>
<td class="money">{{if $solde == 0}}0,00{{else}}{{"%f"|math:$solde|money}}{{/if}}</td> <td class="money">{{$solde|money:false}}</td>
<td> <td>
{{if $libelle == null}} {{if $libelle == null}}
{{:assign libelle="Amortissement "|cat:$ligne_immo.label}} {{:assign libelle="Amortissement "|cat:$ligne_immo.label}}