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

BTHAB-182: Attach quotation invoice to contribution mail #976

Merged
merged 2 commits into from
Sep 21, 2023

Conversation

olayiwola-compucorp
Copy link

Overview

This PR adds a new checkbox option that allows a user to attach a quotation invoice to a contribution invoice mail.

Before

There's no option to attach a quotation invoice to a contribution invoice mail

After

There's an option to attach a quotation invoice to a contribution invoice mail

When the Attach Quotation box is checked, the quotation invoice is attached to the email.
derer

When the Attach Quotation box is not checked, the quotation invoice is not attached to the email.

Also, the checkbox doesn't appear on contributions not linked to a quotation.
dereree

Technical Details

The https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_alterMailParams/ is used to attach the quotation invoice to the outgoing contribution email.

@erawat erawat merged commit 13b7c16 into BTHAB-3-workstream Sep 21, 2023
2 checks passed
@erawat erawat deleted the BTHAB-182-quote-attach branch September 21, 2023 14:32
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.

2 participants