check menu is_available, survey id and check status with sale items SUM in receipBill
This commit is contained in:
@@ -18,7 +18,7 @@ class Api::OrderReserve::OrderReservationController < Api::ApiController
|
||||
end
|
||||
|
||||
if status
|
||||
check_customer = Customer.find_by_email_and_membership_id(params[:email],params[:membership_id])
|
||||
check_customer = Customer.find_by_email_and_membership_id_and_customer_type(params[:email],params[:membership_id],'Doemal')
|
||||
if !check_customer.nil?
|
||||
customer_id = check_customer.customer_id
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user