Amélioration navigation
This commit is contained in:
parent
e8f5ad7e0f
commit
486fc54569
5 changed files with 6 additions and 4 deletions
|
|
@ -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 *}}
|
||||
|
|
@ -49,7 +49,7 @@
|
|||
{{*
|
||||
déterminer le compte d'amortissement en fonction du compte
|
||||
d'immobilisation => ajouter un 8 après le 2 de tête
|
||||
*}}
|
||||
*}}
|
||||
{{#select code, label from acc_accounts where id = :id; :id=$_GET.account assign=amort_account}}{{/select}}
|
||||
{{:assign c1=$amort_account.code|substr:0:1}}
|
||||
{{:assign reste=$amort_account.code|substr:1}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue