Merge branch 'main' into selector
This commit is contained in:
commit
ad4b76695d
@ -259,7 +259,7 @@
|
|||||||
inner join acc_accounts as acc on acc.id = li.id_account
|
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_transactions as trans on trans.id = li.id_transaction
|
||||||
inner join acc_years as y on y.id = trans.id_year
|
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;
|
order by trans.date, trans.label;
|
||||||
assign=autre_amort
|
assign=autre_amort
|
||||||
}}
|
}}
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
{{:assign condition=$condition|cat:" account.code LIKE "|cat:$quote|cat:$code|cat:"%"|cat:$quote|cat:" OR "}}
|
{{:assign condition=$condition|cat:" account.code LIKE "|cat:$quote|cat:$code|cat:"%"|cat:$quote|cat:" OR "}}
|
||||||
{{/foreach}}
|
{{/foreach}}
|
||||||
{{:assign condition=$condition|cat:"0)"}}
|
{{: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
|
{{#select
|
||||||
trans.id as trans_id,
|
trans.id as trans_id,
|
||||||
|
Loading…
Reference in New Issue
Block a user