mirror of
https://github.com/internetee/registry.git
synced 2025-08-06 01:35:10 +02:00
Some tests for invoice binding
This commit is contained in:
parent
e678e655da
commit
57d23976c7
19 changed files with 206 additions and 25 deletions
|
@ -1,7 +1,7 @@
|
|||
class InvoiceItem < ActiveRecord::Base
|
||||
belongs_to :invoice
|
||||
|
||||
def item_total_without_vat
|
||||
def item_sum_without_vat
|
||||
amount * price
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue