mirror of
https://github.com/internetee/registry.git
synced 2025-07-24 19:48:28 +02:00
7 lines
118 B
Ruby
7 lines
118 B
Ruby
class InvoiceItem < ActiveRecord::Base
|
|
belongs_to :invoice
|
|
|
|
def item_sum_without_vat
|
|
amount * price
|
|
end
|
|
end
|