From 1e2ba133f53e4b65a2a4f4aa185551ba02e2e91b Mon Sep 17 00:00:00 2001 From: Jean-Christophe Engel Date: Mon, 20 Jan 2025 17:11:59 +0100 Subject: [PATCH] =?UTF-8?q?Ignorer=20=C3=A9critures=20de=20la=20balance=20?= =?UTF-8?q?d'ouverture?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- amortization.html | 2 +- immobilisations.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/amortization.html b/amortization.html index f000229..e6703d7 100644 --- a/amortization.html +++ b/amortization.html @@ -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 }} diff --git a/immobilisations.html b/immobilisations.html index 9c73eb6..09ff644 100644 --- a/immobilisations.html +++ b/immobilisations.html @@ -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,