-
Notifications
You must be signed in to change notification settings - Fork 120
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
Add living wage to wage calculator #2042
Conversation
2c1321c
to
00f4f4e
Compare
I've added a comment to the PT story to ask whether these changes are ready to be deployed. |
Liz has commented in PT to say that the date for these changes has been moved to 25 November. I'm going to add the Waiting on Factcheck label so that we know we can ignore this for a while. |
…more communicative about its purpose.
…wage eligibility and related regression test artefacts. Add validation to how old are you when checking living wage eligibility to ensure users are at least 25 before continuing.
e89dab9
to
3240373
Compare
I've rebased this branch on master and force pushed to avoid it from getting too far out of date. |
I'm in the process of rebasing this on master now that questions live in ERB templates. |
This has been superseded by PR #2161 so I'm closing this PR. |
Superseded by PR #2161
PT Story - https://www.pivotaltracker.com/story/show/106292374
Rationale
This change updates the "Am I getting minimum wage?" calculator with an option for people to check if they will receive the living wage when it goes live 1 April 2016.
All the logic remains the same and follows the path as if you were calculating a current rate, with only a minor change in the age question, asking how old will you be on 1 April 2016, instead of how old are you.
Those over 25 on 1 April 2016, who receive 7.20 or more per hour, will see that they will be receiving the living wage, and those receiving less than 7.20 per hour will see a message that they should be receiving the living wage.
Expected changes

- [Example URL](https://www.gov.uk/am-i-getting-minimum-wage/y/current_payment_april_2016) - Should now ask "How old will you be on 1 April 2016?"
- [Example URL](https://www.gov.uk/am-i-getting-minimum-wage/y/current_payment_april_2016/25/7/40.0/300.0/0.0/no) - Outcome should say "You will be getting the national living wage"
- [Example URL](https://www.gov.uk/am-i-getting-minimum-wage/y/current_payment_april_2016/25/7/40.0/280.0/0.0/no) - Outcome should include "You are getting the National Minimum wage but your pay should be increased to at least the national living wage from 1 April 2016."
- [Example URL](https://www.gov.uk/am-i-getting-minimum-wage/y/current_payment_april_2016/25/7/40.0/200.0/0.0/no) - Outcome should include callout "Your actual pay should increase to at least £7.20 per hour from 1 April 2016."
- [Example URL](https://www.gov.uk/am-i-getting-minimum-wage/y/current_payment/not_an_apprentice/33/5/33.0/333.0/3.0/3.0/no) - Asac helpline should be in bold text, and on separate line