|
|
|
@ -58,7 +58,7 @@ module Validations::PropertyValidations
|
|
|
|
|
if record.la.present? && !LONDON_BOROUGHS.include?(record.la) && record.is_london_rent? |
|
|
|
|
record.errors.add :la, I18n.t("validations.property.la.london_rent") |
|
|
|
|
if record.postcode_known? && record.property_postcode.present? |
|
|
|
|
record.errors.add :property_postcode, I18n.t("validations.property.la.london_rent") |
|
|
|
|
record.errors.add :property_postcode, I18n.t("validations.property.la.london_rent_postcode") |
|
|
|
|
end |
|
|
|
|
end |
|
|
|
|
|
|
|
|
|