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