[#4289] Ported the billing plugin's timesheet hooks.
This commit is contained in:
1 parent
7192adb231
commit
e541270461
14 files changed
+180
-15
No files matched your search
@@ -100,4 +100,9 @@ class Rate < ActiveRecord::Base
|
||||
raise Rate::InvalidParameterException.new("date must be a valid Date string (e.g. YYYY-MM-DD)")
|
||||
end
|
||||
end
|
||||
|
||||
if Rails.env.test?
|
||||
public
|
||||
generator_for :date_in_effect => Date.today
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user