-
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.
Add pre sroc returns flagging to service (#1335)
https://eaflood.atlassian.net/browse/WATER-4199 https://eaflood.atlassian.net/browse/WATER-4676 During testing for the first ticket, it was discovered that editing a return on a licence and then flagging that licence for supplementary billing, was always flagging the licence for pre-sroc supplementary billing even when the years were for sroc. After discussions it was determined that editing a return should only be able to add a flag on a licence for either pre-sroc billing OR two-part tariff supplementary billing. This is because regular sroc supplementary billing doesn't look at the returns, so editing a return won't change anything on the bill run. This PR adds an additional check on the determine-return-log-years service to check if the return has a start date before the SROC start date. If it does we add the flag on the licence for pre-sroc supplementary billing.
- Loading branch information
1 parent
c8f5559
commit 1c3ba4b
Showing
2 changed files
with
39 additions
and
0 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