[#4420] Allow an optional date param. Used by redmine_contracts.

This commit is contained in:
Eric Davis
2010-09-09 13:50:08 -07:00
parent edb58be9a2
commit 2e090df4e3
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ module OverheadDeliverablePatch
module InstanceMethods
# Cost of time logged to overhead activities
def overhead_spent
def overhead_spent(date=nil)
time_logs = issues.collect(&:time_entries).flatten
return time_logs.collect {|time_entry|