[#4183] Split TODO columns by this release and later release.

This commit is contained in:
Eric Davis committed 2010-07-13 10:39:39 -07:00
1 parent 4d475042f0
commit 93498d31b2
1 file changed
+13 -4
+13 -4
View File
@@ -29,10 +29,19 @@ class Contract < ActiveRecord::Base
attr_accessible :po_number attr_accessible :po_number
attr_accessible :details attr_accessible :details
[:status, :contract_type, :labor_spent, :overhead_spent, [:status, :contract_type,
:fixed_spent, :fixed_budget, :total_spent, :fixed_spent, :fixed_budget,
:markup_spent, :markup_budget, :profit_spent, :markup_spent, :markup_budget,
:discount_spent, :discount_budget, :client_point_of_contact, :discount_spent, :discount_budget
].each do |mthd|
define_method(mthd) { "TODO in later release" }
end
[:labor_spent,
:overhead_spent,
:total_spent,
:profit_spent,
:client_point_of_contact,
:estimated_hour_spent :estimated_hour_spent
].each do |mthd| ].each do |mthd|
define_method(mthd) { "TODO" } define_method(mthd) { "TODO" }