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