Ajout bouton amortissement dans onglet Autres

This commit is contained in:
Jean-Christophe Engel 2025-05-27 10:01:30 +02:00
parent 021c39759c
commit ceafe9157d
2 changed files with 9 additions and 2 deletions

View file

@ -120,6 +120,11 @@
target="_dialog"
}}
{{/if}}
{{:linkbutton
label="Amortissements"
href="amortization.html?immo_id=%s&type_immo=autres"|args:$immo_id
shape="table"
}}
</td>
</tr>
{{/select}}

View file

@ -137,9 +137,9 @@
{{/if}}
</dl>
<h3 class="center-block ruler">Amortissements enregistrés</h3>
{{if $linked_lines != null}}
<section class="amortissement">
<h3 class="center-block ruler">Amortissements enregistrés</h3>
<table class="list">
<thead>
<tr>
@ -181,6 +181,8 @@
</tbody>
</table>
</section>
{{else}}
<p class="block alert">Aucun amortissement enregistré pour cette immobilisation</p>
{{/if}}
{{if $_GET.type_immo == null || $_GET.type_immo != "fini"}}
@ -219,7 +221,7 @@
{{if $autres_amortissements != null}}
<section class="amortissement">
<h3 class="center-block ruler">Autres amortissements non rattachés</h3>
<h3 class="center-block ruler">Amortissements non rattachés</h3>
<table class="list">
<thead>
<tr>