Skip to content

Commit

Permalink
[Goals]: Handle tracking budget income categories (#4300)
Browse files Browse the repository at this point in the history
* handle tracking income categories

* note
  • Loading branch information
youngcw authored Feb 6, 2025
1 parent 6a5de96 commit a23a285
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/loot-core/src/server/budget/categoryTemplate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ export class CategoryTemplate {
let fromLastMonth;
if (lastMonthBalance < 0 && !carryover) {
fromLastMonth = 0;
} else if (category.is_income) {
fromLastMonth = 0;
} else {
fromLastMonth = lastMonthBalance;
}
Expand Down
6 changes: 6 additions & 0 deletions upcoming-release-notes/4300.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
category: Bugfix
authors: [youngcw]
---

Fix tracking budget income templates

0 comments on commit a23a285

Please sign in to comment.