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

Handle create 2PT bill run requests #503

Merged
merged 15 commits into from
Nov 8, 2023
Merged

Conversation

Jozzey
Copy link
Contributor

@Jozzey Jozzey commented Nov 6, 2023

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

We need to update the validation logic used that checks the incoming request to accept an optional start and end year for 2PT requests. We then need to pass this information down to our app/services/billing/start-bill-run-process.service.js.

The logic in that service will need to be updated to handle both 2PT and supplementary bill runs. For example, it assumes there will be multiple building periods calculated from the current year. For 2PT it will only be the current year, else the financial year provided in the request.

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

We need to update the validation logic used that checks the incoming request to accept an optional start and end year for 2PT requests. We then need to pass this information down to our `app/services/billing/start-bill-run-process.service.js`.

The logic in that service will need to be updated to handle both 2PT and supplementary bill runs. For example, it assumes there will be multiple building periods calculated from the current year. For 2PT it will only be the current year, else the financial year provided in the request.
@Jozzey Jozzey added the enhancement New feature or request label Nov 6, 2023
@Jozzey Jozzey self-assigned this Nov 6, 2023
@Jozzey Jozzey marked this pull request as ready for review November 7, 2023 19:37
Copy link
Member

@Cruikshanks Cruikshanks left a comment

Choose a reason for hiding this comment

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

@Jozzey Jozzey merged commit ee35804 into main Nov 8, 2023
6 checks passed
@Jozzey Jozzey deleted the handle-2pt-billrun-requests branch November 8, 2023 09:56
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