BudgetSquirrel / BudgetTracker

Budget Tracker allows users to manage their money more efficiently. This API has endpoint to save, create, and manage your budgets and goals.
4 stars 0 forks source link

Sub-budgets cause parent budget to be a calculation of sub-budget sum #80

Closed ianmann56 closed 5 years ago

ianmann56 commented 5 years ago

Given a Budget A has no sub-budgets already When a Sub-budget B is created for it (as the first sub-budget), Then the remaining amount in that Budget A not allocated in Sub-budget B should be placed in a second sub-budget called something like "Unallocated" And the SetAmount for the parent Budget A should be set to null.

Given a Budget A has sub-budgets already When a Sub-budget B is created for it (as the first sub-budget), Then the remaining amount in that Budget A not allocated in Sub-budget B should NOT be placed in another sub-budget And the SetAmount for the parent Budget A should be left alone (already null by now).