From d6bcaedd0514ea98e2e1e810befe8aa48f9478fc Mon Sep 17 00:00:00 2001 From: Jean-Christophe Engel Date: Fri, 12 Jun 2026 12:08:46 +0200 Subject: [PATCH] =?UTF-8?q?Autres=20amortissements=20:=20filtrer=20uniquem?= =?UTF-8?q?ent=20sur=20num=C3=A9ro=20compte?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- other_amortizations.html | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/other_amortizations.html b/other_amortizations.html index febaefa..bc5b2c5 100644 --- a/other_amortizations.html +++ b/other_amortizations.html @@ -23,14 +23,7 @@ code_immo=$ligne_immo.account_code keep="code_amort" }} - {{:include file="_get_config.html" keep="module.config"}} - {{:assign account_condition="account.code = "|cat:$code_amort}} - {{:assign filter_condition=$account_condition|cat:" AND NOT ("}} - {{#foreach from=$module.config.filters item="filter"}} - {{:assign filter="%"|cat:$filter|cat:"%"|quote_sql}} - {{:assign filter_condition=$filter_condition|cat:" trans.label LIKE "|cat:$filter|cat:" OR "}} - {{/foreach}} - {{:assign filter_condition=$filter_condition|cat:"0)"}} + {{:assign filter_condition="account.code = "|cat:$code_amort}} {{else}} {{:assign account_filter="28%"|quote_sql}} {{:assign filter_condition="account.code LIKE "|cat:$account_filter}}