Merge pull request #10080 from agileware/CRM-20360
[civicrm-core.git] / xml / templates / message_templates / event_registration_receipt_text.tpl
CommitLineData
6a488035
TO
1Dear {contact.display_name},
2{if $is_pay_later}
3 This is being sent to you as an acknowledgement that you have registered one or more members for the following workshop, event or purchase. Please note, however, that the status of your payment is pending, and the registration for this event will not be completed until your payment is received.
4{else}
5 This is being sent to you as a {if $is_refund}confirmation of refund{else}receipt of payment made{/if} for the following workshop, event registration or purchase.
6{/if}
7
8{if $is_pay_later}
9 {$pay_later_receipt}
10{/if}
11
011aeb62 12 Your order number is #{$transaction_id}. Please print this confirmation for your records.{if $line_items && !$is_refund} Information about the workshops will be sent separately to each participant.{/if}
6a488035
TO
13 Here's a summary of your transaction placed on {$transaction_date|date_format:"%D %I:%M %p %Z"}:
14
15{if $billing_name}
16===========================================================
17{ts}Billing Name and Address{/ts}
18
19===========================================================
20{$billing_name}
21
22{$billing_street_address}
23
24{$billing_city}, {$billing_state} {$billing_postal_code}
25
26{$email}
27{/if}
28
29{if $source}
30{$source}
31{/if}
32
33
34{foreach from=$line_items item=line_item}
35{$line_item.event->title} ({$line_item.event->start_date|date_format:"%D"})
36{if $line_item.event->is_show_location}
060625d6 37 {$line_item.location.address.1.display|strip_tags:false}
6a488035
TO
38{/if}{*End of isShowLocation condition*}
39{$line_item.event->start_date|date_format:"%D %I:%M %p"} - {$line_item.event->end_date|date_format:"%I:%M %p"}
40
41 Quantity: {$line_item.num_participants}
42
43{if $line_item.num_participants > 0}
44 {foreach from=$line_item.participants item=participant}
45 {$participant.display_name}
46 {/foreach}
47{/if}
48{if $line_item.num_waiting_participants > 0}
49 Waitlisted:
50 {foreach from=$line_item.waiting_participants item=participant}
51 {$participant.display_name}
52 {/foreach}
53{/if}
54Cost: {$line_item.cost|crmMoney:$currency|string_format:"%10s"}
55Total For This Event: {$line_item.amount|crmMoney:$currency|string_format:"%10s"}
56
57{/foreach}
58
59{if $discounts}
60Subtotal: {$sub_total|crmMoney:$currency|string_format:"%10s"}
61--------------------------------------
62Discounts
63{foreach from=$discounts key=myId item=i}
64 {$i.title}: -{$i.amount|crmMoney:$currency|string_format:"%10s"}
65{/foreach}
66{/if}
67======================================
68Total: {$total|crmMoney:$currency|string_format:"%10s"}
69
70{if $credit_card_type}
71===========================================================
72{ts}Payment Information{/ts}
73
74===========================================================
75{$credit_card_type}
76{$credit_card_number}
77{ts}Expires{/ts}: {$credit_card_exp_date.M}/{$credit_card_exp_date.Y}
78{/if}
79
80 If you have questions about the status of your registration or purchase please feel free to contact us.