Skip to content

HDPI-3766: Universal Credit and Priority Debt details#1031

Open
andrewdami11 wants to merge 15 commits intoHDPI-4195-Automation-Instalment-Payment-Screenfrom
HDPI-3766-universal-credit-and-priority-debt-details
Open

HDPI-3766: Universal Credit and Priority Debt details#1031
andrewdami11 wants to merge 15 commits intoHDPI-4195-Automation-Instalment-Payment-Screenfrom
HDPI-3766-universal-credit-and-priority-debt-details

Conversation

@andrewdami11
Copy link
Copy Markdown

@andrewdami11 andrewdami11 commented Apr 2, 2026

Jira link

See HDPI-3766

BACKEND PR

Change description

This work adds the Universal Credit, priority debts, and priority debt details part of respond to a claim. Defendants can say if they applied for Universal Credit (and when), whether they have priority debts, and if so how much they owe and how often they pay. Answers are saved toward householdCircumstances for the API/CCD layer to persist.

Implementation

  • New screens: (1) Universal Credit, (2) Priority Debts (with guidance text and Citizens Advice link), and (3) Priority Debt Amounts / Frequency.
  • Flow: from “What regular income do you receive?”, users either go straight to priority debts if they said they get Universal Credit, or via the Universal Credit question first. Priority debts then branches to the details screen or skips it; back links from “other regular expenses” follow that path.
  • Supporting code: small journey helpers, pence/pounds helpers for money fields, form builder support for tighter layout on those fields, and types for the new case fields.

Screenshots

Screenshot 2026-04-02 at 18 35 51 Screenshot 2026-04-02 at 18 47 07 Screenshot 2026-04-02 at 18 38 08

Testing done

  • Jest: unit tests for the new steps, flow routing (priority debts, regular income, other expenses), and the money helper. Run yarn test:unit in pcs-frontend.

Security Vulnerability Assessment

CVE Suppression: Are there any CVEs present in the codebase (either newly introduced or pre-existing) that are being intentionally suppressed or ignored by this commit?

  • Yes
  • No

Checklist

  • commit messages are meaningful and follow good commit message guidelines
  • README and other documentation has been updated / added (if needed)
  • tests have been updated / new tests has been added (if needed)
  • Does this PR introduce a breaking change

@andrewdami11 andrewdami11 requested a review from a team as a code owner April 2, 2026 17:53
@andrewdami11 andrewdami11 requested review from linusnorton and removed request for a team April 2, 2026 17:53
…PI-3766-universal-credit-and-priority-debt-details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant