Commit Graph
18 Commits
Author SHA1 Message Date
Eric Davis 42325fadf4 Added tests for Budget#amount_missing_on_deliverables. #1924 2009-01-21 16:06:03 -08:00
Eric Davis 559b52112d Added tests to check Budget#amount_missing_on_issues. #1924 2009-01-21 15:52:56 -08:00
Eric Davis 11b8a0a462 Added a test to cover Budget#labor_budget_left. #1924 2009-01-21 15:47:31 -08:00
Eric Davis 2dd140efa5 Wrapped Budget.budget, .labor_budget, and .spent with checks for nil values in the deliverables.
#1444
2008-07-16 09:03:07 -07:00
Eric Davis 430f3de418 Fixed broken spec due to floats 2008-06-30 15:41:53 -07:00
Eric Davis a5d88b67a8 HourlyDeliverable profit was being counted twice because HourlyDeliverable.profit would return the actual profit or the profit percent already. #1389 2008-06-30 15:32:00 -07:00
Eric Davis 23c6ee6e92 Renamed Deliverable.due_date to due so it doesn't conflict with issue.due_date 2008-06-03 17:36:57 -07:00
Eric Davis 490bf73efe Calc cleanup 2008-06-03 17:19:30 -07:00
Eric Davis 322013f4a0 Added Budget.profit. #1137 2008-06-03 14:41:04 -07:00
Eric Davis e96bdccb42 Cleanup of values when a project is empty. #1137 2008-05-28 13:13:08 -07:00
Eric Davis c433de9ec7 Added some defaults when there are no deliverables. 2008-05-28 13:03:42 -07:00
Eric Davis 990a10a4e8 Completed budget.spent calculation. #1137 2008-05-28 13:01:10 -07:00
Eric Davis 1eb49e3c87 Fixed API usage, projects are not releated to Deliverables. #1137 2008-05-23 18:17:05 -07:00
Eric Davis 50f0d02391 Implemented Budget.overruns. #1137 2008-05-23 17:46:52 -07:00
Eric Davis 6056069858 Implemented a lot more Budget calculations by building on the basics. #1137 2008-05-23 17:41:19 -07:00
Eric Davis 332925b31a Implemented Budget.final_due_date. #1137 2008-05-23 17:22:13 -07:00
Eric Davis 8c02ee4ade Implementing Budget class along with it's helper methods. #1137 2008-05-23 17:14:53 -07:00
Eric Davis 5093377a5b Base Budget class, #1137 2008-05-23 16:48:03 -07:00