add table to order, add numpad to order edit

This commit is contained in:
pyaephyoeaung
2022-02-21 11:20:16 +06:30
parent 02bd167fe3
commit d3395d6a37
4 changed files with 146 additions and 2 deletions

View File

@@ -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