// pay additional amount by using Credit Card
$this->submitPayment(70, 'live', TRUE);
$this->checkResults([30, 70], 2);
- $mut->assertSubjects(['Payment Receipt -']);
+ $mut->assertSubjects(['Payment Receipt - Mr. Anthony Anderson II']);
$mut->checkMailLog([
'From: site@something.com',
'Dear Anthony,',
// pay additional amount by using credit card
$this->submitPayment(20, 'live');
$this->checkResults([30, 50, 20], 3);
- $mut->assertSubjects(['Payment Receipt -']);
+ $mut->assertSubjects(['Payment Receipt - Mr. Anthony Anderson II']);
$mut->checkMailLog([
'Dear Anthony,',
'A payment has been received',
]);
$this->callAPISuccess('Payment', 'sendconfirmation', ['id' => $payment['id']]);
- $mut->assertSubjects(['Payment Receipt - Annual CiviCRM meet']);
+ $mut->assertSubjects(['Payment Receipt - Annual CiviCRM meet - Mr. Anthony Anderson II']);
$mut->checkMailLog([
'From: "FIXME" <info@EXAMPLE.ORG>',
'Dear Anthony,',
// Here we set the email to an invalid email & use check_permissions, domain email should be used.
$email = $this->callAPISuccess('Email', 'create', ['contact_id' => 1, 'email' => 'bob@example.com']);
$this->callAPISuccess('Payment', 'sendconfirmation', ['id' => $payment['id'], 'from' => $email['id'], 'check_permissions' => 1]);
- $mut->assertSubjects(['Payment Receipt - Annual CiviCRM meet', 'Registration Confirmation - Annual CiviCRM meet']);
+ $mut->assertSubjects(['Payment Receipt - Annual CiviCRM meet - Mr. Anthony Anderson II', 'Registration Confirmation - Annual CiviCRM meet - Mr. Anthony Anderson II']);
$mut->checkMailLog([
'From: "FIXME" <info@EXAMPLE.ORG>',
'Dear Anthony,',
}
$this->callAPISuccess('Payment', 'sendconfirmation', ['id' => $payment['id']]);
- $mut->assertSubjects(['Refund Notification - Annual CiviCRM meet']);
+ $mut->assertSubjects(['Refund Notification - Annual CiviCRM meet - Mr. Anthony Anderson II']);
$mut->checkMailLog([
'Dear Anthony,',
'A refund has been issued based on changes in your registration selections.',
-{ts}CiviContribute Alert: Possible Duplicate Contact Record{/ts}
+{ts}CiviContribute Alert: Possible Duplicate Contact Record{/ts} - {contact.display_name}
{else}
{ts}Invoice{/ts}
{/if}
+ - {contact.display_name}
-{ts}Contribution Receipt{/ts}
+{ts}Contribution Receipt{/ts} - {contact.display_name}
-{if $is_pay_later}{ts}Invoice{/ts}{else}{ts}Receipt{/ts}{/if} - {$title}
+{if $is_pay_later}{ts}Invoice{/ts}{else}{ts}Receipt{/ts}{/if} - {$title} - {contact.display_name}
-{ts}Recurring Contribution Billing Updates{/ts}
\ No newline at end of file
+{ts}Recurring Contribution Billing Updates{/ts} - {contact.display_name}
-{ts}Recurring Contribution Cancellation Notification{/ts}
+{ts}Recurring Contribution Cancellation Notification{/ts} - {contact.display_name}
-{ts}Recurring Contribution Update Notification{/ts}
\ No newline at end of file
+{ts}Recurring Contribution Update Notification{/ts} - {contact.display_name}
-{ts}Recurring Contribution Notification{/ts}
+{ts}Recurring Contribution Notification{/ts} - {contact.display_name}
-{ts}Event Confirmation{/ts} - {$event.title}
+{ts}Event Confirmation{/ts} - {$event.title} - {contact.display_name}
-{if $isOnWaitlist}{ts}Wait List Confirmation{/ts}{elseif $isRequireApproval}{ts}Registration Request Confirmation{/ts}{else}{ts}Registration Confirmation{/ts}{/if} - {$event.event_title}
+{if $isOnWaitlist}{ts}Wait List Confirmation{/ts}{elseif $isRequireApproval}{ts}Registration Request Confirmation{/ts}{else}{ts}Registration Confirmation{/ts}{/if} - {$event.event_title} - {contact.display_name}
-Receipt for {if $events_in_cart} Event Registration{/if}
+Receipt for {if $events_in_cart} Event Registration{/if} - {contact.display_name}
-{ts}Membership Autorenewal Billing Updates{/ts}
\ No newline at end of file
+{ts}Membership Autorenewal Billing Updates{/ts} - {contact.display_name}
-{ts}Autorenew Membership Cancellation Notification{/ts}
+{ts}Autorenew Membership Cancellation Notification{/ts} - {contact.display_name}
{ts}Membership Confirmation and Receipt{/ts}
{elseif $receiptType EQ 'membership renewal'}
{ts}Membership Renewal Confirmation and Receipt{/ts}
-{/if}
+{/if} - {contact.display_name}
-{if $is_pay_later}{ts}Invoice{/ts}{else}{ts}Receipt{/ts}{/if} - {$title}
+{if $is_pay_later}{ts}Invoice{/ts}{else}{ts}Receipt{/ts}{/if} - {$title} - {contact.display_name}
-{ts 1=$event.event_title}Event Registration Cancelled for %1{/ts}
+{ts 1=$event.event_title}Event Registration Cancelled for %1{/ts} - {contact.display_name}
-{ts 1=$event.event_title}Confirm your registration for %1{/ts}
+{ts 1=$event.event_title}Confirm your registration for %1{/ts} - {contact.display_name}
-{ts 1=$event.event_title}Event registration has expired for %1{/ts}
+{ts 1=$event.event_title}Event registration has expired for %1{/ts} - {contact.display_name}
-{ts 1=$event.event_title}Event Registration Transferred for %1{/ts}
+{ts 1=$event.event_title}Event Registration Transferred for %1{/ts} - {contact.display_name}
-{if $isRefund}{ts}Refund Notification{/ts}{else}{ts}Payment Receipt{/ts}{/if} - {if $component eq 'event'}{$event.title}{/if}
\ No newline at end of file
+{if $isRefund}{ts}Refund Notification{/ts}{else}{ts}Payment Receipt{/ts}{/if}{if $component eq 'event'} - {$event.title}{/if} - {contact.display_name}
-{ts}Personal Campaign Page Notification{/ts}
+{ts}Personal Campaign Page Notification{/ts} - {contact.display_name}
-{ts}Someone has just donated to your personal campaign page{/ts}
+{ts}Someone has just donated to your personal campaign page{/ts} - {contact.display_name}
-{ts 1=$contribPageTitle}Your Personal Campaign Page for %1{/ts}
+{ts 1=$contribPageTitle}Your Personal Campaign Page for %1{/ts} - {contact.display_name}
-{ts 1=$contribPageTitle}Your Personal Campaign Page for %1{/ts}
+{ts 1=$contribPageTitle}Your Personal Campaign Page for %1{/ts} - {contact.display_name}
-Confirmation of signature needed for {$petition.title}
+Confirmation of signature needed for {$petition.title} - {contact.display_name}
-Thank you for signing {$petition.title}
\ No newline at end of file
+Thank you for signing {$petition.title} - {contact.display_name}
-{ts}Thank you for this pledge{/ts}
+{ts}Thank you for your Pledge{/ts} - {contact.display_name}
-{ts}Pledge Payment Reminder{/ts}
+{ts}Pledge Payment Reminder{/ts} - {contact.display_name}
-{$grouptitle} {ts 1=$displayName}Submitted by %1{/ts}
+{$grouptitle} {ts 1=$displayName}Submitted by %1{/ts} - {contact.display_name}