Sha256: da38844268ac4c1f3c1dc4fc507db0cf894c3bc7903b203c981ba89f74f563e1

Contents?: true

Size: 391 Bytes

Versions: 11

Compression:

Stored size: 391 Bytes

Contents

ProductType.class_eval do

  #*************************************************************
  # This line of code needs to go into an extension of the any 
  # model class that is invoiceable. This includes:
  # ProductType, ProductInstance, WorkEffort, TimeEntry
  #*************************************************************  
  has_one :invoice_item, :as => :invoiceable_item
      
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
erp_invoicing-4.2.0 app/models/extensions/product_type.rb
erp_invoicing-4.1.0 app/models/extensions/product_type.rb
erp_invoicing-4.0.0 app/models/extensions/product_type.rb
erp_invoicing-3.1.0 app/models/extensions/product_type.rb
erp_invoicing-3.0.6 app/models/extensions/product_type.rb
erp_invoicing-3.0.5 app/models/extensions/product_type.rb
erp_invoicing-3.0.4 app/models/extensions/product_type.rb
erp_invoicing-3.0.3 app/models/extensions/product_type.rb
erp_invoicing-3.0.2 app/models/extensions/product_type.rb
erp_invoicing-3.0.1 app/models/extensions/product_type.rb
erp_invoicing-3.0.0 app/models/extensions/product_type.rb