fix dis and payment foc and sale item report
This commit is contained in:
@@ -41,7 +41,7 @@ class Origami::DiscountsController < BaseOrigamiController
|
||||
sale_item.remark = "Discount"
|
||||
|
||||
sale_item.qty = -1
|
||||
sale_item.unit_price = di["price"] * -1
|
||||
sale_item.unit_price = di["price"].to_f * (-1)
|
||||
sale_item.taxable_price = di["price"]
|
||||
sale_item.is_taxable = 1
|
||||
sale_item.account_id = origin_sale_item.account_id
|
||||
|
||||
Reference in New Issue
Block a user