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 transaction service to water-abstraction-system #109

Merged
merged 10 commits into from
Feb 13, 2023

Conversation

Jozzey
Copy link
Contributor

@Jozzey Jozzey commented Feb 6, 2023

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

Thanks to #97 we now know what the billable days are for each abstraction period (charge_purpose) linked to a charge reference (charge_element && billing_charge_categories) within a charge version.

The final step is to take that information and start generating the transaction line information. For each charge reference in a charge version, there should be one transaction line. So, if a charge reference is linked to multiple abstraction periods, we need the sum of their billable days.

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

Thanks to #97 we now know what the billable days are for each abstraction period (charge_purpose) linked to a charge reference (charge_element && billing_charge_categories) within a charge version.

The final step is to take that information and start generating the transaction line information. For each charge reference in a charge version, there should be one transaction line. So, if a charge reference is linked to multiple abstraction periods, we need the sum of their billable days.
@Jozzey Jozzey added the enhancement New feature or request label Feb 6, 2023
@Jozzey Jozzey self-assigned this Feb 6, 2023
@Jozzey Jozzey marked this pull request as ready for review February 13, 2023 11:26
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.

It is only the comments! 😁

@Jozzey Jozzey requested a review from Cruikshanks February 13, 2023 12:19
@Jozzey Jozzey merged commit 7ab7bbc into main Feb 13, 2023
@Jozzey Jozzey deleted the add-transaction-service branch February 13, 2023 14:08
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