serversideup / financial-freedom

🔥🔥🔥 An open source alternative to Mint, YNAB, and more. Stay on budget and build wealth without sacrificing your privacy.
https://serversideup.net/open-source/financial-freedom/
GNU General Public License v3.0
1.67k stars 137 forks source link

Ability to Allocate Money in Accounts #16

Closed danpastori closed 2 years ago

danpastori commented 3 years ago

This is one of my biggest frustrations with most financial budgeting software. You have an account that all of your transactions come out of. It's just a pool at this point. What if you are saving for a yearly or longer term purchase? This doesn't directly correlate to a transaction and you don't want to open a new account for each purchase you are saving for.

We need the ability to go into an account, and allocate a part of the account. Essentially these are "pseudo-transactions".

danpastori commented 3 years ago

Structure:

🏗 Create accounts_allocations table: id accountable_id (Polymorphic ID) accountable_type (Polymorphic model) name amount updated_at created_at

🔗 Accounts have many allocations

💡 In the future we can set goals off of allocations. Ex. Save $100 for gifts. 💡 Actions for when the allocated amount changes

danpastori commented 3 years ago

We should also have the ability for an account to be allocated or not (turned on or off by the user)