|
|
@ -616,7 +616,7 @@ private |
|
|
|
|
|
|
|
|
|
|
|
def validate_address_option_found |
|
|
|
def validate_address_option_found |
|
|
|
if log.uprn.nil? && field_16.blank? && key_address_fields_provided? |
|
|
|
if log.uprn.nil? && field_16.blank? && key_address_fields_provided? |
|
|
|
error_message = if log.address_options_present? |
|
|
|
error_message = if log.address_options_present? && log.address_options.size > 1 |
|
|
|
I18n.t("#{ERROR_BASE_KEY}.address.not_determined") |
|
|
|
I18n.t("#{ERROR_BASE_KEY}.address.not_determined") |
|
|
|
else |
|
|
|
else |
|
|
|
I18n.t("#{ERROR_BASE_KEY}.address.not_found") |
|
|
|
I18n.t("#{ERROR_BASE_KEY}.address.not_found") |
|
|
|