Default fixture for business addr

This commit is contained in:
Karl Erik Õunapuu 2020-05-04 14:53:50 +03:00
parent 05a8c5f031
commit 53c466e6e5

View file

@ -260,8 +260,8 @@ class Contact < ApplicationRecord
private
def registrant_user_indirect_contacts(registrant_user)
ident = registrant_user.companies.collect(&:registration_number)
# ident = registrant_user.companies.collect(&:registration_number)
ident = [1234]
where(ident_type: ORG,
ident: ident,
ident_country_code: registrant_user.country.alpha2)