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