Skip to content
Snippets Groups Projects
Unverified Commit b1dcacde authored by Seamus Lee's avatar Seamus Lee Committed by GitHub
Browse files

Merge pull request #15532 from eileenmcnaughton/event_cont_mode

Fix logic determining whether (masked) credit card details are displayed in event online receipts
parents 1b6e7995 ea93110b
Branches
Tags
No related merge requests found
......@@ -209,6 +209,9 @@ class CRM_Event_Form_Registration_ConfirmTest extends CiviUnitTestCase {
], $entityFinancialTrxns[2], ['id', 'entity_id']);
$mut->checkMailLog([
'Event Information and Location', 'Registration Confirmation - Annual CiviCRM meet',
'Expires: January 2019',
'Visa',
'************1111',
'This letter is a confirmation that your registration has been received and your status has been updated to <strong> Registered</strong>',
]);
$mut->clearMessages();
......
......@@ -410,7 +410,7 @@
</tr>
{/if}
{if $contributeMode eq 'direct' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval}
{if $credit_card_type}
<tr>
<th {$headerStyle}>
{ts}Credit Card Information{/ts}
......
......@@ -211,7 +211,7 @@ You were registered by: {$payer.name}
{$address}
{/if}
{if $contributeMode eq 'direct' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval}
{if $credit_card_type}
==========================================================={if $pricesetFieldsCount }===================={/if}
{ts}Credit Card Information{/ts}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment