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