diff --git a/_nav.html b/_nav.html index 9008c17..5fa79aa 100644 --- a/_nav.html +++ b/_nav.html @@ -1,7 +1,14 @@ diff --git a/amortization.html b/amortization.html index 6d0cf5a..673818e 100644 --- a/amortization.html +++ b/amortization.html @@ -3,7 +3,7 @@ {{:admin_header title="Liste des amortissements" custom_css="./style.css" current="module_amortissement"}} {{* barre de navigation *}} -{{:include file="_nav.html" current="amortization"}} +{{:include file="_nav.html" current="index" subcurrent="amortization"}} {{if $_GET.ok}} {{if $_GET.msg|match:"attach"}} @@ -157,7 +157,7 @@ {{if $line.linked == null}} {{:linkbutton label="Détacher" href="detach_amort.html?amort_id=%d&immo_id=%d"|args:$line.amort_line:$ligne_immo.immo_id shape="plus"}} {{else}} - {{:linkbutton label="Détacher" href="" shape="lock" class="disabled"}} + {{*:linkbutton label="Détacher" href="" shape="lock" class="disabled"*}} {{/if}} @@ -216,13 +216,13 @@ {{if $enregistrer == 1}} {{:linkbutton - label="Enregistrer" + label="Créer l'écriture" href="save_amort.html?amount=%d&account=%s&year=%s&trans_id=%d&immo_id=%s&project_id=%d&label=%s&solde=%d"|args:$annuite_courante:$ligne_immo.account_id:$current_year:$ligne_immo.trans_id:$_GET.immo_id:$project_id:$libelle:$solde_prec shape="right" target="_dialog" }} {{else}} - {{:linkbutton label="Enregistrer" href="" shape="lock" class="disabled"}} + {{*:linkbutton label="Créer l'écriture" href="" shape="lock" class="disabled"*}} {{/if}}