Add budgetID param
This commit is contained in:
1 parent
ee49a712ef
commit
0c68438732
2 files changed
+5
-3
No files matched your search
@@ -60,4 +60,5 @@ LEFT JOIn accounts AS otherGroupAccount
|
||||
ON otherGroupTransaction.account_id = accounts.id
|
||||
WHERE transactions.category_id IS NULL
|
||||
AND accounts.on_budget
|
||||
AND (otherGroupAccount.id IS NULL OR NOT otherGroupAccount.on_budget);
|
||||
AND (otherGroupAccount.id IS NULL OR NOT otherGroupAccount.on_budget)
|
||||
AND accounts.budget_id = $1;
|
||||
Reference in new issue
Block a user