shop code
This commit is contained in:
@@ -29,6 +29,7 @@ class Settings::RoomsController < ApplicationController
|
||||
@settings_room.type = DiningFacility::ROOM_TYPE
|
||||
@settings_room.zone_id = params[:zone_id]
|
||||
@settings_room.created_by = current_login_employee.name
|
||||
@settings_room.shop_code = @shop.shop_code
|
||||
respond_to do |format|
|
||||
if @settings_room.save
|
||||
format.html { redirect_to settings_zone_path(@zone), notice: 'Room was successfully created.' }
|
||||
|
||||
Reference in New Issue
Block a user