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,