Amélioration navigation
This commit is contained in:
parent
e8f5ad7e0f
commit
486fc54569
@ -1,6 +1,6 @@
|
||||
<nav class="tabs">
|
||||
<ul>
|
||||
<li {{if $current == 'index'}} class="current"{{/if}}><a href="{{$module.url}}index.html">Immobilisations</a></li>
|
||||
<li {{if $current == 'amortization'}} class="current"{{/if}}><a href="{{$module.url}}/amortization.html">Amortissements</a></li>
|
||||
<li {{if $current == 'amortization'}} class="current"{{/if}}><a>Amortissements</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
@ -40,7 +40,7 @@
|
||||
duration=$_POST.duree|intval
|
||||
}}
|
||||
|
||||
{{:redirect to="index.html?ok=1&msg=immobilisation"}}
|
||||
{{:redirect force="index.html?ok=1&msg=immobilisation"}}
|
||||
{{/form}}
|
||||
|
||||
{{* Préparer les infos pour le formulaire *}}
|
||||
|
@ -268,6 +268,7 @@
|
||||
label="Enregistrer"
|
||||
href="save_amort.html?amount=%d&account=%s&year=%s&trans_id=%d&line_id=%s&project_id=%d&label=%s"|args:$annuite_courante:$ligne_immo.account_id:$current_year:$ligne_immo.trans_id:$_GET.line_id:$project_id:$libelle
|
||||
shape="right"
|
||||
target="_dialog"
|
||||
}}
|
||||
{{else}}
|
||||
{{:linkbutton label="Enregistrer" href="" shape="lock" class="disabled"}}
|
||||
|
@ -103,6 +103,7 @@
|
||||
label="Ajouter une immobilisation"
|
||||
shape="plus"
|
||||
href="add_asset.html"
|
||||
target="_dialog"
|
||||
}}
|
||||
</p>
|
||||
</fieldset>
|
||||
|
@ -40,7 +40,7 @@
|
||||
linked_transactions=$_GET.trans_id|intval
|
||||
}}
|
||||
|
||||
{{:redirect to="amortization.html?line_id=%s&ok=1&msg=amortissement"|args:$_GET.line_id}}
|
||||
{{:redirect force="amortization.html?line_id=%s&ok=1&msg=amortissement"|args:$_GET.line_id}}
|
||||
{{/form}}
|
||||
|
||||
{{* Préparer les infos pour le formulaire *}}
|
||||
|
Loading…
Reference in New Issue
Block a user