[REF][PHP8.1] Replace usage of the date_format modifer with crmDate to resolve issues...
[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}
141c8460 34{if !empty($trxn_id)}
7cdb890a
PJ
35{ts}Transaction #{/ts}: {$trxn_id}
36{/if}
141c8460 37{if !empty($paidBy)}
7cdb890a
PJ
38{ts}Paid By{/ts}: {$paidBy}
39{/if}
141c8460 40{if !empty($checkNumber)}
7cdb890a
PJ
41{ts}Check Number{/ts}: {$checkNumber}
42{/if}
cb342529 43
44===============================================================================
45
46{ts}Contribution Details{/ts}
47
48===============================================================================
6d365b1e 49{if $totalAmount}
1f6479af 50{ts}Total Fee{/ts}: {$totalAmount|crmMoney}
141c8460 51{/if}
6d365b1e 52{if $totalPaid}
1f6479af 53{ts}Total Paid{/ts}: {$totalPaid|crmMoney}
141c8460 54{/if}
6d365b1e 55{if $amountOwed}
cb342529 56{ts}Balance Owed{/ts}: {$amountOwed|crmMoney} {* This will be zero after final payment. *}
141c8460 57{/if}
cb342529 58
59
141c8460 60{if !empty($billingName) || !empty($address)}
7cdb890a
PJ
61
62===============================================================================
63
64{ts}Billing Name and Address{/ts}
65
66===============================================================================
141c8460 67{if !empty($billingName)}
7cdb890a 68{$billingName}
141c8460
SL
69{/if}
70{if !empty($address)}
7cdb890a
PJ
71{$address}
72{/if}
141c8460 73{/if}
7cdb890a 74
141c8460 75{if !empty($credit_card_number)}
7cdb890a
PJ
76===========================================================
77{ts}Credit Card Information{/ts}
78
79===============================================================================
80
81{$credit_card_type}
82{$credit_card_number}
83{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate}
84{/if}
7cdb890a
PJ
85{if $component eq 'event'}
86===============================================================================
87
88{ts}Event Information and Location{/ts}
89
90===============================================================================
91
92{$event.event_title}
970cdb44 93{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|crmDate:"%Y%m%d" == $event.event_start_date|crmDate:"%Y%m%d"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}
7cdb890a 94
141c8460 95{if !empty($event.participant_role)}
7cdb890a
PJ
96{ts}Participant Role{/ts}: {$event.participant_role}
97{/if}
98
141c8460 99{if !empty($isShowLocation)}
060625d6 100{$location.address.1.display|strip_tags:false}
7cdb890a
PJ
101{/if}{*End of isShowLocation condition*}
102
141c8460 103{if !empty($location.phone.1.phone) || !empty($location.email.1.email)}
7cdb890a
PJ
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}
820fbcfb 116{/if}