'From: site@something.com',
'Dear Anthony,',
'Payment Details',
- 'Total Fee: $100.00',
- 'This Payment Amount: $70.00',
+ 'Total Fee',
+ '$100.00',
+ 'This Payment Amount',
+ '$70.00',
'Billing Name and Address',
'Vancouver, BC 1321312',
'Visa',
'***********1111',
- 'Expires: May 2025',
]);
}
$mut->checkMailLog([
'Dear Anthony,',
'Below you will find a receipt for this payment.',
- 'Total Fee: $100.00',
- 'This Payment Amount: $50.00',
- 'Balance Owed: $20.00 ',
- 'Paid By: Check',
- 'Check Number: check-12345',
+ 'Total Fee',
+ '$100.00',
+ 'This Payment Amount',
+ '$50.00',
+ 'Balance Owed',
+ '$20.00',
+ 'Paid By',
+ 'Check',
+ 'Check Number',
+ 'check-12345',
],
[
'Billing Name and Address',
$mut->checkMailLog([
'Below you will find a receipt for this payment.',
- 'Total Fee: $100.00',
- 'This Payment Amount: $100.00',
- 'Paid By: Credit Card',
+ 'Total Fee',
+ '$100.00',
+ 'This Payment Amount',
+ '$100.00',
+ 'Paid By',
+ 'Credit Card',
'***********1111',
'Billing Name and Address',
'Vancouver, BC 1321312',
- 'Expires: May 2025',
-
]);
$mut->stop();
$mut->clearMessages();
$mut->checkMailLog([
'From: "FIXME" <info@EXAMPLE.ORG>',
'Dear Anthony,',
- 'Total Fee: $300.00',
- 'This Payment Amount: $50.00',
+ 'Total Fee',
+ '$300.00',
+ 'This Payment Amount',
+ '$50.00',
//150 was paid in the 1st payment.
- 'Balance Owed: $100.00',
+ 'Balance Owed',
+ '$100.00',
'Event Information and Location',
- 'Paid By: Check',
- 'Check Number: 345',
- 'Transaction Date: August 13th, 2018 5:57 PM',
+ 'Paid By',
+ 'Check',
+ 'Check Number',
+ '345',
+ 'Transaction Date',
+ 'August 13th, 2018 5:57 PM',
'event place',
'streety street',
]);
'From: "FIXME" <info@EXAMPLE.ORG>',
'Dear Anthony,',
'Below you will find a receipt for this payment.',
- 'Total Fee: $300.00',
- 'Total Paid: $300.00',
- 'This Payment Amount: $150.00',
- 'Thank you for completing this payment.',
+ 'Total Fee',
+ '$300.00',
+ 'Total Paid', '
+ $300.00',
+ 'This Payment Amount',
+ '$150.00',
+ 'Thank you for completing this contribution.',
]);
}
$mut->checkMailLog([
'Dear Anthony,',
'A refund has been issued based on changes in your registration selections.',
- 'Total Fee: $300' . $decimalSeparator . '00',
- 'Refund Amount: -$30' . $decimalSeparator . '00',
+ 'Total Fee',
+ '$300' . $decimalSeparator . '00',
+ 'Refund Amount',
+ '-$30' . $decimalSeparator . '00',
'Event Information and Location',
- 'Paid By: Check',
- 'Transaction Date: November 13th, 2018 12:01 PM',
- 'Total Paid: $170' . $decimalSeparator . '00',
+ 'Paid By',
+ 'Check',
+ 'Transaction Date',
+ 'November 13th, 2018 12:01 PM',
+ 'Total Paid',
+ '$170' . $decimalSeparator . '00',
]);
}
-{if $emailGreeting}{$emailGreeting},
-{/if}
-
-{if $isRefund}
-{ts}A refund has been issued based on changes in your registration selections.{/ts}
-{else}
-{ts}Below you will find a receipt for this payment.{/ts}
-{/if}
-{if $paymentsComplete}
-{ts}Thank you for completing this payment.{/ts}
-{/if}
-
-{if $isRefund}
-===============================================================================
-
-{ts}Refund Details{/ts}
-
-===============================================================================
-{ts}This Refund Amount{/ts}: {$refundAmount|crmMoney:$currency}
-------------------------------------------------------------------------------------
-
-{else}
-===============================================================================
-
-{ts}Payment Details{/ts}
-
-===============================================================================
-{ts}This Payment Amount{/ts}: {$paymentAmount|crmMoney:$currency}
-------------------------------------------------------------------------------------
-{/if}
-{if $receive_date}
-{ts}Transaction Date{/ts}: {$receive_date|crmDate}
-{/if}
-{if !empty($trxn_id)}
-{ts}Transaction #{/ts}: {$trxn_id}
-{/if}
-{if !empty($paidBy)}
-{ts}Paid By{/ts}: {$paidBy}
-{/if}
-{if !empty($checkNumber)}
-{ts}Check Number{/ts}: {$checkNumber}
-{/if}
-
-===============================================================================
-
-{ts}Contribution Details{/ts}
-
-===============================================================================
-{if $totalAmount}
-{ts}Total Fee{/ts}: {$totalAmount|crmMoney:$currency}
-{/if}
-{if $totalPaid}
-{ts}Total Paid{/ts}: {$totalPaid|crmMoney:$currency}
-{/if}
-{if $amountOwed}
-{ts}Balance Owed{/ts}: {$amountOwed|crmMoney:$currency} {* This will be zero after final payment. *}
-{/if}
-
-
-{if !empty($billingName) || !empty($address)}
-
-===============================================================================
-
-{ts}Billing Name and Address{/ts}
-
-===============================================================================
-{if !empty($billingName)}
-{$billingName}
-{/if}
-{if !empty($address)}
-{$address}
-{/if}
-{/if}
-
-{if !empty($credit_card_number)}
-===========================================================
-{ts}Credit Card Information{/ts}
-
-===============================================================================
-
-{$credit_card_type}
-{$credit_card_number}
-{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate}
-{/if}
-{if $component eq 'event'}
-===============================================================================
-
-{ts}Event Information and Location{/ts}
-
-===============================================================================
-
-{$event.event_title}
-{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|crmDate:"%Y%m%d" == $event.event_start_date|crmDate:"%Y%m%d"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}
-
-{if !empty($event.participant_role)}
-{ts}Participant Role{/ts}: {$event.participant_role}
-{/if}
-
-{if !empty($isShowLocation)}
-{$location.address.1.display|strip_tags:false}
-{/if}{*End of isShowLocation condition*}
-
-{if !empty($location.phone.1.phone) || !empty($location.email.1.email)}
-
-{ts}Event Contacts:{/ts}
-{foreach from=$location.phone item=phone}
-{if $phone.phone}
-
-{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}
-{/foreach}
-{foreach from=$location.email item=eventEmail}
-{if $eventEmail.email}
-
-{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}
-{/if}
-{/if}