[#4183] Add all the fields for the Contract metadata with TODOs.

This commit is contained in:
Eric Davis
2010-07-07 14:57:05 -07:00
parent e199c77bae
commit 44664edf30
5 changed files with 147 additions and 11 deletions
+9
View File
@@ -29,6 +29,15 @@ class Contract < ActiveRecord::Base
attr_accessible :po_number
attr_accessible :details
[:status, :contract_type, :labor_spent, :labor_budget, :overhead_spent,
:overhead_budget, :fixed_spent, :fixed_budget, :total_spent, :total_budget,
:markup_spent, :markup_budget, :profit_spent, :profit_budget,
:discount_spent, :discount_budget, :client_point_of_contact,
:estimated_hour_spent, :estimated_hour_budget
].each do |mthd|
define_method(mthd) { "TODO" }
end
PaymentTerms = {
:net_0 => :text_payment_terms_net_0,
:net_15 => :text_payment_terms_net_15,