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 bill licence charge ref decimal in wrong place #713

Merged
merged 2 commits into from
Feb 7, 2024

Conversation

Cruikshanks
Copy link
Member

@Cruikshanks Cruikshanks commented Feb 7, 2024

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

It has been spotted by the Billing & Data team that the value shown against a charge reference in the /bill-licences view has the decimal in the wrong place. For example, charge reference 4.6.10 should display a value of £609.00 but instead is £6.09.

This change fixes the issue.

Screenshot of incorrect value

water-4358_new

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

It has been spotted by the Billing & Data team that the value shown against a charge reference in the `/bill-licences` view has the decimal in the wrong place. For example, charge reference 4.6.10 should display a value of `£609.00` but instead is `£6.09`.

This change fixes the issue.
@Cruikshanks Cruikshanks added the bug Something isn't working label Feb 7, 2024
@Cruikshanks Cruikshanks self-assigned this Feb 7, 2024
@Cruikshanks Cruikshanks marked this pull request as ready for review February 7, 2024 12:33
Copy link
Contributor

@Beckyrose200 Beckyrose200 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 e09ddf3 into main Feb 7, 2024
6 checks passed
@Cruikshanks Cruikshanks deleted the fix-charge-reference-decimal-point branch February 7, 2024 13:03
Cruikshanks added a commit that referenced this pull request Feb 7, 2024
https://eaflood.atlassian.net/browse/WATER-4358

Back again! (see [Fix bill licence charge ref decimal in wrong place](#713))

The Billing & Data team have also spotted that the value shown against a supported source in the `/bill-licences` view has the decimal in the wrong place.

Both the charge reference charge (baseline charge) and Supported source charge are extracted out of the JSON blob the Charging Module service captures from the Rules Service and returns in its response.

Looks like the Rules service returns these in pounds, unlike all other values that are in pence.

This change fixes the issue for supported source charge (and fingers crossed that's it!)
Cruikshanks added a commit that referenced this pull request Feb 7, 2024
https://eaflood.atlassian.net/browse/WATER-4358

Back again! (see [Fix bill licence charge ref decimal in wrong place](#713))

The Billing & Data team have also spotted that the value shown against a supported source in the `/bill-licences` view has the decimal in the wrong place.

Both the charge reference charge (baseline charge) and Supported source charge are extracted out of the JSON blob the Charging Module service captures from the Rules Service and returns in its response.

Looks like the Rules service returns these in pounds, unlike all other values that are in pence.

This change fixes the issue for supported source charge (and fingers crossed that's it!)
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.

2 participants