udpate remove call waiter jon
This commit is contained in:
@@ -5,8 +5,7 @@ class Api::CallWaitersController < ActionController::API
|
||||
@table_id = params[:dining_id]
|
||||
@time = params[:time]
|
||||
@table = DiningFacility.find(@table_id)
|
||||
# CallWaiterJob.perform_later(@table,@time)
|
||||
ActionCable.server.broadcast "call_waiter_channel",table: @table,time:@time
|
||||
CallWaiterJob.perform_later(@table,@time)
|
||||
|
||||
# get printer info
|
||||
@shop = Shop::ShopDetail
|
||||
|
||||
Reference in New Issue
Block a user