check duplicate paypar account no issue
This commit is contained in:
@@ -45,6 +45,9 @@ class Crm::CustomersController < BaseCrmController
|
||||
|
||||
@filter = filter
|
||||
|
||||
#get paypar accountno
|
||||
@paypar_accountno = Customer.where("paypar_account_no IS NOT NULL AND paypar_account_no != ''").pluck("paypar_account_no")
|
||||
|
||||
#for create customer on/off
|
||||
@create_flag = true
|
||||
lookup_customer = Lookup.collection_of('customer_settings')
|
||||
|
||||
@@ -93,7 +93,8 @@ class Origami::CustomersController < BaseOrigamiController
|
||||
# @crm_customer.valid?
|
||||
# end
|
||||
@membership_types = Lookup.collection_of("member_group_type")
|
||||
|
||||
#get paypar accountno
|
||||
@paypar_accountno = Customer.where("paypar_account_no IS NOT NULL AND paypar_account_no != ''").pluck("paypar_account_no")
|
||||
#for create customer on/off
|
||||
@create_flag = true
|
||||
lookup_customer = Lookup.collection_of('customer_settings')
|
||||
|
||||
Reference in New Issue
Block a user