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

Linking 2PT SROC review page #504

Merged
merged 9 commits into from
Nov 8, 2023
Merged

Conversation

Beckyrose200
Copy link
Contributor

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

This pull request is preparing to create a new page for reviewing 2PT SROC bill runs. In the UI repo, changes have been made to redirect requests from links on the billing and batch list page that are related to 2PT SROC bill runs. These requests will now redirect to the new page in the system's repo.

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

This pull request is preparing to create a new page for reviewing 2PT SROC bill runs. In the UI repo, changes have been made to redirect requests from links on the billing and batch list page that are related to 2PT SROC bill runs. These requests will now redirect to the new page in the system's repo.
@Beckyrose200 Beckyrose200 added the enhancement New feature or request label Nov 6, 2023
@Beckyrose200 Beckyrose200 self-assigned this Nov 6, 2023
@Beckyrose200 Beckyrose200 changed the title Linking 2pt sroc review page Linking 2PT SROC review page Nov 6, 2023
@Beckyrose200 Beckyrose200 marked this pull request as ready for review November 7, 2023 12:39
Copy link
Member

@Cruikshanks Cruikshanks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few changes to make then it should be ready to go!

app/routes/bill-runs.routes.js Outdated Show resolved Hide resolved
app/routes/bill-runs.routes.js Outdated Show resolved Hide resolved
app/routes/bill-runs.routes.js Outdated Show resolved Hide resolved
app/views/bill-runs/view.njk Outdated Show resolved Hide resolved
test/controllers/bill-runs.controller.test.js Outdated Show resolved Hide resolved
test/controllers/bill-runs.controller.test.js Outdated Show resolved Hide resolved
@Beckyrose200 Beckyrose200 merged commit a49aa00 into main Nov 8, 2023
4 checks passed
@Beckyrose200 Beckyrose200 deleted the linking-2pt-sroc-review-page branch November 8, 2023 11:25
Cruikshanks added a commit that referenced this pull request Nov 22, 2023
https://eaflood.atlassian.net/browse/WATER-4205

In [Linking 2PT SROC review page](#504) we added a stand-in view to confirm that if you click a bill run in `REVIEW` in the bill runs page of the internal UI you will get to a page we intend to build out and supporting reviewing the match & allocate results.

What we should have spotted is that the template was named `view.njk` not `review.njk`. We need `view.njk` as that would be the default template name for viewing a bill run. So, this quick change renames the template to `review.njk` to match the controller name and endpoint.
Cruikshanks added a commit that referenced this pull request Nov 22, 2023
https://eaflood.atlassian.net/browse/WATER-4205

In [Linking 2PT SROC review page](#504) we added a stand-in view to confirm that if you click a bill run in `REVIEW` in the bill runs page of the internal UI you will get to a page we intend to build out and supporting reviewing the match & allocate results.

What we should have spotted is that the template was named `view.njk` not `review.njk`. We need `view.njk` as that would be the default template name for viewing a bill run. So, this quick change renames the template to `review.njk` to match the controller name and endpoint.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants