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