shop code
This commit is contained in:
@@ -40,7 +40,7 @@ class Crm::DiningQueuesController < BaseCrmController
|
||||
# POST /crm/dining_queues.json
|
||||
def create
|
||||
@dining_queue = DiningQueue.new(dining_queue_params)
|
||||
@dining_queue.shop_code = Shop.current_shop.shop_code
|
||||
@dining_queue.shop_code = @shop.shop_code
|
||||
respond_to do |format|
|
||||
if @dining_queue.save
|
||||
|
||||
|
||||
Reference in New Issue
Block a user