[#2844] Added an API to get the total number of billable and overhead hours.

* Added Issue#billable_time_spent
* Added Issue#overhead_time_spent
* Added specs
This commit is contained in:
Eric Davis committed 2009-08-04 15:37:39 -07:00
1 parent 9a8c9371f6
commit ea1c466134
3 files changed
+120

No files matched your search

+2
View File
@@ -2,9 +2,11 @@ require 'redmine'
# Patches to the Redmine core.
require 'dispatcher'
require 'overhead_issue_patch'
require 'overhead_time_entry_patch'
require 'overhead_time_entry_activity_patch'
Dispatcher.to_prepare do
Issue.send(:include, OverheadIssuePatch)
TimeEntry.send(:include, OverheadTimeEntryPatch)
TimeEntryActivity.send(:include, OverheadTimeEntryActivityPatch)
end