mirror of
https://github.com/internetee/registry.git
synced 2025-08-06 09:45:11 +02:00
Improve invoice view
This commit is contained in:
parent
43e111add0
commit
6a47f38e80
14 changed files with 167 additions and 44 deletions
|
@ -1,3 +1,7 @@
|
|||
class InvoiceItem < ActiveRecord::Base
|
||||
belongs_to :invoice
|
||||
|
||||
def item_total_without_vat
|
||||
amount * price
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue