major fix taxable price for sale and other sale and oqs
This commit is contained in:
@@ -164,7 +164,7 @@ class Promotion < ApplicationRecord
|
||||
sale_item.qty = qty * (-1)
|
||||
|
||||
sale_item.unit_price = item_price # * (-1)
|
||||
sale_item.taxable_price = qty * item_price # * (-1)
|
||||
sale_item.taxable_price = (qty * item_price) * (-1)
|
||||
sale_item.price = qty * item_price * (-1)
|
||||
|
||||
sale_item.is_taxable = 1
|
||||
|
||||
Reference in New Issue
Block a user