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

@ -99,6 +99,11 @@
{{* libellés des comptes d'immobilisation en cours de constitution *}}
{{: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|quote_sql}}
{{:assign condition=$condition|cat:" account.code = "|cat:$code|cat:" OR "}}
{{/foreach}}