Commit | Line | Data |
---|---|---|
cf612441 PB |
1 | Dear {contact.display_name}, |
2 | ||
3 | {if $event.confirm_email_text AND (not $isOnWaitlist AND not $isRequireApproval)} | |
4 | {$event.confirm_email_text} | |
5 | ||
6 | {else} | |
7 | Thank you for your participation. This letter is a confirmation that your registration has been received and your status has been updated to {if $participant_status}{$participant_status}{else}{if $isOnWaitlist}waitlisted{else}registered{/if}{/if}. | |
8 | ||
9 | {/if} | |
10 | ||
11 | {if $isOnWaitlist} | |
12 | ==========================================================={if $pricesetFieldsCount }===================={/if} | |
13 | ||
14 | {ts}You have been added to the WAIT LIST for this event.{/ts} | |
15 | ||
16 | {if $isPrimary} | |
17 | {ts}If space becomes available you will receive an email with | |
18 | a link to a web page where you can complete your registration.{/ts} | |
19 | {/if} | |
20 | ==========================================================={if $pricesetFieldsCount }===================={/if} | |
21 | ||
22 | {elseif $isRequireApproval} | |
23 | ==========================================================={if $pricesetFieldsCount }===================={/if} | |
24 | ||
25 | {ts}Your registration has been submitted.{/ts} | |
26 | ||
27 | {if $isPrimary} | |
28 | {ts}Once your registration has been reviewed, you will receive | |
29 | an email with a link to a web page where you can complete the | |
30 | registration process.{/ts} | |
31 | ||
32 | {/if} | |
33 | ==========================================================={if $pricesetFieldsCount }===================={/if} | |
34 | ||
35 | {elseif $is_pay_later && !$isAmountzero && !$isAdditionalParticipant} | |
36 | ||
37 | ==========================================================={if $pricesetFieldsCount }===================={/if} | |
38 | ||
39 | {$pay_later_receipt} | |
40 | ==========================================================={if $pricesetFieldsCount }===================={/if} | |
41 | ||
42 | {else} | |
43 | ||
44 | {ts}Please print this confirmation for your records.{/ts} | |
45 | {/if} | |
46 | ||
47 | ||
48 | ==========================================================={if $pricesetFieldsCount }===================={/if} | |
49 | ||
50 | {ts}Event Information and Location{/ts} | |
51 | ||
52 | ==========================================================={if $pricesetFieldsCount }===================={/if} | |
53 | ||
54 | {$event.event_title} | |
55 | {$event.event_start_date|date_format:"%A"} {$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|date_format:"%A"} {$event.event_end_date|crmDate}{/if}{/if} | |
56 | {if $conference_sessions} | |
57 | ||
58 | ||
59 | {ts}Your schedule:{/ts} | |
60 | {assign var='group_by_day' value='NA'} | |
61 | {foreach from=$conference_sessions item=session} | |
62 | {if $session.start_date|date_format:"%Y/%m/%d" != $group_by_day|date_format:"%Y/%m/%d"} | |
63 | {assign var='group_by_day' value=$session.start_date} | |
64 | ||
65 | {$group_by_day|date_format:"%m/%d/%Y"} | |
66 | ||
67 | ||
68 | {/if} | |
69 | {$session.start_date|crmDate:0:1}{if $session.end_date}-{$session.end_date|crmDate:0:1}{/if} {$session.title} | |
70 | {if $session.location} {$session.location}{/if} | |
71 | {/foreach} | |
72 | {/if} | |
73 | ||
74 | {if $event.participant_role neq 'Attendee' and $defaultRole} | |
75 | {ts}Participant Role{/ts}: {$event.participant_role} | |
76 | {/if} | |
77 | ||
78 | {if $isShowLocation} | |
79 | {if $location.address.1.name} | |
80 | ||
81 | {$location.address.1.name} | |
82 | {/if} | |
83 | {if $location.address.1.street_address}{$location.address.1.street_address} | |
84 | {/if} | |
85 | {if $location.address.1.supplemental_address_1}{$location.address.1.supplemental_address_1} | |
86 | {/if} | |
87 | {if $location.address.1.supplemental_address_2}{$location.address.1.supplemental_address_2} | |
88 | {/if} | |
89 | {if $location.address.1.city}{$location.address.1.city}, {$location.address.1.state_province} {$location.address.1.postal_code}{if $location.address.1.postal_code_suffix} - {$location.address.1.postal_code_suffix}{/if} | |
90 | {/if} | |
91 | ||
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 | ||
108 | {if $event.is_public} | |
109 | {capture assign=icalFeed}{crmURL p='civicrm/event/ical' q="reset=1&id=`$event.id`" h=0 a=1 fe=1}{/capture} | |
110 | {ts}Download iCalendar File:{/ts} {$icalFeed} | |
111 | {/if} | |
112 | ||
113 | {if $payer.name} | |
114 | You were registered by: {$payer.name} | |
115 | {/if} | |
116 | {if $event.is_monetary} {* This section for Paid events only.*} | |
117 | ||
118 | ==========================================================={if $pricesetFieldsCount }===================={/if} | |
119 | ||
120 | {$event.fee_label} | |
121 | ==========================================================={if $pricesetFieldsCount }===================={/if} | |
122 | ||
123 | {if $lineItem}{foreach from=$lineItem item=value key=priceset} | |
124 | ||
125 | {if $value neq 'skip'} | |
126 | {if $isPrimary} | |
127 | {if $lineItem|@count GT 1} {* Header for multi participant registration cases. *} | |
128 | {ts 1=$priceset+1}Participant %1{/ts} {$part.$priceset.info} | |
129 | ||
130 | {/if} | |
131 | {/if} | |
132 | -----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if} | |
133 | ||
134 | {capture assign=ts_item}{ts}Item{/ts}{/capture} | |
135 | {capture assign=ts_qty}{ts}Qty{/ts}{/capture} | |
136 | {capture assign=ts_each}{ts}Each{/ts}{/capture} | |
137 | {if $dataArray} | |
138 | {capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture} | |
139 | {capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture} | |
140 | {capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture} | |
141 | {/if} | |
142 | {capture assign=ts_total}{ts}Total{/ts}{/capture} | |
143 | {if $pricesetFieldsCount }{capture assign=ts_participant_total}{ts}Total Participants{/ts}{/capture}{/if} | |
144 | {$ts_item|string_format:"%-30s"} {$ts_qty|string_format:"%5s"} {$ts_each|string_format:"%10s"} {if $dataArray} {$ts_subtotal|string_format:"%10s"} {$ts_taxRate|string_format:"%10s"} {$ts_taxAmount|string_format:"%10s"} {/if} {$ts_total|string_format:"%10s"} {$ts_participant_total|string_format:"%10s"} | |
145 | -----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if} | |
146 | ||
147 | {foreach from=$value item=line} | |
148 | {if $pricesetFieldsCount }{capture assign=ts_participant_count}{$line.participant_count}{/capture}{/if} | |
149 | {capture assign=ts_item}{if $line.html_type eq 'Text'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description} {$line.description}{/if}{/capture}{$ts_item|truncate:30:"..."|string_format:"%-30s"} {$line.qty|string_format:"%5s"} {$line.unit_price|crmMoney:$currency|string_format:"%10s"} {if $dataArray} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:"%10s"} {if $line.tax_rate != "" || $line.tax_amount != ""} {$line.tax_rate|string_format:"%.2f"} % {$line.tax_amount|crmMoney:$currency|string_format:"%10s"} {else} {/if} {/if} {$line.line_total+$line.tax_amount|crmMoney:$currency|string_format:"%10s"}{$ts_participant_count|string_format:"%10s"} | |
150 | {/foreach} | |
151 | {/if} | |
152 | {/foreach} | |
153 | ||
154 | {if $dataArray} | |
155 | {ts}Amount before Tax{/ts}: {$totalAmount-$totalTaxAmount|crmMoney:$currency} | |
156 | ||
157 | {foreach from=$dataArray item=value key=priceset} | |
158 | {if $priceset || $priceset == 0} | |
159 | {$taxTerm} {$priceset|string_format:"%.2f"}%: {$value|crmMoney:$currency} | |
160 | {else} | |
161 | {ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency} | |
162 | {/if} | |
163 | {/foreach} | |
164 | {/if} | |
165 | {/if} | |
166 | ||
167 | {if $amounts && !$lineItem} | |
168 | {foreach from=$amounts item=amnt key=level}{$amnt.amount|crmMoney:$currency} {$amnt.label} | |
169 | {/foreach} | |
170 | {/if} | |
171 | ||
172 | {if $totalTaxAmount} | |
173 | {ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency} | |
174 | {/if} | |
175 | {if $isPrimary } | |
176 | ||
177 | {ts}Total Amount{/ts}: {$totalAmount|crmMoney:$currency} {if $hookDiscount.message}({$hookDiscount.message}){/if} | |
178 | ||
179 | {if $pricesetFieldsCount } | |
180 | {assign var="count" value= 0} | |
181 | {foreach from=$lineItem item=pcount} | |
182 | {assign var="lineItemCount" value=0} | |
183 | {if $pcount neq 'skip'} | |
184 | {foreach from=$pcount item=p_count} | |
185 | {assign var="lineItemCount" value=$lineItemCount+$p_count.participant_count} | |
186 | {/foreach} | |
187 | {if $lineItemCount < 1 } | |
188 | {assign var="lineItemCount" value=1} | |
189 | {/if} | |
190 | {assign var="count" value=$count+$lineItemCount} | |
191 | {/if} | |
192 | {/foreach} | |
193 | ||
194 | {ts}Total Participants{/ts}: {$count} | |
195 | {/if} | |
196 | ||
197 | {if $register_date} | |
198 | {ts}Registration Date{/ts}: {$register_date|crmDate} | |
199 | {/if} | |
200 | {if $receive_date} | |
201 | {ts}Transaction Date{/ts}: {$receive_date|crmDate} | |
202 | {/if} | |
203 | {if $contributionTypeName} | |
204 | {ts}Financial Type{/ts}: {$contributionTypeName} | |
205 | {/if} | |
206 | {if $trxn_id} | |
207 | {ts}Transaction #{/ts}: {$trxn_id} | |
208 | {/if} | |
209 | {if $paidBy} | |
210 | {ts}Paid By{/ts}: {$paidBy} | |
211 | {/if} | |
212 | {if $checkNumber} | |
213 | {ts}Check Number{/ts}: {$checkNumber} | |
214 | {/if} | |
82b0700d | 215 | {if $contributeMode ne 'notify' and !$isAmountzero and (!$is_pay_later or $isBillingAddressRequiredForPayLater) and !$isOnWaitlist and !$isRequireApproval} |
cf612441 PB |
216 | |
217 | ==========================================================={if $pricesetFieldsCount }===================={/if} | |
218 | ||
219 | {ts}Billing Name and Address{/ts} | |
220 | ||
221 | ==========================================================={if $pricesetFieldsCount }===================={/if} | |
222 | ||
223 | {$billingName} | |
224 | {$address} | |
225 | {/if} | |
226 | ||
227 | {if $contributeMode eq 'direct' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval} | |
228 | ==========================================================={if $pricesetFieldsCount }===================={/if} | |
229 | ||
230 | {ts}Credit Card Information{/ts} | |
231 | ||
232 | ==========================================================={if $pricesetFieldsCount }===================={/if} | |
233 | ||
234 | {$credit_card_type} | |
235 | {$credit_card_number} | |
236 | {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate} | |
237 | {/if} | |
238 | {/if} | |
239 | {/if} {* End of conditional section for Paid events *} | |
240 | ||
241 | {if $customPre} | |
242 | {foreach from=$customPre item=customPr key=i} | |
243 | ==========================================================={if $pricesetFieldsCount }===================={/if} | |
244 | ||
245 | {$customPre_grouptitle.$i} | |
246 | ==========================================================={if $pricesetFieldsCount }===================={/if} | |
247 | ||
248 | {foreach from=$customPr item=customValue key=customName} | |
249 | {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields} | |
250 | {$customName}: {$customValue} | |
251 | {/if} | |
252 | {/foreach} | |
253 | {/foreach} | |
254 | {/if} | |
255 | ||
256 | {if $customPost} | |
257 | {foreach from=$customPost item=customPos key=j} | |
258 | ==========================================================={if $pricesetFieldsCount }===================={/if} | |
259 | ||
260 | {$customPost_grouptitle.$j} | |
261 | ==========================================================={if $pricesetFieldsCount }===================={/if} | |
262 | ||
263 | {foreach from=$customPos item=customValue key=customName} | |
264 | {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields} | |
265 | {$customName}: {$customValue} | |
266 | {/if} | |
267 | {/foreach} | |
268 | {/foreach} | |
269 | {/if} | |
270 | {if $customProfile} | |
271 | ||
272 | {foreach from=$customProfile.profile item=eachParticipant key=participantID} | |
273 | ==========================================================={if $pricesetFieldsCount }===================={/if} | |
274 | ||
275 | {ts 1=$participantID+2}Participant Information - Participant %1{/ts} | |
276 | ||
277 | ==========================================================={if $pricesetFieldsCount }===================={/if} | |
278 | ||
279 | {foreach from=$eachParticipant item=eachProfile key=pid} | |
280 | ----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if} | |
281 | ||
282 | {$customProfile.title.$pid} | |
283 | ----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if} | |
284 | ||
285 | {foreach from=$eachProfile item=val key=field} | |
286 | {foreach from=$val item=v key=f} | |
287 | {$field}: {$v} | |
288 | {/foreach} | |
289 | {/foreach} | |
290 | {/foreach} | |
291 | {/foreach} | |
292 | {/if} | |
293 | {if $customGroup} | |
294 | {foreach from=$customGroup item=value key=customName} | |
295 | =========================================================={if $pricesetFieldsCount }===================={/if} | |
296 | ||
297 | {$customName} | |
298 | =========================================================={if $pricesetFieldsCount }===================={/if} | |
299 | ||
300 | {foreach from=$value item=v key=n} | |
301 | {$n}: {$v} | |
302 | {/foreach} | |
303 | {/foreach} | |
304 | {/if} |