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