-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix miscalculated preview 2PT charge in review (#1583)
https://eaflood.atlassian.net/browse/WATER-4849 When previewing the two-part tariff charge calculation for some licences, the business spotted that the value returned was more than expected. They have deduced it is because the preview is incorrectly flagging the licence as having a 'public water supply' and, therefore, adds the additional £141 charge to the calculation. This change corrects what data we send to the [Charging Module API](https://github.com/DEFRA/sroc-charging-module-api) to ensure we present the correct preview charge to users.
- Loading branch information
1 parent
bb8eaa6
commit 28d2b50
Showing
2 changed files
with
90 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters