Browse Source

rubocop

pull/69/head
baarkerlounger 3 years ago
parent
commit
fba2474747
  1. 2
      app/models/case_log.rb

2
app/models/case_log.rb

@ -63,7 +63,7 @@ class CaseLogValidator < ActiveModel::Validator
record.errors.add :outstanding_amount, "You must not answer the oustanding amout question if you don't have outstanding rent or charges." record.errors.add :outstanding_amount, "You must not answer the oustanding amout question if you don't have outstanding rent or charges."
end end
end end
EMPLOYED_STATUSES = ["Full-time - 30 hours or more", "Part-time - Less than 30 hours"].freeze EMPLOYED_STATUSES = ["Full-time - 30 hours or more", "Part-time - Less than 30 hours"].freeze
def validate_net_income_uc_proportion(record) def validate_net_income_uc_proportion(record)
(1..8).any? do |n| (1..8).any? do |n|

Loading…
Cancel
Save