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" target="_dialog"
}} }}
{{/if}} {{/if}}
{{:linkbutton
label="Amortissements"
href="amortization.html?immo_id=%s&type_immo=autres"|args:$immo_id
shape="table"
}}
</td> </td>
</tr> </tr>
{{/select}} {{/select}}

View file

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