nusCS2113-AY1920S1 / pe-dev-response

0 stars 0 forks source link

budget not updated #1594

Open nus-pe-bot opened 5 years ago

nus-pe-bot commented 5 years ago

image.png


[original: nusCS2113-AY1920S1/pe-interim#1606]

jinwentay commented 5 years ago

Team's Response

Jinwen - used getTotal() function to calculate budget balance to be displayed ( balance = budget set for the category - getTotal() expenditure of the category) Shannon - wrote the getTotal() function for category which gets the total expenditure of the category.

Not a bug. The date entered was Feb 2019, which should not affect this month's budget. Only adding an expenditure to this month will change the budget remaining.

Duplicate status (if any):

--