With the addition of https://github.com/cds-snc/ircc-rescheduler/pull/438 the email templates need to handle either selected days or the availability explanation. This updates handles the new scenarios and is backwards compatible with the existing setup.
Testing
To test locally run update the cypress user fixture to your email address and run "validation-error.spec" (Full Run-through including validation errors). To test with an availability explanation add an explanation manually i.e.
With the addition of https://github.com/cds-snc/ircc-rescheduler/pull/438 the email templates need to handle either selected days or the availability explanation. This updates handles the new scenarios and is backwards compatible with the existing setup.
Testing
To test locally run update the cypress user fixture to your email address and run "validation-error.spec" (Full Run-through including validation errors). To test with an availability explanation add an explanation manually i.e.
Sample user email: