[#2847] Added Deliverable#overhead_spent to calculate the overhead cost so far.

This commit is contained in:
Eric Davis
2009-08-05 14:55:32 -07:00
parent 79847e36c0
commit cd826e7cd6
3 changed files with 70 additions and 0 deletions
+2
View File
@@ -2,10 +2,12 @@ require 'redmine'
# Patches to the Redmine core.
require 'dispatcher'
require 'overhead_deliverable_patch'
require 'overhead_issue_patch'
require 'overhead_time_entry_patch'
require 'overhead_time_entry_activity_patch'
Dispatcher.to_prepare do
Deliverable.send(:include, OverheadDeliverablePatch)
Issue.send(:include, OverheadIssuePatch)
TimeEntry.send(:include, OverheadTimeEntryPatch)
TimeEntryActivity.send(:include, OverheadTimeEntryActivityPatch)