add customer at first
This commit is contained in:
@@ -33,7 +33,7 @@ class Foodcourt::CustomersController < BaseFoodcourtController
|
||||
@crm_customers.membership_id = response["customer_data"]["id"]
|
||||
@crm_customers.membership_type = response["customer_data"]["member_group_id"]
|
||||
@crm_customers.customer_type = "Dinein"
|
||||
@crm_customers.tax_profiles = ["1", "2"]
|
||||
@crm_customers.tax_profiles = TaxProfile.where(group_type: 'food_court').pluck(:id)
|
||||
@crm_customers.save
|
||||
@crm_customers = Customer.search(filter)
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user