shop code
This commit is contained in:
@@ -13,7 +13,6 @@ class Origami::JcbController < BaseOrigamiController
|
||||
total = 0
|
||||
@jcbcount = 0
|
||||
|
||||
@shop = Shop.current_shop
|
||||
@rounding_adj = 0
|
||||
@can_jcb = 0
|
||||
@member_discount= 0
|
||||
@@ -67,7 +66,6 @@ class Origami::JcbController < BaseOrigamiController
|
||||
ref_no = params[:ref_no]
|
||||
if(Sale.exists?(sale_id))
|
||||
saleObj = Sale.find(sale_id)
|
||||
shop_details = Shop.current_shop
|
||||
# rounding adjustment
|
||||
# if shop_details.is_rounding_adj
|
||||
# new_total = Sale.get_rounding_adjustment(saleObj.grand_total)
|
||||
@@ -86,10 +84,4 @@ class Origami::JcbController < BaseOrigamiController
|
||||
end
|
||||
end
|
||||
|
||||
#Shop Name in Navbor
|
||||
|
||||
helper_method :shop_detail
|
||||
def shop_detail
|
||||
@shop = Shop.current_shop
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user