Skip to content
Snippets Groups Projects
Unverified Commit 107acdb3 authored by Matiss Janis Aboltins's avatar Matiss Janis Aboltins Committed by GitHub
Browse files

:bug: (report) do not include offbudget transfers in cash-flow card expenses (#2485)

parent 53430308
No related branches found
No related tags found
No related merge requests found
......@@ -19,12 +19,7 @@ export function simpleCashFlow(start, end) {
.filter({
$and: [{ date: { $gte: start } }, { date: { $lte: end } }],
'account.offbudget': false,
$or: [
{
'payee.transfer_acct.offbudget': true,
'payee.transfer_acct': null,
},
],
'payee.transfer_acct': null,
})
.calculate({ $sum: '$amount' });
}
......
---
category: Bugfix
authors: [MatissJanis]
---
Do not include off-budget transfers in the expenses calculation for cash-flow card (align it with the cash-flow reports page).
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment