Skip to content

Commit

Permalink
Add additional irp rejection options
Browse files Browse the repository at this point in the history
Adds two more rejection options to IRP
  • Loading branch information
rjlynch committed Jul 30, 2024
1 parent b43cdce commit abd4f3e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 3 additions & 1 deletion app/models/policies/international_relocation_payments.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ module InternationalRelocationPayments
:invalid_bank_details,
:ineligible_visa_or_entry_date,
:ineligible_employment_terms,
:no_response_from_school
:no_response_from_school,
:suspected_fraud,
:information_mismatch_new_details_needed
]

# NOTE RL: currently IRP only has a single reply to address, so notify
Expand Down
2 changes: 2 additions & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -784,6 +784,8 @@ en:
ineligible_visa_or_entry_date: "Visa/entry date ineligible"
ineligible_employment_terms: Ineligible employment terms
no_response_from_school: No response from school
suspected_fraud: Suspected fraud
information_mismatch_new_details_needed: "Information mismatch - new details needed"
eligibility_answers:
nationality: "Nationality"
passport_number: "Passport number"
Expand Down
4 changes: 3 additions & 1 deletion spec/mailers/claim_mailer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,9 @@ class SomePolicy; end
reason_invalid_bank_details: "no",
reason_ineligible_visa_or_entry_date: "no",
reason_ineligible_employment_terms: "no",
reason_no_response_from_school: "no"
reason_no_response_from_school: "no",
reason_suspected_fraud: "no",
reason_information_mismatch_new_details_needed: "no"
}
end

Expand Down

0 comments on commit abd4f3e

Please sign in to comment.