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

Remove policies_claimable #3468

Merged
merged 1 commit into from
Dec 20, 2024
Merged

Remove policies_claimable #3468

merged 1 commit into from
Dec 20, 2024

Conversation

rjlynch
Copy link
Contributor

@rjlynch rjlynch commented Dec 18, 2024

This constant was introduced in e25c92f to handle policies not having a
trn (part of the moving trn from claim to eligibility work).
806c202 introduced some logic to only compare eligibility attributes
that both policies have in common and so the policies_claimable constant
is redundant.
We always want to show a matching claim alert in the admin area even if
the policy combination is invalid (eg can't claim for both irp & fe),
thus there is no need to limit the policies we look for matches against.

@rjlynch rjlynch force-pushed the CAPT-2065/match-irp-claims branch from d0712bf to fa8e7b2 Compare December 18, 2024 12:02
@rjlynch rjlynch added the deploy Deploy a review app for this PR label Dec 18, 2024
@rjlynch rjlynch mentioned this pull request Dec 18, 2024
@rjlynch rjlynch marked this pull request as ready for review December 19, 2024 11:30
This constant was introduced in e25c92f to handle policies not having a
trn (part of the moving trn from claim to eligibility work).
806c202 introduced some logic to only compare eligibility attributes
that both policies have in common and so the policies_claimable constant
is redundant.
We always want to show a matching claim alert in the admin area even if
the policy combination is invalid (eg can't claim for both irp & fe),
thus there is no need to limit the policies we look for matches against.
@rjlynch rjlynch force-pushed the CAPT-2065/match-irp-claims branch from fa8e7b2 to 62c0910 Compare December 20, 2024 12:03
@rjlynch rjlynch merged commit 4dee58e into master Dec 20, 2024
15 checks passed
@rjlynch rjlynch deleted the CAPT-2065/match-irp-claims branch December 20, 2024 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deploy Deploy a review app for this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants