Skip to content

Commit

Permalink
add IRP rejection reason for previous residency
Browse files Browse the repository at this point in the history
  • Loading branch information
asmega committed Sep 23, 2024
1 parent 9125db0 commit 4c8aab4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion app/models/policies/international_relocation_payments.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ module InternationalRelocationPayments
:ineligible_employment_terms,
:no_response_from_school,
:suspected_fraud,
:information_mismatch_new_details_needed
:information_mismatch_new_details_needed,
:ineligible_previous_residency
]

# Attributes to delete from claims submitted before the current academic
Expand Down
1 change: 1 addition & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -809,6 +809,7 @@ en:
no_response_from_school: No response from school
suspected_fraud: Suspected fraud
information_mismatch_new_details_needed: "Information mismatch - new details needed"
ineligible_previous_residency: Ineligible previous residency
eligibility_answers:
nationality: "Nationality"
passport_number: "Passport number"
Expand Down
3 changes: 2 additions & 1 deletion spec/mailers/claim_mailer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,8 @@ class SomePolicy; end
reason_ineligible_employment_terms: "no",
reason_no_response_from_school: "no",
reason_suspected_fraud: "no",
reason_information_mismatch_new_details_needed: "no"
reason_information_mismatch_new_details_needed: "no",
reason_ineligible_previous_residency: "no"
}
end

Expand Down

0 comments on commit 4c8aab4

Please sign in to comment.