replace @shop and shop_details with current_shop
This commit is contained in:
@@ -11,7 +11,7 @@ class Origami::JunctionPayController < BaseOrigamiController
|
||||
@cashier_id = current_user.emp_id
|
||||
|
||||
@payment_method_setting_nav = PaymentMethodSetting.all
|
||||
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