[PR #1401] [CLOSED] Goals: fix the percent of available funds calculation #3713

Closed
opened 2026-02-28 20:45:39 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/1401
Author: @youngcw
Created: 7/26/2023
Status: Closed

Base: masterHead: goals_fixRemainderCalc


📝 Commits (2)

  • 4de64b6 fix the calculation of the available_start value for the percent_availableFunds goal template
  • 58b2f23 release note

📊 Changes

2 files changed (+11 additions, -3 deletions)

View changed files

📝 packages/loot-core/src/server/budget/goaltemplates.ts (+5 -3)
upcoming-release-notes/1401.md (+6 -0)

📄 Description

The starting value used by the percent of available funds template was using the available funds at the time of the template application, not the total available funds for the month. This changes the value used to be funds available for the month less held funds. This is what I was actually going for originally.

Looks like I also cleaned up some comment locations.


🔄 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/1401 **Author:** [@youngcw](https://github.com/youngcw) **Created:** 7/26/2023 **Status:** ❌ Closed **Base:** `master` ← **Head:** `goals_fixRemainderCalc` --- ### 📝 Commits (2) - [`4de64b6`](https://github.com/actualbudget/actual/commit/4de64b610b39e40c559639f9a65cbc477e036aa7) fix the calculation of the available_start value for the percent_availableFunds goal template - [`58b2f23`](https://github.com/actualbudget/actual/commit/58b2f234001aa032ac98a7339c4b84fbb386aa48) release note ### 📊 Changes **2 files changed** (+11 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `packages/loot-core/src/server/budget/goaltemplates.ts` (+5 -3) ➕ `upcoming-release-notes/1401.md` (+6 -0) </details> ### 📄 Description The starting value used by the percent of available funds template was using the available funds at the time of the template application, not the total available funds for the month. This changes the value used to be funds available for the month less held funds. This is what I was actually going for originally. Looks like I also cleaned up some comment locations. --- <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 20:45:39 -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#3713