A local-first personal finance app
fix up to only templates and negative carryover (#6566)
youngcwacc21f176238
diff --git a/packages/loot-core/src/server/budget/category-template-context.ts b/packages/loot-core/src/server/budget/category-template-context.tsindex 3bef60b5be..d93ae79449 100644--- a/packages/loot-core/src/server/budget/category-template-context.ts+++ b/packages/loot-core/src/server/budget/category-template-context.ts@@ -548,7 +548,7 @@ export class CategoryTemplateContext {templateContext.currency.decimalPlaces,);} else {- return templateContext.limitAmount;+ return templateContext.limitAmount - templateContext.fromLastMonth;}}diff --git a/upcoming-release-notes/6566.md b/upcoming-release-notes/6566.mdnew file mode 100644index 0000000000..d494abb9bf--- /dev/null+++ b/upcoming-release-notes/6566.md@@ -0,0 +1,6 @@+---+category: Bugfix+authors: [youngcw]+---++Fix refill templates not handling negative carryover properly