-
Notifications
You must be signed in to change notification settings - Fork 16
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
Conversation
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 | ||
) |
There was a problem hiding this comment.
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
bfe4bac
to
bb152c3
Compare
bb152c3
to
921b94b
Compare
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]" |
There was a problem hiding this comment.
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
6e1e4f5
to
ddd910f
Compare
Context