[PR #3822] [MERGED] [Goals] fix remainder goal #5075

Closed
opened 2026-02-28 21:05:33 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/3822
Author: @youngcw
Created: 11/11/2024
Status: Merged
Merged: 11/11/2024
Merged by: @youngcw

Base: masterHead: youngcw/remainder-fix


📝 Commits (1)

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 packages/loot-core/src/server/budget/categoryTemplate.ts (+1 -1)

📄 Description

Fix the case that there is only a remainder template and no other templates. Remainders shouldn't set or affect goals. Edge currently will show 0 as the goal for remainder only templates, but categories with other template lines work fine.

To test:

  1. Add a remainder template to a category
  2. Add a template and a remainder template to a category
  3. Run templates
  4. See that the remainder only category has no goal set (no tooltip will show on hover of balance), and that the category with two templates will show the expected goal excluding the remainder additions

Ill skip the release note since I just merged in a PR that talked about fixing goals.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/actualbudget/actual/pull/3822 **Author:** [@youngcw](https://github.com/youngcw) **Created:** 11/11/2024 **Status:** ✅ Merged **Merged:** 11/11/2024 **Merged by:** [@youngcw](https://github.com/youngcw) **Base:** `master` ← **Head:** `youngcw/remainder-fix` --- ### 📝 Commits (1) - [`522aca5`](https://github.com/actualbudget/actual/commit/522aca5fa2bc91c9fa78f9c00cdd163fda11954c) fix remainder goal ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/loot-core/src/server/budget/categoryTemplate.ts` (+1 -1) </details> ### 📄 Description Fix the case that there is only a remainder template and no other templates. Remainders shouldn't set or affect goals. Edge currently will show 0 as the goal for remainder only templates, but categories with other template lines work fine. To test: 1. Add a remainder template to a category 2. Add a template and a remainder template to a category 3. Run templates 4. See that the remainder only category has no goal set (no tooltip will show on hover of balance), and that the category with two templates will show the expected goal excluding the remainder additions Ill skip the release note since I just merged in a PR that talked about fixing goals. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-02-28 21:05:34 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#5075