Correction dysfonctionnement config unfinished

This commit is contained in:
Jean-Christophe Engel 2026-01-08 18:21:42 +01:00
parent 3f2c4902c9
commit db1f1700d1
4 changed files with 34 additions and 4 deletions

View file

@ -21,6 +21,11 @@
{{:include file="_get_config.html" keep="module.config.unfinished"}}
{{:assign condition="("}}
{{#foreach from=$module.config.unfinished item="elem"}}
{{if $elem.code != null}}
{{:assign code=$elem.code}}
{{else}}
{{:assign code=$elem}}
{{/if}}
{{:assign code=$elem.code|cat:"%"|quote_sql}}
{{:assign condition=$condition|cat:" account.code LIKE "|cat:$code|cat:" OR "}}
{{/foreach}}