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} | |
bdf8d7dd | 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} {$event.event_tz} |
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 TO |
92 | {capture assign=icalFeed}{crmURL p='civicrm/event/ical' q="reset=1&id=`$event.id`" h=0 a=1 fe=1}{/capture} |
93 | {ts}Download iCalendar File:{/ts} {$icalFeed} | |
4de4dbe9 | 94 | {/if} |
6a488035 | 95 | |
ff708ff0 | 96 | {if !empty($payer.name)} |
6a488035 TO |
97 | You were registered by: {$payer.name} |
98 | {/if} | |
ff708ff0 | 99 | {if !empty($event.is_monetary) and empty($isRequireApproval)} {* This section for Paid events only.*} |
6a488035 | 100 | |
ff708ff0 | 101 | ==========================================================={if !empty($pricesetFieldsCount)}===================={/if} |
6a488035 | 102 | |
ff708ff0 SL |
103 | {if !empty ($event.fee_label)}{$event.fee_label}{/if} |
104 | ==========================================================={if !empty($pricesetFieldsCount)}===================={/if} | |
6a488035 | 105 | |
ff708ff0 | 106 | {if !empty($lineItem)}{foreach from=$lineItem item=value key=priceset} |
6a488035 TO |
107 | |
108 | {if $value neq 'skip'} | |
a221e1e0 | 109 | {if !empty($isPrimary)} |
6a488035 | 110 | {if $lineItem|@count GT 1} {* Header for multi participant registration cases. *} |
ee1412dd | 111 | {ts 1=$priceset+1}Participant %1{/ts} {if !empty($part.$priceset)}{$part.$priceset.info}{/if} |
6a488035 TO |
112 | |
113 | {/if} | |
114 | {/if} | |
ff708ff0 | 115 | -----------------------------------------------------------{if !empty($pricesetFieldsCount)}-----------------------------------------------------{/if} |
6a488035 TO |
116 | |
117 | {capture assign=ts_item}{ts}Item{/ts}{/capture} | |
118 | {capture assign=ts_qty}{ts}Qty{/ts}{/capture} | |
119 | {capture assign=ts_each}{ts}Each{/ts}{/capture} | |
ff708ff0 | 120 | {if !empty($dataArray)} |
79d001a2 PB |
121 | {capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture} |
122 | {capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture} | |
123 | {capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture} | |
124 | {/if} | |
6a488035 | 125 | {capture assign=ts_total}{ts}Total{/ts}{/capture} |
ff708ff0 SL |
126 | {if !empty($pricesetFieldsCount) }{capture assign=ts_participant_total}{ts}Total Participants{/ts}{/capture}{/if} |
127 | {$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} | |
128 | -----------------------------------------------------------{if !empty($pricesetFieldsCount)}-----------------------------------------------------{/if} | |
6a488035 TO |
129 | |
130 | {foreach from=$value item=line} | |
ff708ff0 | 131 | {if !empty($pricesetFieldsCount) }{capture assign=ts_participant_count}{$line.participant_count}{/capture}{/if} |
5b949c7d | 132 | {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 | 133 | {/foreach} |
75b065ce | 134 | ---------------------------------------------------------------------------------------------------------------- |
ff708ff0 | 135 | {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 | 136 | {/if} |
75b065ce | 137 | {""|string_format:"%120s"} |
6a488035 | 138 | {/foreach} |
75b065ce | 139 | {""|string_format:"%120s"} |
79d001a2 | 140 | |
ff708ff0 | 141 | {if !empty($dataArray)} |
141c8460 | 142 | {if isset($totalAmount) and isset($totalTaxAmount)} |
79d001a2 | 143 | {ts}Amount before Tax{/ts}: {$totalAmount-$totalTaxAmount|crmMoney:$currency} |
141c8460 | 144 | {/if} |
79d001a2 PB |
145 | |
146 | {foreach from=$dataArray item=value key=priceset} | |
7cf82823 | 147 | {if $priceset || $priceset == 0} |
42b37f89 | 148 | {$taxTerm} {$priceset|string_format:"%.2f"}%: {$value|crmMoney:$currency} |
7cf82823 | 149 | {else} |
42b37f89 | 150 | {ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency} |
6a488035 TO |
151 | {/if} |
152 | {/foreach} | |
153 | {/if} | |
79d001a2 PB |
154 | {/if} |
155 | ||
ff708ff0 | 156 | {if !empty($amounts) && empty($lineItem)} |
6a488035 TO |
157 | {foreach from=$amounts item=amnt key=level}{$amnt.amount|crmMoney:$currency} {$amnt.label} |
158 | {/foreach} | |
159 | {/if} | |
79d001a2 | 160 | |
ff708ff0 | 161 | {if isset($totalTaxAmount)} |
79d001a2 PB |
162 | {ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency} |
163 | {/if} | |
ff708ff0 | 164 | {if !empty($isPrimary) } |
6a488035 | 165 | |
ff708ff0 | 166 | {ts}Total Amount{/ts}: {if !empty($totalAmount)}{$totalAmount|crmMoney:$currency}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if} |
6a488035 | 167 | |
ff708ff0 | 168 | {if !empty($pricesetFieldsCount) } |
6a488035 TO |
169 | {assign var="count" value= 0} |
170 | {foreach from=$lineItem item=pcount} | |
171 | {assign var="lineItemCount" value=0} | |
172 | {if $pcount neq 'skip'} | |
173 | {foreach from=$pcount item=p_count} | |
174 | {assign var="lineItemCount" value=$lineItemCount+$p_count.participant_count} | |
175 | {/foreach} | |
176 | {if $lineItemCount < 1 } | |
177 | {assign var="lineItemCount" value=1} | |
a235e13c | 178 | {/if} |
6a488035 TO |
179 | {assign var="count" value=$count+$lineItemCount} |
180 | {/if} | |
181 | {/foreach} | |
182 | ||
183 | {ts}Total Participants{/ts}: {$count} | |
184 | {/if} | |
a235e13c | 185 | |
6a488035 TO |
186 | {if $register_date} |
187 | {ts}Registration Date{/ts}: {$register_date|crmDate} | |
188 | {/if} | |
ff708ff0 | 189 | {if !empty($receive_date)} |
6a488035 TO |
190 | {ts}Transaction Date{/ts}: {$receive_date|crmDate} |
191 | {/if} | |
ff708ff0 | 192 | {if !empty($financialTypeName)} |
b956b310 | 193 | {ts}Financial Type{/ts}: {$financialTypeName} |
6a488035 | 194 | {/if} |
ff708ff0 | 195 | {if !empty($trxn_id)} |
6a488035 TO |
196 | {ts}Transaction #{/ts}: {$trxn_id} |
197 | {/if} | |
ff708ff0 | 198 | {if !empty($paidBy)} |
6a488035 TO |
199 | {ts}Paid By{/ts}: {$paidBy} |
200 | {/if} | |
ff708ff0 | 201 | {if !empty($checkNumber)} |
6a488035 TO |
202 | {ts}Check Number{/ts}: {$checkNumber} |
203 | {/if} | |
ff708ff0 | 204 | {if !empty($billingName)} |
6a488035 | 205 | |
ff708ff0 | 206 | ==========================================================={if !empty($pricesetFieldsCount)}===================={/if} |
6a488035 TO |
207 | |
208 | {ts}Billing Name and Address{/ts} | |
209 | ||
ff708ff0 | 210 | ==========================================================={if !empty($pricesetFieldsCount)}===================={/if} |
6a488035 TO |
211 | |
212 | {$billingName} | |
213 | {$address} | |
214 | {/if} | |
215 | ||
ff708ff0 SL |
216 | {if !empty($credit_card_type)} |
217 | ==========================================================={if !empty($pricesetFieldsCount)}===================={/if} | |
6a488035 TO |
218 | |
219 | {ts}Credit Card Information{/ts} | |
220 | ||
ff708ff0 | 221 | ==========================================================={if !empty($pricesetFieldsCount)}===================={/if} |
6a488035 TO |
222 | |
223 | {$credit_card_type} | |
224 | {$credit_card_number} | |
225 | {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate} | |
226 | {/if} | |
227 | {/if} | |
228 | {/if} {* End of conditional section for Paid events *} | |
229 | ||
ff708ff0 | 230 | {if !empty($customPre)} |
6a488035 | 231 | {foreach from=$customPre item=customPr key=i} |
ff708ff0 | 232 | ==========================================================={if !empty($pricesetFieldsCount)}===================={/if} |
6a488035 TO |
233 | |
234 | {$customPre_grouptitle.$i} | |
ff708ff0 | 235 | ==========================================================={if !empty($pricesetFieldsCount)}===================={/if} |
6a488035 TO |
236 | |
237 | {foreach from=$customPr item=customValue key=customName} | |
ff708ff0 | 238 | {if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)} |
6a488035 TO |
239 | {$customName}: {$customValue} |
240 | {/if} | |
241 | {/foreach} | |
242 | {/foreach} | |
243 | {/if} | |
244 | ||
ff708ff0 | 245 | {if !empty($customPost)} |
6a488035 | 246 | {foreach from=$customPost item=customPos key=j} |
ff708ff0 | 247 | ==========================================================={if !empty($pricesetFieldsCount)}===================={/if} |
6a488035 | 248 | |
a235e13c | 249 | {$customPost_grouptitle.$j} |
ff708ff0 | 250 | ==========================================================={if !empty($pricesetFieldsCount)}===================={/if} |
6a488035 TO |
251 | |
252 | {foreach from=$customPos item=customValue key=customName} | |
ff708ff0 | 253 | {if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)} |
6a488035 TO |
254 | {$customName}: {$customValue} |
255 | {/if} | |
256 | {/foreach} | |
257 | {/foreach} | |
258 | {/if} | |
ff708ff0 | 259 | {if !empty($customProfile)} |
6a488035 TO |
260 | |
261 | {foreach from=$customProfile.profile item=eachParticipant key=participantID} | |
ff708ff0 | 262 | ==========================================================={if !empty($pricesetFieldsCount)}===================={/if} |
6a488035 TO |
263 | |
264 | {ts 1=$participantID+2}Participant Information - Participant %1{/ts} | |
265 | ||
ff708ff0 | 266 | ==========================================================={if !empty($pricesetFieldsCount)}===================={/if} |
6a488035 TO |
267 | |
268 | {foreach from=$eachParticipant item=eachProfile key=pid} | |
ff708ff0 | 269 | ----------------------------------------------------------{if !empty($pricesetFieldsCount)}--------------------{/if} |
6a488035 TO |
270 | |
271 | {$customProfile.title.$pid} | |
ff708ff0 | 272 | ----------------------------------------------------------{if !empty($pricesetFieldsCount)}--------------------{/if} |
6a488035 TO |
273 | |
274 | {foreach from=$eachProfile item=val key=field} | |
275 | {foreach from=$val item=v key=f} | |
276 | {$field}: {$v} | |
277 | {/foreach} | |
278 | {/foreach} | |
279 | {/foreach} | |
280 | {/foreach} | |
281 | {/if} | |
e3b510fe | 282 | |
ff708ff0 SL |
283 | {if !empty($event.allow_selfcancelxfer) } |
284 | {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 | 285 | {capture assign=selfService}{crmURL p='civicrm/event/selfsvcupdate' q="reset=1&pid=`$participant.id`&{contact.checksum}" h=0 a=1 fe=1}{/capture} |
adaa01fa | 286 | {ts}Transfer or cancel your registration:{/ts} {$selfService} |
97d8187a | 287 | {/if} |