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

Setup the admin to display IRP claims #2931

Closed
wants to merge 6 commits into from

Conversation

felixclack
Copy link
Contributor

In order to be able to display the IRP claims in the admin, there are
some basic methods that need to be available.

This change ensures the minimum implementation for displaying claims
without being concerned about the correctness of the required methods.
Specifically the award_amount is a placeholder.

slorek and others added 6 commits June 26, 2024 17:06
…duction not completed) (#2766)

* Move last policy year value to `Policies::EarlyCareerPayments`

For consistency with the Student Loans policy

* Move last policy year value to `Policies::LevellingUpPremiumPayments`

For consistency with the Student Loans policy

Add the first policy year value as well.

* Remove redundant methods from `Policies::EarlyCareerPayments`

These were created a while ago for consistency with Student Loans, but the meaning here
is completely different and misleading. The QTS Award year is not linked to the policy start/end year.

* Use `#any_future_policy_years?` to evaluate against the the policy specific end year

* Fix eligibility criteria url for ECP

* Make sure an ECP claim is ineligible when induction not completed and it's the end year for ECP

For years previous to the final one, if a user selected an ECP-only school (meaning the LUPP claim is ineligible),
and answered "No" to the induction question, they'd be able to see the eligible-later slug and set up a reminder.

* Fix copy

* Use session answers instead of claim object

* Fix bug in ineligible page

* Remove shim class workaround

---------

Co-authored-by: Steve Lorek <[email protected]>
Bumps [pagy](https://github.com/ddnexus/pagy) from 8.4.5 to 8.5.0.
- [Release notes](https://github.com/ddnexus/pagy/releases)
- [Changelog](https://github.com/ddnexus/pagy/blob/master/CHANGELOG.md)
- [Commits](ddnexus/pagy@8.4.5...8.5.0)

---
updated-dependencies:
- dependency-name: pagy
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Adds the employment details page as per IRP. We've named the fields the
same as in IRP. We could probably provide a school search box for this
but that's something for a future iteration.
Have also added the school details to the PII section to be on the safe
side as they might be enough to identify an claimant in combination with
some of the other non pii answers.
In order to be able to display the IRP claims in the admin, there are
some basic methods that need to be available.

This change ensures the minimum implementation for displaying claims
without being concerned about the correctness of the required methods.
Specifically the `award_amount` is a placeholder.
@felixclack felixclack closed this Jun 27, 2024
@felixclack felixclack deleted the admin-irp branch June 27, 2024 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants