[#6574] Add a TimeEntryActivity to OverheadBudgets
This commit is contained in:
1 parent
b3b7fa11b0
commit
33e07ee10b
8 files changed
+35
-4
No files matched your search
@@ -31,7 +31,8 @@ class Deliverable < ActiveRecord::Base
|
||||
delegate "open?", :to => :contract, :prefix => true, :allow_nil => true
|
||||
delegate "closed?", :to => :contract, :prefix => true, :allow_nil => true
|
||||
delegate "locked?", :to => :contract, :prefix => true, :allow_nil => true
|
||||
|
||||
delegate :project, :to => :contract, :allow_nil => true
|
||||
|
||||
# Callbacks
|
||||
before_destroy :block_on_locked_contracts
|
||||
before_destroy :block_on_closed_contracts
|
||||
|
||||
Reference in new issue
Block a user