upadte api order create process order

This commit is contained in:
Aung Myo
2018-05-25 13:14:57 +06:30
parent 29814f61f2
commit b7c6614537
3 changed files with 81 additions and 67 deletions

View File

@@ -117,6 +117,11 @@ class Api::OrdersController < Api::ApiController
end
@status, @booking = @order.generate
if @status && @booking
if params[:order_source] != "quick_service"
Order.process_order_queue(@order.order_id,@order.table_id,@order.source)
end
end
# # for parallel order
# remoteIP = ""
# begin