donejs / bitcentive

https://bitcentive.herokuapp.com/
MIT License
7 stars 3 forks source link

Client Project Section - Hours & Dollars not updating accurately #367

Open pstrozak opened 5 years ago

pstrozak commented 5 years ago

Under Client projects, the hours and dollars are not updating correctly.

1.) Hours input for Dec 2018 and Jan 2019 do not update the $ for the project for that month under "client projects". 2.) When I then switch from Jan 2019 to Feb 2019, the hours I input for Jan (that didn't update the $ for Jan) carry over to the Feb file. 3.) If I make an update to the Feb 2019 file and then select Jan 2019, it pulls the hours from Feb 2019 under client projects into the Jan 2019 client project hours. It still does not update the $ though for Jan 2019 to match the hours pulled in from Feb. 4.) When I select any month prior to Feb 2019, it pulls the hours input for Feb 2019 under client projects into the month selected and overwrites the original hours but does not calculate new dollars.

@justinbmeyer

Mattchewone commented 5 years ago

PR #368 Resolves the issue with client project hours showing incorrectly when months are changed.

However there still seems to be an issue with the calculations for payouts not being calculated correctly.