-
Notifications
You must be signed in to change notification settings - Fork 94
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
π Bug Report
π Description
Hey there! I stumbled upon a bug while using this awesome project. Here's the scoop:
π Steps to Reproduce
- Create a fresh Bagels and an account
- Check Manager > Budgeting > Remaining β It is 3500 by default
- Go back on Home and add a new income, for example 3499
π€ Expected Behavior
Remaining should change based on incomes.
π΅ Actual Behavior
When the sum of income is stricly inferior too 3500 (which is the default) it doesn't change, but it does when the incomes exceeds it.
π οΈ Debugging Details
Version: 0.3.9
Environment: Windows 11 > Ubuntu (WSL)
Code Reference:
Bagels/src/bagels/managers/utils.py
Line 214 in a0c9b9a
| def get_income_to_use(offset: int): |
π‘ Additional Context
At line 231, we are checking if limit ( if > 100 β current month incomes , last month incomes nor 0) is strictly inferior to fallback when we should check if it strictly inferior to threshold instead.
Thanks for checking this out! π
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation