fixed conflict after merch dev for current shop
This commit is contained in:
@@ -141,7 +141,14 @@ class Menu < ApplicationRecord
|
||||
end
|
||||
else
|
||||
# Menu by Menu Import
|
||||
shop_code= shop.shop_code + "_"
|
||||
|
||||
@shop = Shop.current_shop
|
||||
shop_code = ""
|
||||
if !@shop.nil?
|
||||
if @shop.shop_code
|
||||
shop_code = @shop.shop_code + "_"
|
||||
end
|
||||
end
|
||||
|
||||
sheet = spreadsheet.sheet(0)
|
||||
menu = sheet.row(1)[1]
|
||||
|
||||
Reference in New Issue
Block a user