Amélioration navigation

This commit is contained in:
Jean-Christophe Engel 2024-03-12 17:09:40 +01:00
parent e8f5ad7e0f
commit 486fc54569
5 changed files with 6 additions and 4 deletions

View File

@ -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>

View File

@ -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 *}}

View File

@ -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"}}

View File

@ -103,6 +103,7 @@
label="Ajouter une immobilisation"
shape="plus"
href="add_asset.html"
target="_dialog"
}}
</p>
</fieldset>

View File

@ -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 *}}