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