Ian province abbreviation patch - issue 724
[civicrm-core.git] / xml / templates / message_templates / payment_or_refund_notification_text.tpl
1 Dear {$contactDisplayName}
2 {if $paymentConfig.confirm_email_text}
3 {$paymentConfig.confirm_email_text}
4 {elseif $isRefund}
5 {ts}A refund has been issued based on changes in your registration selections.{/ts}
6 {else}
7 {ts}A payment has been received.{/ts}
8 {/if}
9
10 {ts}Please print this confirmation for your records.{/ts}
11
12 {if $isRefund}
13 ===============================================================================
14
15 {ts}Refund Details{/ts}
16
17 ===============================================================================
18 {ts}Total Fees{/ts}: {$totalAmount|crmMoney}
19 {ts}You Paid{/ts}: {$totalPaid|crmMoney}
20 ------------------------------------------------------------------------------------
21 {ts}Refund Amount{/ts}: {$refundAmount|crmMoney}
22
23 {else}
24 ===============================================================================
25
26 {ts}Payment Details{/ts}
27
28 ===============================================================================
29 {ts}Total Fees{/ts}: {$totalAmount|crmMoney}
30 {ts}This Payment Amount{/ts}: {$paymentAmount|crmMoney}
31 ------------------------------------------------------------------------------------
32 {ts}Balance Owed{/ts}: {$amountOwed|crmMoney} {* This will be zero after final payment. *}
33
34 {if $paymentsComplete}
35
36 {ts}Thank-you. This completes your payment for {/ts}{if $component eq 'event'}{$event.event_title}{/if}.
37 {/if}
38 {/if}
39 {if $receive_date}
40 {ts}Transaction Date{/ts}: {$receive_date|crmDate}
41 {/if}
42 {if $trxn_id}
43 {ts}Transaction #{/ts}: {$trxn_id}
44 {/if}
45 {if $paidBy}
46 {ts}Paid By{/ts}: {$paidBy}
47 {/if}
48 {if $checkNumber}
49 {ts}Check Number{/ts}: {$checkNumber}
50 {/if}
51 {if $contributeMode eq 'direct' and !$isAmountzero}
52
53 ===============================================================================
54
55 {ts}Billing Name and Address{/ts}
56
57 ===============================================================================
58
59 {$billingName}
60 {$address}
61 {/if}
62
63 {if $contributeMode eq 'direct' and !$isAmountzero}
64 ===========================================================
65 {ts}Credit Card Information{/ts}
66
67 ===============================================================================
68
69 {$credit_card_type}
70 {$credit_card_number}
71 {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate}
72 {/if}
73 {if $component eq 'event'}
74 ===============================================================================
75
76 {ts}Event Information and Location{/ts}
77
78 ===============================================================================
79
80 {$event.event_title}
81 {$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}
82
83 {if $event.participant_role neq 'Attendee' and $defaultRole}
84 {ts}Participant Role{/ts}: {$event.participant_role}
85 {/if}
86
87 {if $isShowLocation}
88 {if $location.address.1.name}
89
90 {$location.address.1.name}
91 {/if}
92 {if $location.address.1.street_address}{$location.address.1.street_address}
93 {/if}
94 {if $location.address.1.supplemental_address_1}{$location.address.1.supplemental_address_1}
95 {/if}
96 {if $location.address.1.supplemental_address_2}{$location.address.1.supplemental_address_2}
97 {/if}
98 {if $location.address.1.city}{$location.address.1.city} {$location.address.1.postal_code}{if $location.address.1.postal_code_suffix} - {$location.address.1.postal_code_suffix}{/if}
99 {/if}
100
101 {/if}{*End of isShowLocation condition*}
102
103 {if $location.phone.1.phone || $location.email.1.email}
104
105 {ts}Event Contacts:{/ts}
106 {foreach from=$location.phone item=phone}
107 {if $phone.phone}
108
109 {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}
110 {/foreach}
111 {foreach from=$location.email item=eventEmail}
112 {if $eventEmail.email}
113
114 {ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}
115 {/if}
116 {/if}