Amortization : amélioration affichage boutons
This commit is contained in:
parent
7903afbd0c
commit
2af96b2796
1 changed files with 3 additions and 3 deletions
|
|
@ -45,11 +45,11 @@
|
|||
{{:admin_header title="Détails de l'immobilisation" custom_css="./style.css" current="module_amortization"}}
|
||||
|
||||
{{* barre de navigation *}}
|
||||
{{if $_GET.type_immo == "amortized" || $valeur_residuelle == 0 }}
|
||||
{{if $_GET.type_immo == "amortized" && $valeur_residuelle == 0}}
|
||||
{{:assign current="amortized"}}
|
||||
{{elseif $_GET.type_immo == "archived"}}
|
||||
{{:assign current="archived"}}
|
||||
{{elseif $_GET.type_immo == null || $_GET.type_immo == "managed"}}
|
||||
{{elseif $_GET.type_immo == null || $_GET.type_immo == "managed" || $valeur_residuelle > 0}}
|
||||
{{:assign current="managed"}}
|
||||
{{else}}
|
||||
{{:assign current="other"}}
|
||||
|
|
@ -150,7 +150,7 @@
|
|||
|
||||
<h3 class="ruler">Avoirs</h3>
|
||||
<nav class="actions">
|
||||
{{if $total_amort == 0}}
|
||||
{{if $total_amort == 0 || ! $created_amort}}
|
||||
{{:linkbutton label="Attacher une écriture d'avoir" href="link_immo.html?immo_doc_id=%s"|args:$_GET.immo_doc_id shape="link" target="_dialog"}}
|
||||
{{/if}}
|
||||
</nav>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue