Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[LUPEYALPHA-1173][LUPEYALPHA-1176] EY rejection reasons #3350

Merged
merged 3 commits into from
Oct 31, 2024

Conversation

asmega
Copy link
Contributor

@asmega asmega commented Oct 28, 2024

Comment on lines +3 to +12
dqt_teacher_status = if claim.policy == Policies::EarlyYearsPayments
nil
elsif claim.has_dqt_record?
Dqt::Teacher.new(claim.dqt_teacher_status)
else
Dqt::Client.new.teacher.find(
claim.eligibility.teacher_reference_number,
birthdate: claim.date_of_birth.to_s,
nino: claim.national_insurance_number
)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this isn't great but will do for now. ideally each automated check should be independent and all called async which is not the case now

@asmega asmega added the deploy Deploy a review app for this PR label Oct 29, 2024
@asmega asmega changed the title Ey rejection reasons [LUPEYALPHA-1173] EY rejection reasons Oct 29, 2024
@asmega asmega force-pushed the ey-rejection-reasons branch from bfe4bac to bb152c3 Compare October 29, 2024 12:49
@asmega asmega force-pushed the ey-rejection-reasons branch from bb152c3 to 921b94b Compare October 29, 2024 12:57
@asmega asmega marked this pull request as ready for review October 29, 2024 13:16
claim_subject: "Early Years Payment"
policy_acronym: EY
policy_short_name: Early Years
policy_full_name: Early years financial incentive payment
support_email_address: "[email protected]"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

temporary placeholder till we know what these will be replaced with

@asmega asmega changed the title [LUPEYALPHA-1173] EY rejection reasons [LUPEYALPHA-1173][LUPEYALPHA-1176] EY rejection reasons Oct 29, 2024
@asmega asmega force-pushed the ey-rejection-reasons branch from 6e1e4f5 to ddd910f Compare October 31, 2024 10:33
@asmega asmega merged commit 099ab4c into master Oct 31, 2024
14 checks passed
@asmega asmega deleted the ey-rejection-reasons branch October 31, 2024 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
business reviewed deploy Deploy a review app for this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants