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 creating the bill run to end of setup journey #812

Merged
merged 5 commits into from
Mar 13, 2024

Conversation

Cruikshanks
Copy link
Member

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

Part of a series of changes related to replacing the create bill run journey to incorporate changes for two-part tariff

At the end of the bill run setup journey, after checking if an existing bill run matches the options selected we create the bill run.

This can involve calling one of our bill run services, sending a request to the legacy water-abstraction-service, or both. We need to add the service that handles this to complete the migration of the bill run setup journey.

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

> Part of a series of changes related to replacing the create bill run journey to incorporate changes for two-part tariff

At the end of the bill run setup journey, after checking if [an existing bill run matches the options selected](#810) we create the bill run.

This can involve calling one of our own bill run services, sending a request to the legacy [water-abstraction-service](https://github/DEFRA/water-abstraction-service), or both. We need to add the service that handles this in order to complete the migration of the bill run setup journey.
@Cruikshanks Cruikshanks added the enhancement New feature or request label Mar 12, 2024
@Cruikshanks Cruikshanks self-assigned this Mar 12, 2024
Spotted in tests that when the service determined that the year to use was what the user selected it was returning it as a string. However, for supplementary and annual where it uses the current financial year it was returning a number.

This inconsistency was causing a problem for the CreateService (and just is wrong!)
@Cruikshanks Cruikshanks marked this pull request as ready for review March 13, 2024 09:49
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.

@Cruikshanks Cruikshanks merged commit 7b17e0c into main Mar 13, 2024
6 checks passed
@Cruikshanks Cruikshanks deleted the add-creating-bill-run-to-new-setup-journey branch March 13, 2024 11:41
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.

3 participants