Add budgetID param

This commit is contained in:
jacob1123 authored and Gitea committed 2022-04-23 13:32:39 +02:00
1 parent 43a4647d74
commit 07c0c56d11
2 files changed
+5 -3

No files matched your search

+2 -1
View File
@@ -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;