Améliorations cosmétiques

This commit is contained in:
Jean-Christophe Engel 2025-05-16 15:20:22 +02:00
parent 3fc96927a5
commit 0c4f39b21a
5 changed files with 26 additions and 16 deletions

View file

@ -8,6 +8,7 @@
{{elseif $amort == "fini"}}
<h2 class="ruler">Immobilisations amorties</h2>
{{/if}}
{{:assign nb_immo=0}}
<table class="list">
<thead>
@ -138,6 +139,7 @@
}}
{{:continue}}
{{/if}}
{{:assign nb_immo="%d+1"|math:$nb_immo}}
<tr>
<td class="num"><a href={{$trans_url}}>#{{$trans_id}}</a></td>
<td>{{$trans_date|date_short}}</td>
@ -179,4 +181,7 @@
{{/select}}
</tbody>
</table>
{{if $nb_immo == 0}}
<p class="block alert">Aucune immobilisation</p>
{{/if}}
</section>