mirror of
https://github.com/internetee/registry.git
synced 2025-08-02 16:02:03 +02:00
7 lines
120 B
Ruby
7 lines
120 B
Ruby
class InvoiceItem < ActiveRecord::Base
|
|
belongs_to :invoice
|
|
|
|
def item_total_without_vat
|
|
amount * price
|
|
end
|
|
end
|