Skip to content
Snippets Groups Projects
Unverified Commit fe033d68 authored by shall0pass's avatar shall0pass Committed by GitHub
Browse files

Goals: Allow up to to consider spent values (#1448)

parent 64ad07b9
No related branches found
No related tags found
No related merge requests found
......@@ -714,8 +714,8 @@ async function applyCategoryTemplate(
if (limit != null) {
if (hold && balance > limit) {
to_budget = 0;
} else if (to_budget + last_month_balance > limit) {
to_budget = limit - last_month_balance;
} else if (to_budget + balance > limit) {
to_budget = limit - balance;
}
}
if (
......
---
category: Bugfix
authors: [shall0pass]
---
Goals: Fix 'up to' calculation to include current month spending
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment