Correction oubli affichage liste avoirs

This commit is contained in:
Jean-Christophe Engel 2026-09-17 18:24:37 +02:00
parent 75cb25fbb9
commit 8667a3643d

View file

@ -155,13 +155,17 @@
</dl>
</div>
{{if ! $created_amort || $linked_immos != null}}
<h3 class="ruler">Avoirs</h3>
{{/if}}
{{if ! $created_amort}}
<nav class="actions">
{{:linkbutton label="Attacher une écriture d'avoir" href="link_immo.html?immo_doc_id=%s&filter=true"|args:$_GET.immo_doc_id shape="link" target="_dialog"}}
</nav>
{{if $valeur_residuelle > 0}}
{{if ! $created_amort || $linked_immos != null}}
<h3 class="ruler">Avoirs</h3>
{{/if}}
{{if ! $created_amort}}
<nav class="actions">
{{:linkbutton label="Attacher une écriture d'avoir" href="link_immo.html?immo_doc_id=%s&filter=true"|args:$_GET.immo_doc_id shape="link" target="_dialog"}}
</nav>
{{/if}}
{{elseif $linked_immos != null}}
<h3 class="ruler">Avoirs</h3>
{{/if}}
{{if $linked_immos != null}}