-
Notifications
You must be signed in to change notification settings - Fork 0
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
Return requirements link referral #862
Merged
Demwunz
merged 14 commits into
main
from
WATER-4385-implement-rtn-req-check-your-answers-referral
Apr 9, 2024
Merged
Return requirements link referral #862
Demwunz
merged 14 commits into
main
from
WATER-4385-implement-rtn-req-check-your-answers-referral
Apr 9, 2024
Conversation
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
https://eaflood.atlassian.net/browse/WATER-4385 When a user clicks a "change" link on the "Check your Answers" page, they are directed back to the original input page for the answer. This change will allow the user to submit the page again and return the "Check your Answers" page.
Demwunz
force-pushed
the
WATER-4385-implement-rtn-req-check-your-answers-referral
branch
from
April 4, 2024 17:05
b41561d
to
b0f284b
Compare
https://eaflood.atlassian.net/browse/WATER-4403 In [Bump supplementary end year if no annual bill run](#875) we amended our billing engine for supplementary. We made it possible for users to generate supplementary bill runs in years where no annual has yet been created and sent. Previously, the Billing & Data team would have to put a block on creating bill runs until the annuals were generated. This is because supplementary takes into account previous transactions whereas annual doesn't. Without the change creating a supplementary followed by an annual bill run would result in the customer getting charged twice. We now determine when the last annual bill run was sent and use its financial end year as the end year for the supplementary bill run. Annual created in this billing period? Then the supplementary will start there and work back 5 years. If the last sent annual was for the previous billing period the supplementary will start _there_ and work back 5 years. So, what's the problem? In this explanation, we keep referring to the last sent 'annual' bill run. But we've just spotted the logic which looks for the last sent bill run does not include batch type in the `where()` clause. Theoretically, we could create a two-part tariff bill run, send it and that would then match our query! This change corrects the query we use to find the last sent annual bill run for a region.
…t-rtn-req-check-your-answers-referral' into WATER-4385-implement-rtn-req-check-your-answers-referral
Demwunz
force-pushed
the
WATER-4385-implement-rtn-req-check-your-answers-referral
branch
from
April 5, 2024 17:39
71fae09
to
e83eebc
Compare
Demwunz
force-pushed
the
WATER-4385-implement-rtn-req-check-your-answers-referral
branch
from
April 5, 2024 17:44
81272f9
to
7aae747
Compare
robertparkinson
approved these changes
Apr 8, 2024
Demwunz
deleted the
WATER-4385-implement-rtn-req-check-your-answers-referral
branch
April 9, 2024 09:11
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
https://eaflood.atlassian.net/browse/WATER-4385
When a user clicks a "change" link on the "Check your Answers" page, they are directed back to the original input page for the answer.
This change will allow the user to submit the page again and return the "Check your Answers" page.