Masquer bouton Détacher seulement s'il y a un amortissement créé

This commit is contained in:
Jean-Christophe Engel 2026-07-04 18:43:41 +02:00
parent 0302e457bd
commit 2de72ed22c

View file

@ -175,7 +175,7 @@
<td>{{$line.label}}</td>
<td class="money">{{"%f"|math:$line.amount|money_currency_html:false|raw}}</td>
<td class="actions">
{{if $total_amort == 0}}
{{if ! $created_amort}}
{{:linkbutton label="Détacher" href="detach_credit.html?immo_doc_id=%s&credit_line_id=%s"|args:$_GET.immo_doc_id:$line.credit_line_id shape="minus"}}
{{/if}}
</td>