Commit Graph
22 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 075310da6b Swapped inject with a simple sum method. #1924 2009-01-21 15:26:46 -08:00
Eric Davis 3d8c1ecc5c Removed all the duplicate methods that were getting the rate for each TimeEntry
and replaced them with a simple collector that uses the new TimeEntry#cost
method (that wraps the Rate API).

  #1924
2009-01-21 15:20:21 -08:00
Eric Davis 7fa4f33748 Ported more items to the new Rate API. #1924 2009-01-21 14:46:58 -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 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 a1167e67d1 Adding Budget Missing calculations. #1383 #1384 2008-06-26 15:58:26 -07:00
Eric Davis 6c34f7b35f Added Budget.labor_budget and Budget.labor_budget_spent. #1382 2008-06-26 15:33:53 -07:00
Eric Davis 8150cfcabc Added rdoc comments 2008-06-11 09:19:51 -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