mirror of
https://github.com/internetee/registry.git
synced 2025-06-04 11:47:30 +02:00
added another breakpoints
This commit is contained in:
parent
5e056ed954
commit
fccac285ac
1 changed files with 7 additions and 6 deletions
|
@ -126,21 +126,22 @@ module Api
|
||||||
|
|
||||||
|
|
||||||
current_registrant_user.companies.each do |i|
|
current_registrant_user.companies.each do |i|
|
||||||
c = Contact.find_by(uuid: uuid, ident_type: 'org', ident: company_codes,
|
# c = Contact.find_by(uuid: uuid, ident_type: 'org', ident: company_codes,
|
||||||
ident_country_code: country)
|
# ident_country_code: country)
|
||||||
|
|
||||||
p "+++++++++++++++++"
|
p "+++++++++++++++++"
|
||||||
p "+++++++++++++++++"
|
p "+++++++++++++++++"
|
||||||
p c.org_name
|
# p c.org_name
|
||||||
p "+++++++++++++++++"
|
p "+++++++++++++++++"
|
||||||
p "+++++++++++++++++"
|
p "+++++++++++++++++"
|
||||||
|
p i.companies
|
||||||
p i.company_name
|
p i.company_name
|
||||||
p "+++++++++++++++++"
|
p "+++++++++++++++++"
|
||||||
p "+++++++++++++++++"
|
p "+++++++++++++++++"
|
||||||
|
|
||||||
unless c.org_name == i.company_name
|
# unless c.org_name == i.company_name
|
||||||
c.update(org_name: company_name)
|
# c.update(org_name: company_name)
|
||||||
end
|
# end
|
||||||
end
|
end
|
||||||
|
|
||||||
Contact.find_by(uuid: uuid, ident_type: 'org', ident: company_codes,
|
Contact.find_by(uuid: uuid, ident_type: 'org', ident: company_codes,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue