current shop
This commit is contained in:
@@ -21,8 +21,8 @@ class Foodcourt::DiscountsController < BaseFoodcourtController
|
||||
end
|
||||
end
|
||||
|
||||
@member_discount = MembershipSetting.find_by_discount_and_shop_code(1,@shop.shop_code)
|
||||
@accounts = Account.where("shop_code='#{@shop.shop_code}'")
|
||||
@member_discount = MembershipSetting.find_by_discount(1)
|
||||
@accounts = Account.where("shop_code='#{Shop.current_shop.shop_code}'")
|
||||
end
|
||||
|
||||
#discount page show from origami index with selected order
|
||||
|
||||
Reference in New Issue
Block a user