End of day commit
This commit is contained in:
@@ -44,6 +44,7 @@ class UserController < Users::ApplicationController
|
||||
res[:occupied] = @table.occupied?
|
||||
res[:reserved] = @table.reserved?
|
||||
res[:supplier_closed] = @table.supplier.closed?
|
||||
res[:table] = @table.attributes
|
||||
if list.present?
|
||||
res[:other_supplier] = true if list.supplier_id != @table.supplier_id
|
||||
res[:current_table_id] = list.table_id
|
||||
|
||||
Reference in New Issue
Block a user