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

Add validation for amend billable returns page #947

Merged
merged 8 commits into from
Apr 30, 2024

Conversation

Beckyrose200
Copy link
Contributor

https://eaflood.atlassian.net/browse/WATER-4370

During the testing of the amended billable returns volume page, it was highlighted that there was 1 validation test missing. When a user enters a new volume for the billable returns currently the volume cannot be greater than the authorised volume on the charge element. This is correct however it should also not go above the charge reference authorised volume. So whichever volume is LOWER the authorised charge element or the authorised charge reference should be the limit for the user's input. This PR is to add in that additional validation.

https://eaflood.atlassian.net/browse/WATER-4370

During the testing of the amend billable returns volume page it was highlighted that there was 1 validation test missing. When a user enters a new volume for the billable returns, the volume currently cannot be greater then the authorised volume on the charge reference. This is correct however it should also not go above the charge reference authorised volume as well. So whichever volume is LOWER the authorised charge element or the authorised charge reference. This PR is to add in that additional validation.
@Beckyrose200 Beckyrose200 added the enhancement New feature or request label Apr 26, 2024
@Beckyrose200 Beckyrose200 self-assigned this Apr 26, 2024
@Beckyrose200 Beckyrose200 marked this pull request as ready for review April 29, 2024 14:24
Copy link
Contributor

@Jozzey Jozzey left a comment

Choose a reason for hiding this comment

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

Looks good, just a couple of things

@Beckyrose200 Beckyrose200 requested a review from Jozzey April 30, 2024 09:40
Copy link
Contributor

@Jozzey Jozzey left a comment

Choose a reason for hiding this comment

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

@Beckyrose200 Beckyrose200 merged commit a228ea8 into main Apr 30, 2024
6 checks passed
@Beckyrose200 Beckyrose200 deleted the add-validation-for-amend-billable-returns-page branch April 30, 2024 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants