Ajout gestion configuration comptes d'immobilisation
This commit is contained in:
parent
e7763d7cac
commit
bcf89ba874
11 changed files with 309 additions and 28 deletions
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
{{:read file="./defaut.json" assign="config_json"}}
|
||||
{{:assign config_defaut=$config_json|json_decode}}
|
||||
{{:assign var="prefix_array" value=$config_defaut.prefixes|keys}}
|
||||
|
||||
{{#years closed=false order="start_date" assign=years.}}
|
||||
{{:assign ts_debut=$start_date|strtotime}}
|
||||
|
|
@ -74,7 +73,7 @@
|
|||
file="_check_account.html"
|
||||
account=$debit_account
|
||||
chart_id=$selected_chart
|
||||
prefix_array=$prefix_array
|
||||
prefix_array=$config_defaut.prefixes
|
||||
keep="account_ok"
|
||||
}}
|
||||
|
||||
|
|
@ -138,7 +137,7 @@
|
|||
{{:assign var="projects.%d"|args:$id value=$label}}
|
||||
{{/select}}
|
||||
|
||||
{{#foreach from=$prefix_array item="code"}}
|
||||
{{#foreach from=$config_defaut.prefixes item="code"}}
|
||||
{{:assign var="pattern_array." value="%s*"|args:$code}}
|
||||
{{/foreach}}
|
||||
{{:assign var="patterns" value=$pattern_array|implode:"|"}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue