2016-03-23 18:39:41 +01:00
|
|
|
class InvoiceItem < ActiveRecord::Base
|
|
|
|
belongs_to :invoice
|
|
|
|
belongs_to :subscription
|
|
|
|
|
2016-04-07 16:00:12 +02:00
|
|
|
has_one :invoice_item # to associated invoice_items of an invoice to invoice_items of an avoir
|
2016-03-23 18:39:41 +01:00
|
|
|
end
|