Merge pull request #16359 from jensschuppe/dev_core_1547
[civicrm-core.git] / xml / templates / message_templates / payment_or_refund_notification_text.tpl
1 {if $emailGreeting}{$emailGreeting},
2 {/if}
3
4 {if $isRefund}
5 {ts}A refund has been issued based on changes in your registration selections.{/ts}
6 {else}
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}
11 {/if}
12
13 {if $isRefund}
14 ===============================================================================
15
16 {ts}Refund Details{/ts}
17
18 ===============================================================================
19 {ts}This Refund Amount{/ts}: {$refundAmount|crmMoney}
20 ------------------------------------------------------------------------------------
21
22 {else}
23 ===============================================================================
24
25 {ts}Payment Details{/ts}
26
27 ===============================================================================
28 {ts}This Payment Amount{/ts}: {$paymentAmount|crmMoney}
29 ------------------------------------------------------------------------------------
30 {/if}
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}
43
44 ===============================================================================
45
46 {ts}Contribution Details{/ts}
47
48 ===============================================================================
49 {ts}Total Fee{/ts}: {$totalAmount|crmMoney}
50 {ts}Total Paid{/ts}: {$totalPaid|crmMoney}
51 {ts}Balance Owed{/ts}: {$amountOwed|crmMoney} {* This will be zero after final payment. *}
52
53
54 {if $billingName || $address}
55
56 ===============================================================================
57
58 {ts}Billing Name and Address{/ts}
59
60 ===============================================================================
61
62 {$billingName}
63 {$address}
64 {/if}
65
66 {if $credit_card_number}
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}
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
86 {if $event.participant_role}
87 {ts}Participant Role{/ts}: {$event.participant_role}
88 {/if}
89
90 {if $isShowLocation}
91 {$location.address.1.display|strip_tags:false}
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}
107 {/if}