Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix remove bill licence supplementary flagging (#2464)
https://eaflood.atlassian.net/browse/WATER-4415 We spotted that our new billing views had dropped the button that allows a user to remove a licence from a bill run (only applies to `READY`` bill runs and bills with more than one licence). We put the button back in and even gave the confirmation page a refresh. But we're not in a position to migrate the actual work yet. So, our page like the old one pings the same legacy endpoint as [water-abstraction-ui](https://github.com/DEFRA/water-abstraction-ui). Our QA team being as conscientious as always double-checked all aspects, following up on the message that both the old and new pages display stating the licence will be flagged for the next supplementary bill run. They have found it only flags it for the old (PRESROC) charge scheme. We need to be looking at the scheme of the bill run we are removing the licence from and then set the appropriate supplementary billing flag on the licence.
- Loading branch information