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

Show consent form link for doubles #3025

Merged
merged 4 commits into from
Feb 21, 2025
Merged

Conversation

thomasleese
Copy link
Contributor

When rendering the consent links on a session page, this now ensures that Td/IPV and MenACWY are grouped together a single link is shown for that particular consent form as consent for these programmes is collected together.

To support this I've made the consent form start link accept a - separated list of programme types, which are then used together to generate the consent form. For HPV the links continue to work as they do currently, and for doubles the programmes slug will look like menacwy-td_ipv or td_ipv-menacwy.

Screenshot

Screenshot 2025-02-21 at 15 07 20

When starting a consent form it's now possible to pass multiple
programme types in one go allowing the creation of a consent form for
multiple programmes.
This is to add support for multiple programmes, which is needed when
sending out consent forms for doubles which administers both Td/IPV and
MenACWY at the same time.
This is used to group together programmes which are administered at the
same time, to support the consent forms and comms.
@thomasleese thomasleese added the ✨ feature New functionality label Feb 21, 2025
@thomasleese thomasleese added this to the v2.0.0 milestone Feb 21, 2025
This groups MenACWY and Td/IPV in a single consent form when viewing the
consent form links for a session.
@thomasleese thomasleese merged commit a175c60 into v2.0.0-wip Feb 21, 2025
10 checks passed
@thomasleese thomasleese deleted the doubles-consent-link branch February 21, 2025 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ feature New functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants