Ignorer écritures de la balance d'ouverture

This commit is contained in:
Jean-Christophe Engel 2025-01-20 17:11:59 +01:00
parent a604a86a3f
commit 1e2ba133f5
2 changed files with 2 additions and 2 deletions

View File

@ -259,7 +259,7 @@
inner join acc_accounts as acc on acc.id = li.id_account
inner join acc_transactions as trans on trans.id = li.id_transaction
inner join acc_years as y on y.id = trans.id_year
where acc.code like "28%" AND credit > 0
where acc.code like "28%" AND credit > 0 AND (NOT trans.status & 16)
order by trans.date, trans.label;
assign=autre_amort
}}

View File

@ -35,7 +35,7 @@
{{:assign condition=$condition|cat:" account.code LIKE "|cat:$quote|cat:$code|cat:"%"|cat:$quote|cat:" OR "}}
{{/foreach}}
{{:assign condition=$condition|cat:"0)"}}
{{:assign condition=$condition|cat:" AND debit > 0"}}
{{:assign condition=$condition|cat:" AND debit > 0 AND NOT (trans.status & 16)"}}
{{#select
trans.id as trans_id,