HTMLInputCoder - Add more variants for encoding arrays
[civicrm-core.git] / xml / templates / message_templates / payment_or_refund_notification_text.tpl
CommitLineData
1e477c5b 1{if $emailGreeting}{$emailGreeting},
56658066
AH
2{/if}
3
4{if $isRefund}
7cdb890a
PJ
5{ts}A refund has been issued based on changes in your registration selections.{/ts}
6{else}
cb342529 7{ts}Below you will find a receipt for this payment.{/ts}
8{/if}
9{if $paymentsComplete}
10{ts}Thank you for completing this payment.{/ts}
7cdb890a 11{/if}
7cdb890a 12
7cdb890a
PJ
13{if $isRefund}
14===============================================================================
15
16{ts}Refund Details{/ts}
17
18===============================================================================
cb342529 19{ts}This Refund Amount{/ts}: {$refundAmount|crmMoney}
7cdb890a 20------------------------------------------------------------------------------------
7cdb890a
PJ
21
22{else}
23===============================================================================
24
25{ts}Payment Details{/ts}
26
27===============================================================================
7cdb890a
PJ
28{ts}This Payment Amount{/ts}: {$paymentAmount|crmMoney}
29------------------------------------------------------------------------------------
84060348 30{/if}
7cdb890a
PJ
31{if $receive_date}
32{ts}Transaction Date{/ts}: {$receive_date|crmDate}
33{/if}
34{if $trxn_id}
35{ts}Transaction #{/ts}: {$trxn_id}
36{/if}
37{if $paidBy}
38{ts}Paid By{/ts}: {$paidBy}
39{/if}
40{if $checkNumber}
41{ts}Check Number{/ts}: {$checkNumber}
42{/if}
cb342529 43
44===============================================================================
45
46{ts}Contribution Details{/ts}
47
48===============================================================================
1f6479af 49{ts}Total Fee{/ts}: {$totalAmount|crmMoney}
50{ts}Total Paid{/ts}: {$totalPaid|crmMoney}
cb342529 51{ts}Balance Owed{/ts}: {$amountOwed|crmMoney} {* This will be zero after final payment. *}
52
53
1e477c5b 54{if $billingName || $address}
7cdb890a
PJ
55
56===============================================================================
57
58{ts}Billing Name and Address{/ts}
59
60===============================================================================
61
62{$billingName}
63{$address}
64{/if}
65
1e477c5b 66{if $credit_card_number}
7cdb890a
PJ
67===========================================================
68{ts}Credit Card Information{/ts}
69
70===============================================================================
71
72{$credit_card_type}
73{$credit_card_number}
74{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate}
75{/if}
7cdb890a
PJ
76{if $component eq 'event'}
77===============================================================================
78
79{ts}Event Information and Location{/ts}
80
81===============================================================================
82
83{$event.event_title}
84{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:"%Y%m%d" == $event.event_start_date|date_format:"%Y%m%d"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}
85
7324e717 86{if $event.participant_role}
7cdb890a
PJ
87{ts}Participant Role{/ts}: {$event.participant_role}
88{/if}
89
90{if $isShowLocation}
060625d6 91{$location.address.1.display|strip_tags:false}
7cdb890a
PJ
92{/if}{*End of isShowLocation condition*}
93
94{if $location.phone.1.phone || $location.email.1.email}
95
96{ts}Event Contacts:{/ts}
97{foreach from=$location.phone item=phone}
98{if $phone.phone}
99
100{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}
101{/foreach}
102{foreach from=$location.email item=eventEmail}
103{if $eventEmail.email}
104
105{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}
106{/if}
820fbcfb 107{/if}