suite
This commit is contained in:
parent
cf5a66d7e0
commit
8ff4a733b8
@ -198,7 +198,7 @@ class PriceLine < ApplicationRecord
|
||||
|
||||
|
||||
def ca_tot_line_ht
|
||||
(self.price_u_ht * self.qte.to_f).round(2)
|
||||
(self.price_u_ht * self.qte.to_f).round(2) + self.ship_price_ht.to_f
|
||||
end
|
||||
|
||||
def ca_tot_line_tva
|
||||
@ -301,7 +301,7 @@ class PriceLine < ApplicationRecord
|
||||
|
||||
|
||||
def ca_tot_amount_ht
|
||||
(self.ca_price_u_ht * self.qte.to_f).round(2)
|
||||
(self.ca_price_u_ht * self.qte.to_f).round(2)+ self.ship_price_ht.to_f
|
||||
end
|
||||
|
||||
def ca_tot_amount_tva
|
||||
|
Loading…
x
Reference in New Issue
Block a user