-
-
Notifications
You must be signed in to change notification settings - Fork 824
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
Add "Contributor Name" to Offline Contribution Receipts #16286
Conversation
(Standard links)
|
@alifrumin Is the test failure related? |
0e0ed6b
to
448a7f8
Compare
@yashodha the test failure (CRM_Contribute_Form_ContributionTest.testEmailReceiptOnPayLater) was related! The test is looking for a specific string in the receipt and I put the "Contributor Name" right in the middle of it. I changed the order so now the "Contributor Name" should be before the string the test is looking for and not break the test.... fingers crossed. |
jenkins retest this please |
@alifrumin would this look a bit odd if their display name was an email? I think this seems Ok but I'd want a couple more +1s on it as message template changes do have a visible user impact and unlike recent changes this isn't a continuance of changes already discussed |
I added has -test as test fails demonstrate existing cover |
I don't think this most recent test failure is related. @eileenmcnaughton thank you for adding those labels! We had a client complain that for offline backend contribution receipts the Contributor's Name never shows up which is how this pr came up in the first place. They specifically wanted the first and last name in the receipt. The other contribution workflows do seem to have the full name one way or another:
|
tes this please |
jenkins retest this please |
Display name as email only is acceptable IMHO. Even if it 'looks weird' it is not inaccurate, and most contribution profiles contain name as well as email address at some point, even if it is the Billing First Name. |
@eileenmcnaughton my biggest concern was that a receipt that doesn't identify the donor isn't really a receipt. If the email address is all we know about a donor, that's still important to provide. |
@Stoob @agh1 opened an issue regarding the inconsistency between offline receipts here: https://lab.civicrm.org/dev/user-interface/issues/13 It is related in the sense that the Registrant Name not being included I think stems from the same oversight. |
jenkins retest this please |
Nothing show-stopping in the responses here - merging |
Overview
Adds the display name of the contributor to the Offline Contribution Receipt.
Offline Contribution Receipts can be triggered by going to a contacts "Contributions" tab and clicking the "Record Contribution (Check, Cash, EFT)" button or the "Submit Credit Card Contribution" button, entering information for a contribution, checking the "Send Receipt?" checkbox and submitting the form.
Before
Without this change Offline Contribution Receipts do not include the Contributors name. See screenshot of a receipt generated from the "Record Contribution (Check, Cash, EFT)" form:
After
With this change they do see screenshot below: