From b78d391e2b98d07905aebf73097392bd4e896ba2 Mon Sep 17 00:00:00 2001 From: phyusin Date: Wed, 28 Nov 2018 18:11:41 +0630 Subject: [PATCH] remove checkin time checked --- app/controllers/api/orders_controller.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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