replace @shop and shop_details with current_shop
This commit is contained in:
@@ -23,7 +23,7 @@ class Origami::AlipayController < BaseOrigamiController
|
||||
|
||||
others = 0
|
||||
|
||||
if @shop.is_rounding_adj
|
||||
if current_shop.is_rounding_adj
|
||||
new_total = Sale.get_rounding_adjustment(sale_data.grand_total)
|
||||
else
|
||||
new_total = sale_data.grand_total
|
||||
|
||||
Reference in New Issue
Block a user