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

Display msg for multiple abs amounts in view #1153

Merged
merged 6 commits into from
Jul 2, 2024

Conversation

Cruikshanks
Copy link
Member

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

Part of the work to replace the legacy view licence page

When we first built our version of the view licence page's summary tab, we applied the same logic when it came to a licence with multiple purposes: don't display abstraction amounts!

This is because the amounts could be different across the purposes and you can't just sum them. It is possible that the total amount of abstraction might be different on the licence when compared to the sum of its purposes (welcome to water abstraction!)

The old logic therefore hid the field. But we know anecdotally some users say you cannot see abstraction amounts in WRLS because of this behaviour.

So, in this change, when a licence has multiple purposes, we'll instead show a message and a link to the screen that shows the amounts for each purpose. Where a licence has one purpose, we'll continue to display the amounts.

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

> Part of the work to replace the legacy view licence page

When we first built our version of the view licence page's summary tab we applied the same logic when it came to a licence with multiple purposes; don't display abstraction amounts!

This is because the amounts could be different across the purposes and you can't just sum them. It is possible that the total amount of abstraction might be different on the licence when compared to the sum of its purposes (welcome to water abstraction!)

The old logic therefore hid the field. But we know anecdotally some users say you cannot see abstraction amounts in WRLS because of this behaviour.

So, in this change when a licence has multiple purposes we'll instead show a message and a link to the screen which shows the amounts for each purpose. Where a licence has one purpose, we'll continue to display the amounts.
@Cruikshanks Cruikshanks added the enhancement New feature or request label Jul 2, 2024
@Cruikshanks Cruikshanks self-assigned this Jul 2, 2024
@Cruikshanks Cruikshanks marked this pull request as ready for review July 2, 2024 16:58
@Cruikshanks Cruikshanks merged commit 306aeaa into main Jul 2, 2024
6 checks passed
@Cruikshanks Cruikshanks deleted the handle-multiple-abstraction-amounts branch July 2, 2024 16:58
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.

1 participant