update access code in spereat view

This commit is contained in:
Aung Myo
2018-05-04 18:10:00 +06:30
parent 0e7c0e7a3e
commit d0b14cf81b
5 changed files with 159 additions and 6 deletions

View File

@@ -20,6 +20,7 @@ class Origami::AddordersController < BaseOrigamiController
end
@menus = Menu.all
@menu = MenuCategory.active.where("menu_id =#{@menus[0].id}").order('order_by asc')
@table_id = params[:id]
@table = DiningFacility.find(@table_id)
@booking = @table.get_booking