update rouding adj
This commit is contained in:
@@ -336,7 +336,7 @@ DEPENDENCIES
|
||||
whenever
|
||||
|
||||
RUBY VERSION
|
||||
ruby 2.4.0p0
|
||||
ruby 2.4.1p111
|
||||
|
||||
BUNDLED WITH
|
||||
1.16.1
|
||||
|
||||
@@ -263,7 +263,7 @@ class Origami::PaymentsController < BaseOrigamiController
|
||||
saleObj = Sale.find(sale_id)
|
||||
|
||||
if saleObj.discount_type == "member_discount"
|
||||
sale.update_attributes(rounding_adj: 0)
|
||||
sale.update_attributes(rounding_adjustment: 0)
|
||||
saleObj.compute_by_sale_items(sale_id, saleObj.sale_items,0)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user