1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-30 19:52:20 +01:00
fab-manager/app/models/invoice_item.rb

10 lines
295 B
Ruby
Raw Normal View History

2019-03-13 16:49:03 +01:00
# frozen_string_literal: true
# A single line inside an invoice. Can be a subscription or a reservation
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