Skip to content

Commit

Permalink
🐛 (report) do not include offbudget transfers in cash-flow card expenses
Browse files Browse the repository at this point in the history
Closes #2237
  • Loading branch information
MatissJanis committed Mar 21, 2024
1 parent 5343030 commit 442eb0c
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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' });
}
Expand Down

0 comments on commit 442eb0c

Please sign in to comment.