diff --git a/app/controllers/foodcourt/food_court_controller.rb b/app/controllers/foodcourt/food_court_controller.rb index 10c4686f..240777a0 100644 --- a/app/controllers/foodcourt/food_court_controller.rb +++ b/app/controllers/foodcourt/food_court_controller.rb @@ -17,6 +17,9 @@ class Foodcourt::FoodCourtController < ApplicationController end end + @zone = Zone.all + @tables = Table.active.order('status desc') + @rooms = Room.active.order('status desc') today = DateTime.now day = Date.today.wday diff --git a/app/views/foodcourt/addorders/detail.html.erb b/app/views/foodcourt/addorders/detail.html.erb index 1a07c3b4..d695a106 100644 --- a/app/views/foodcourt/addorders/detail.html.erb +++ b/app/views/foodcourt/addorders/detail.html.erb @@ -13,6 +13,7 @@ +