shop code
This commit is contained in:
@@ -28,7 +28,7 @@ class Settings::PromotionsController < ApplicationController
|
||||
# POST /promotions
|
||||
# POST /promotions.json
|
||||
def create
|
||||
@shop = Shop.current_shop
|
||||
|
||||
@promotion = Promotion.new(promotion_params)
|
||||
@promotion.created_by = current_login_employee.id
|
||||
@promotion.shop_code = @shop.shop_code
|
||||
|
||||
Reference in New Issue
Block a user