mirror of
https://github.com/internetee/registry.git
synced 2025-05-19 18:59:38 +02:00
8 lines
137 B
Ruby
8 lines
137 B
Ruby
class InvoiceItem < ActiveRecord::Base
|
|
include Versions
|
|
belongs_to :invoice
|
|
|
|
def item_sum_without_vat
|
|
amount * price
|
|
end
|
|
end
|