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

Fix e-notices in contribution_offline_receipt text by removing always-empty field #26599

Merged
merged 1 commit into from
Jun 22, 2023

Conversation

eileenmcnaughton
Copy link
Contributor

Overview

Fix e-notices in contribution_offline_receipt text by removing always-empty field

Before

offline receipt template has a place for the receipt_text field from the form - but there is no receipt text field on the form - this is e-noticey

After

poof

Technical Details

On looking to fix this enotice through the form it turned out the contribution form does not have a field for this - so the formValues will never hold receipt_text.

Hence this PR removes it from the template.

Other forms do seem to have this & I will separately add userText or similar to the model

Comments

…-empty field

On looking to fix this enotice through the form it turned out the
contribution form does not have a field for this - so the formValues
will never hold receipt_text.

Hence this PR removes it from the template.

Other forms do seem to have this & I will separately add userText or similar to the model
@civibot
Copy link

civibot bot commented Jun 22, 2023

(Standard links)

@civibot civibot bot added the master label Jun 22, 2023
@larssandergreen
Copy link
Contributor

I've actually thought that we should add this field to the form. It's odd that we have it for events, but not contributions. Would be useful, especially as most receipts are very generic since they have to cover all types of contributions.

@eileenmcnaughton
Copy link
Contributor Author

@larssandergreen I'm OK with it being added but I think we would assign it differently if we do re-add it so I think it's OK to remove this - I can put up another PR on another form showing...

@larssandergreen
Copy link
Contributor

Sounds good to me!

@seamuslee001 seamuslee001 merged commit 30ab23d into civicrm:master Jun 22, 2023
@seamuslee001 seamuslee001 deleted the offline_madness branch June 22, 2023 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants