shop_code

This commit is contained in:
Myat Zin Wai Maw
2019-12-05 14:56:47 +06:30
parent ccbd3c6966
commit b0f6368248
58 changed files with 95 additions and 26 deletions

View File

@@ -1,5 +1,6 @@
class Foodcourt::SurveysController < BaseFoodcourtController
def new
@shop = Shop.current_shop
@webview = false
if check_mobile
@webview = true
@@ -38,6 +39,7 @@ class Foodcourt::SurveysController < BaseFoodcourtController
end
def create
@shop = Shop.current_shop
@type = params[:cashier_type]
@sale_id = params[:sale_id]
if params[:table_id].to_i>0