Add new pricing system (#65)
This commit is contained in:
@@ -42,6 +42,7 @@ class Inquiry(db.Model):
|
||||
return 0
|
||||
price = float(self.price_retouch)
|
||||
price *= self.market.exchange_rate
|
||||
# Todo: review if the retouch price should no longer use the price_adjustments value
|
||||
price *= self.market.price_adjustments
|
||||
if inc_vat:
|
||||
price *= self.market.vat
|
||||
|
||||
Reference in New Issue
Block a user