diff --git a/app/models/validations/financial_validations.rb b/app/models/validations/financial_validations.rb index cb25439c8..203a9b1dc 100644 --- a/app/models/validations/financial_validations.rb +++ b/app/models/validations/financial_validations.rb @@ -193,6 +193,8 @@ private record.errors.add :beds, I18n.t("validations.financial.brent.beds.below_hard_min") record.errors.add :la, I18n.t("validations.financial.brent.la.below_hard_min") record.errors.add :postcode_known, I18n.t("validations.financial.brent.postcode_known.below_hard_min") + record.errors.add :scheme_id, I18n.t("validations.financial.brent.scheme_id.below_hard_min") + record.errors.add :location_id, I18n.t("validations.financial.brent.location_id.below_hard_min") record.errors.add :rent_type, I18n.t("validations.financial.brent.rent_type.below_hard_min") record.errors.add :needstype, I18n.t("validations.financial.brent.needstype.below_hard_min") record.errors.add :period, I18n.t("validations.financial.brent.period.below_hard_min") @@ -201,6 +203,8 @@ private record.errors.add :beds, I18n.t("validations.financial.brent.beds.above_hard_max") record.errors.add :la, I18n.t("validations.financial.brent.la.above_hard_max") record.errors.add :postcode_known, I18n.t("validations.financial.brent.postcode_known.above_hard_max") + record.errors.add :scheme_id, I18n.t("validations.financial.brent.scheme_id.above_hard_max") + record.errors.add :location_id, I18n.t("validations.financial.brent.location_id.above_hard_max") record.errors.add :rent_type, I18n.t("validations.financial.brent.rent_type.above_hard_max") record.errors.add :needstype, I18n.t("validations.financial.brent.needstype.above_hard_max") record.errors.add :period, I18n.t("validations.financial.brent.period.above_hard_max")