[#4182] Added an OverheadBudget to track a Deliverable's overhead.

This commit is contained in:
Eric Davis committed 2010-07-07 10:38:58 -07:00
1 parent fdd49642b2
commit b22db284c5
9 files changed
+105 -7

No files matched your search

+2
View File
@@ -5,8 +5,10 @@ class Deliverable < ActiveRecord::Base
belongs_to :contract
belongs_to :manager, :class_name => 'User', :foreign_key => 'manager_id'
has_many :labor_budgets
has_many :overhead_budgets
accepts_nested_attributes_for :labor_budgets
accepts_nested_attributes_for :overhead_budgets
# Validations
validates_presence_of :title