[#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:
1 parent
9a8c9371f6
commit
ea1c466134
3 files changed
+120
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user