-
- Downloads
Fix Event online receipts to display credit card info if available.
We currently have a very complex IF clause which includes some deprecated parameters. However, we can simplify this to simply display the information if availble. We only collect credit card information if we require it & hence the presence of it is an adequate indicator as to whether to display it. We could check for credit_card_number instead but actually there is precedent in another tpl for checking credit_card_type & it's pretty neutral as both should be present or missing
Showing
- tests/phpunit/CRM/Event/Form/Registration/ConfirmTest.php 3 additions, 0 deletionstests/phpunit/CRM/Event/Form/Registration/ConfirmTest.php
- xml/templates/message_templates/event_online_receipt_html.tpl 1 addition, 1 deletion...templates/message_templates/event_online_receipt_html.tpl
- xml/templates/message_templates/event_online_receipt_text.tpl 1 addition, 1 deletion...templates/message_templates/event_online_receipt_text.tpl
Loading
Please register or sign in to comment