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

Hide RCP option for Junior licence purchases #1989

Merged
merged 14 commits into from
Aug 5, 2024

Conversation

lailien3
Copy link
Contributor

@lailien3 lailien3 commented Jul 9, 2024

https://eaflood.atlassian.net/browse/IWTF-4066

Anglers under 17 y/o should not be offered the option to set up recurring payments, so it the option has been hidden.

https://eaflood.atlassian.net/browse/IWTF-4066# Please enter the commit message for your changes. Lines starting
@lailien3 lailien3 added the enhancement New feature or request label Jul 9, 2024
@lailien3 lailien3 self-assigned this Jul 9, 2024
Copy link
Collaborator

@jaucourt jaucourt 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 modifications are required, please

Copy link

sonarcloud bot commented Jul 24, 2024

Copy link
Collaborator

@jaucourt jaucourt left a comment

Choose a reason for hiding this comment

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

This is great, thanks for persevering!

@lailien3 lailien3 merged commit ecf9e81 into develop Aug 5, 2024
3 checks passed
@lailien3 lailien3 deleted the feature/iwtf-4066-hide-rcp-from-under-17-y/o branch August 8, 2024 14:21
lailien3 added a commit that referenced this pull request Sep 2, 2024
* Hide RCP option for Junior licence purchases
https://eaflood.atlassian.net/browse/IWTF-4066# Please enter the commit message for your changes. Lines starting

* Created tests

* Fixed 'age' attribute and fixed comma position

* Random space from test removed

* Changed age condition

* Replaced magic number with constant (SonarCloud suggesstion)

* Removed unnecessary test

* Removed unnecessary test

* Used template literals & removed hardcoded age

* Removed hardcoded age, and ensured respective tests passed

* Implemented template literal

* Corrected age calculation, corrected describve statement's grammar, subbed in birthDate > age

* Replaces age field with birthDate field, and amended tests

* Prettier fixes
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