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