Browse Source

refactor: lint

pull/1538/head
natdeanlewissoftwire 2 years ago
parent
commit
60d6f9f610
  1. 2
      app/models/validations/financial_validations.rb

2
app/models/validations/financial_validations.rb

@ -138,7 +138,7 @@ module Validations::FinancialValidations
message = I18n.t("validations.financial.carehome.out_of_range", period:, min_chcharge:, max_chcharge:) message = I18n.t("validations.financial.carehome.out_of_range", period:, min_chcharge:, max_chcharge:)
record.errors.add :period, message record.errors.add :period, message
record.errors.add :chcharge, :out_of_range, message: message record.errors.add :chcharge, :out_of_range, message:
end end
end end
end end

Loading…
Cancel
Save