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