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

[CRIMAPP-1403] Update payment fieldset form validation #1307

Merged
merged 8 commits into from
Jan 14, 2025

Conversation

hiboabd
Copy link
Contributor

@hiboabd hiboabd commented Jan 13, 2025

Description of change

Fixes error message handling on payment forms (income payment, income benefit and outgoing payment) and updates error message text
The validation for these forms have been moved to a shared class in order to display the payment type in the error message and apply these errors per fieldset

Link to relevant ticket

https://dsdmoj.atlassian.net/browse/CRIMAPP-1403

Notes for reviewer

Screenshots of changes (if applicable)

Before changes:

After changes:

Screenshot 2025-01-13 at 15 00 04 Screenshot 2025-01-13 at 14 59 32

How to manually test the feature

@hiboabd hiboabd changed the title Update payment fieldset form validation [CRIMAPP-1403] Update payment fieldset form validation Jan 13, 2025
@hiboabd hiboabd marked this pull request as ready for review January 13, 2025 16:45
@hiboabd hiboabd requested a review from a team as a code owner January 13, 2025 16:45
Copy link
Contributor

@EdwinKruglov EdwinKruglov left a comment

Choose a reason for hiding this comment

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

Nice, some great refactor work!

@hiboabd hiboabd merged commit 5a907e2 into main Jan 14, 2025
7 checks passed
@hiboabd hiboabd deleted the CRIMAPP-1403-outgoings-payments-content-amends branch January 14, 2025 15:47
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.

2 participants