-
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
Display return versions in view licence setup tab #1054
Display return versions in view licence setup tab #1054
Conversation
This will add a Returns for requirements table and buttons to the view licence set up page. This will be initially feature toggled false. This change is part of the charge information page replacement seen in this previous work - #1034
…returns-requirements # Conflicts: # app/presenters/licences/set-up.presenter.js # app/services/licences/view-licence-set-up.service.js # app/views/licences/tabs/set-up.njk
rename to returnVersions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Love the changes to make working with the links easier. And some of the stuff I've highlighted isn't in the ticket and wouldn't be known by you.
But anything else feel free to ping me if you need to discuss them.
Co-authored-by: Alan Cruikshanks <[email protected]>
Co-authored-by: Alan Cruikshanks <[email protected]>
Co-authored-by: Alan Cruikshanks <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One NIT but also a suggested change to where we refer to the feature flag and use it which I think is worth making.
Co-authored-by: Alan Cruikshanks <[email protected]>
Co-authored-by: Alan Cruikshanks <[email protected]>
…uirements' into feature-view-licence-returns-requirements
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://eaflood.atlassian.net/browse/WATER-4422 The requirements for return journey has been built and the check page has been finished. This showed a page with requirements for returns allowing users to make changes to requirements for returns. This piece of work will replicate the requirements for returns check page but will not allow users to make changes (the card and information is identical, apart from the title and a return reference). There will be a link "View" on the licence set up page that links to this page. That is added as part of this change. Work for this was done here - #1054
https://eaflood.atlassian.net/browse/WATER-4422 The requirements for return journey has been built and the check page has been finished. This showed a page with requirements for returns allowing users to make changes to requirements for returns. This piece of work will replicate the requirements for returns check page but will not allow users to make changes (the card and information is identical, apart from the title and a return reference). There will be a link "View" on the licence set up page that links to this page. That is added as part of this change. Work for this was done here - #1054
* Add requirements for returns view page https://eaflood.atlassian.net/browse/WATER-4422 The requirements for return journey has been built and the check page has been finished. This showed a page with requirements for returns allowing users to make changes to requirements for returns. This piece of work will replicate the requirements for returns check page but will not allow users to make changes (the card and information is identical, apart from the title and a return reference). There will be a link "View" on the licence set up page that links to this page. That is added as part of this change. Work for this was done here - #1054
https://eaflood.atlassian.net/browse/WATER-4407 > Part of the work to replace NALD for handling return requirements When we [started displaying return versions](#1054) in the view licence set up tab we should have excluded those with a 'draft' status. These have been imported from NALD, but found to have no return requirements which isn't valid in NALD. A decision will be made on what to do with them once we return requirements has gone live in WRLS. Till then, we just need to ensure they don't appear in this table.
https://eaflood.atlassian.net/browse/WATER-4407 > Part of the work to replace NALD for handling return requirements When we [started displaying return versions](#1054) in the view licence set up tab, we should have excluded those with a 'draft' status. These have been imported from NALD but found to have no return requirements, which isn't valid in NALD. Once the return requirements have gone live in WRLS, a decision will be made on what to do with them. Until then, we need to ensure they don't appear in this table.
https://eaflood.atlassian.net/browse/WATER-4407
This adds the Requirements for returns table (return versions) to the 'Licence set up' tab on our new view licence page.
It also adds the buttons to create new ones, though these are placed behind a feature flag as we are not yet ready for the switchover.
This builds on the work done in View Licence set up page.