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

Fixing rescheduled booking email date #5035

Merged
merged 1 commit into from Oct 16, 2022
Merged

Conversation

leog
Copy link
Contributor

@leog leog commented Oct 16, 2022

What does this PR do?

The base email template assumes that if there is a "cancellationReason" text, it is a cancellation email striking out the date from the email. The thing is we also rely on that same variable to hold a rescheduling reason, which ends up sending a rescheduled booking email with a striked out date when it doesn't apply. This is intended to fix that for every email destinatary.

Before:

After:

Fixes # (issue)

Environment: Staging(main branch) / Production

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How should this be tested?

Try rescheduling a booking and receive an email as an attendee and organizer. The date should not be stricken out, whether you include a rescheduling reason or not.

@leog leog requested a review from a team October 16, 2022 15:15
@leog leog self-assigned this Oct 16, 2022
@vercel
Copy link

vercel bot commented Oct 16, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
cal ✅ Ready (Inspect) Visit Preview Oct 16, 2022 at 3:16PM (UTC)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants