Changement filtre brindille : key => value
This commit is contained in:
parent
b8ff213645
commit
ec54c90440
6 changed files with 19 additions and 15 deletions
|
|
@ -54,7 +54,7 @@
|
|||
account=$elem
|
||||
keep="account_code"
|
||||
}}
|
||||
{{:assign debit_account=$account_code|keys|key:0}}
|
||||
{{:assign debit_account=$account_code|keys|value:0}}
|
||||
{{:assign var="amount" from="_POST.credit_lines.%s"|args:$rang}}
|
||||
{{:assign var="label" from="_POST.line_labels.%s"|args:$rang}}
|
||||
{{:assign
|
||||
|
|
@ -71,7 +71,7 @@
|
|||
account=$_POST.debit_account
|
||||
keep="account_code"
|
||||
}}
|
||||
{{:assign credit_account=$account_code|keys|key:0}}
|
||||
{{:assign credit_account=$account_code|keys|value:0}}
|
||||
{{:assign var="amount" from="_POST.debit_lines.%s"|args:0}}
|
||||
{{:assign count=$_POST.line_labels|count}}
|
||||
{{:assign count="%d-1"|math:$count}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue