summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
0a5b0a1)
I noticed in testing the template looks like
Dear p, Thank you for your participation. This letter is a confirmation that your registration has been received and your status has been updated to Registered. .
===========================================================
Event Information and Location
===========================================================
Annual CiviCRM meet
*/
public function testPaidSubmit($thousandSeparator) {
$this->setCurrencySeparators($thousandSeparator);
*/
public function testPaidSubmit($thousandSeparator) {
$this->setCurrencySeparators($thousandSeparator);
+ $mut = new CiviMailUtils($this);
$paymentProcessorID = $this->processorCreate();
/* @var \CRM_Core_Payment_Dummy $processor */
$processor = Civi\Payment\System::singleton()->getById($paymentProcessorID);
$paymentProcessorID = $this->processorCreate();
/* @var \CRM_Core_Payment_Dummy $processor */
$processor = Civi\Payment\System::singleton()->getById($paymentProcessorID);
'billing_state_province_id-5' => '1061',
'billing_postal_code-5' => '7',
'billing_country_id-5' => '1228',
'billing_state_province_id-5' => '1061',
'billing_postal_code-5' => '7',
'billing_country_id-5' => '1228',
- 'scriptFee' => '',
- 'scriptArray' => '',
'priceSetId' => '6',
'price_7' => [
13 => 1,
],
'payment_processor_id' => $paymentProcessorID,
'bypass_payment' => '',
'priceSetId' => '6',
'price_7' => [
13 => 1,
],
'payment_processor_id' => $paymentProcessorID,
'bypass_payment' => '',
- 'MAX_FILE_SIZE' => '33554432',
'is_primary' => 1,
'is_pay_later' => 0,
'campaign_id' => NULL,
'is_primary' => 1,
'is_pay_later' => 0,
'campaign_id' => NULL,
'financial_trxn_id' => $financialTrxn['id'] + 1,
'amount' => '1.67',
], $entityFinancialTrxns[2], ['id', 'entity_id']);
'financial_trxn_id' => $financialTrxn['id'] + 1,
'amount' => '1.67',
], $entityFinancialTrxns[2], ['id', 'entity_id']);
+ $mut->checkMailLog([
+ 'Event Information and Location', 'Registration Confirmation - Annual CiviCRM meet',
+ 'This letter is a confirmation that your registration has been received and your status has been updated to <strong> Registered</strong>',
+ ]);
+ $mut->clearMessages();
{else}
<p>{ts}Thank you for your participation.{/ts}
{if $participant_status}{ts 1=$participant_status}This letter is a confirmation that your registration has been received and your status has been updated to <strong> %1</strong>.{/ts}
{else}
<p>{ts}Thank you for your participation.{/ts}
{if $participant_status}{ts 1=$participant_status}This letter is a confirmation that your registration has been received and your status has been updated to <strong> %1</strong>.{/ts}
- {else}{if $isOnWaitlist}{ts}This letter is a confirmation that your registration has been received and your status has been updated to <strong>waitlisted</strong>.{/ts}{else}{ts}This letter is a confirmation that your registration has been received and your status has been updated to <strong>registered<strong>.{/ts}{/if}{/if}.</p>
+ {else}{if $isOnWaitlist}{ts}This letter is a confirmation that your registration has been received and your status has been updated to <strong>waitlisted</strong>.{/ts}{else}{ts}This letter is a confirmation that your registration has been received and your status has been updated to <strong>registered<strong>.{/ts}{/if}{/if}</p>
{ts}Thank you for your participation.{/ts}
{if $participant_status}{ts 1=$participant_status}This letter is a confirmation that your registration has been received and your status has been updated to %1.{/ts}
{else}{if $isOnWaitlist}{ts}This letter is a confirmation that your registration has been received and your status has been updated to waitlisted.{/ts}{else}{ts}This letter is a confirmation that your registration has been received and your status has been updated to registered.{/ts}{/if}
{ts}Thank you for your participation.{/ts}
{if $participant_status}{ts 1=$participant_status}This letter is a confirmation that your registration has been received and your status has been updated to %1.{/ts}
{else}{if $isOnWaitlist}{ts}This letter is a confirmation that your registration has been received and your status has been updated to waitlisted.{/ts}{else}{ts}This letter is a confirmation that your registration has been received and your status has been updated to registered.{/ts}{/if}