From d85706f6a1d81bf8d5770f841d11087d5fa56155 Mon Sep 17 00:00:00 2001 From: Kat Date: Thu, 4 Jan 2024 08:25:24 +0000 Subject: [PATCH] Add error to uprn --- app/models/validations/sales/property_validations.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/models/validations/sales/property_validations.rb b/app/models/validations/sales/property_validations.rb index c7a368a0e..3a8f6a463 100644 --- a/app/models/validations/sales/property_validations.rb +++ b/app/models/validations/sales/property_validations.rb @@ -6,6 +6,7 @@ module Validations::Sales::PropertyValidations record.errors.add :postcode_full, I18n.t("validations.property.postcode.must_match_previous") record.errors.add :ppostcode_full, I18n.t("validations.property.postcode.must_match_previous") record.errors.add :ownershipsch, I18n.t("validations.property.postcode.must_match_previous") + record.errors.add :uprn, I18n.t("validations.property.postcode.must_match_previous") end end