Skip to content

A local-first personal finance app

[Goals]: Handle tracking budget income categories (#4300)

youngcwa23a28522ff0
diff --git a/packages/loot-core/src/server/budget/categoryTemplate.ts b/packages/loot-core/src/server/budget/categoryTemplate.ts
index 37dcbbecb6..9dcd518070 100644
--- a/packages/loot-core/src/server/budget/categoryTemplate.ts
+++ b/packages/loot-core/src/server/budget/categoryTemplate.ts
@@ -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;
}
diff --git a/upcoming-release-notes/4300.md b/upcoming-release-notes/4300.md
new file mode 100644
index 0000000000..68522dbf8a
--- /dev/null
+++ b/upcoming-release-notes/4300.md
@@ -0,0 +1,6 @@
+---
+category: Bugfix
+authors: [youngcw]
+---
+
+Fix tracking budget income templates