diff --git a/app/controllers/api/orders_controller.rb b/app/controllers/api/orders_controller.rb index e7b3215b..3eb28b0f 100755 --- a/app/controllers/api/orders_controller.rb +++ b/app/controllers/api/orders_controller.rb @@ -50,7 +50,7 @@ class Api::OrdersController < Api::ApiController Rails.logger.debug "Order Source - " + params[:order_source].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 is_extra_time = false extra_time = '' @@ -133,9 +133,9 @@ class Api::OrdersController < Api::ApiController # @status, @booking = @order.generate # remoteIP = request.remote_ip # end while request.remote_ip != remoteIP - else - return return_json_status_with_code(406, "Checkout time is over!") - end + # else + # return return_json_status_with_code(406, "Checkout time is over!") + # end end # render json for http status code