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

Fix missing bill run number in batch #137

Merged
merged 2 commits into from
Mar 3, 2023
Merged

Conversation

Cruikshanks
Copy link
Member

@Cruikshanks Cruikshanks commented Mar 2, 2023

https://eaflood.atlassian.net/browse/WATER-3906
https://eaflood.atlassian.net/browse/WATER-3916

We spotted during testing that the success page after confirming an SROC supplementary bill run displayed an undefined (This is in the water-abstraction-ui). What it should have been showing was the bill run number.

This comes from the Charging Module API in the response after creating the bill run. We found the legacy code saves this but we've overlooked it in our version.

This change fixes this oversight.

Screenshot of error

Screenshot 2023-03-01 at 14 41 01

@Cruikshanks Cruikshanks added the bug Something isn't working label Mar 2, 2023
@Cruikshanks Cruikshanks self-assigned this Mar 2, 2023
@Cruikshanks Cruikshanks force-pushed the fix-missing-bill-run-number branch 2 times, most recently from 886d207 to e3e09ac Compare March 2, 2023 14:42
https://eaflood.atlassian.net/browse/WATER-3906

We spotted during testing that the success page after confirming an SROC supplementary bill run displayed an `undefined` (This is in the [water-abstraction-ui](https://github.com/DEFRA/water-abstraction-ui)). What it should have been showing was the bill run number.

This comes from the [Charging Module API](https://github.com/DEFRA/sroc-charging-module-api) in the response after creating the bill run. We found the legacy code saves this but we've overlooked it in our version.

This change fixes this oversight.
@Cruikshanks Cruikshanks force-pushed the fix-missing-bill-run-number branch from e3e09ac to 7d40569 Compare March 3, 2023 18:03
@Cruikshanks Cruikshanks marked this pull request as ready for review March 3, 2023 18:07
@Cruikshanks Cruikshanks merged commit 906c9e1 into main Mar 3, 2023
@Cruikshanks Cruikshanks deleted the fix-missing-bill-run-number branch March 3, 2023 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant