check time
This commit is contained in:
@@ -50,7 +50,7 @@ class Api::OrdersController < Api::ApiController
|
|||||||
Rails.logger.debug "Order Source - " + params[:order_source].to_s
|
Rails.logger.debug "Order Source - " + params[:order_source].to_s
|
||||||
Rails.logger.debug "Table ID - " + params[:table_id].to_s
|
Rails.logger.debug "Table ID - " + params[:table_id].to_s
|
||||||
|
|
||||||
# if checkin_checkout_time(params[:booking_id])
|
if checkin_checkout_time(params[:booking_id])
|
||||||
#for extratime
|
#for extratime
|
||||||
is_extra_time = false
|
is_extra_time = false
|
||||||
extra_time = ''
|
extra_time = ''
|
||||||
@@ -133,9 +133,9 @@ class Api::OrdersController < Api::ApiController
|
|||||||
# @status, @booking = @order.generate
|
# @status, @booking = @order.generate
|
||||||
# remoteIP = request.remote_ip
|
# remoteIP = request.remote_ip
|
||||||
# end while request.remote_ip != remoteIP
|
# end while request.remote_ip != remoteIP
|
||||||
# else
|
else
|
||||||
# return return_json_status_with_code(406, "Checkout time is over!")
|
return return_json_status_with_code(406, "Checkout time is over!")
|
||||||
# end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# render json for http status code
|
# render json for http status code
|
||||||
|
|||||||
Reference in New Issue
Block a user