1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
9 {capture assign=headerStyle}colspan="2" style="text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;"{/capture}
10 {capture assign=labelStyle }style="padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;"{/capture}
11 {capture assign=valueStyle }style="padding: 4px; border-bottom: 1px solid #999;"{/capture}
14 <table width="620" border="0" cellpadding="0" cellspacing="0" id="crm-event_receipt" style="font-family: Arial, Verdana, sans-serif; text-align: left;">
17 <!-- You can add table row(s) here with logo or other header elements -->
20 <!-- BEGIN CONTENT -->
25 {if $event.confirm_email_text AND (not $isOnWaitlist AND not $isRequireApproval)}
26 <p>{$event.confirm_email_text|htmlize}</p>
30 <p>{ts}You have been added to the WAIT LIST for this event.{/ts}</p>
32 <p>{ts}If space becomes available you will receive an email with
33 a link to a web page where you can complete your registration.{/ts}</p>
35 {elseif $isRequireApproval}
36 <p>{ts}Your registration has been submitted.{/ts}</p>
38 <p>{ts}Once your registration has been reviewed, you will receive
39 an email with a link to a web page where you can complete the
40 registration process.{/ts}</p>
42 {elseif $is_pay_later}
43 <p>{$pay_later_receipt}</p> {* FIXME: this might be text rather than HTML *}
45 <p>{ts}Please print this confirmation for your records.{/ts}</p>
52 <table style="border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;">
55 {ts}Event Information and Location{/ts}
59 <td colspan="2" {$valueStyle}>
60 {$event.event_title}<br />
61 {$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}
65 {if $event.participant_role neq 'Attendee' and $defaultRole}
68 {ts}Participant Role{/ts}
71 {$event.participant_role}
78 <td colspan="2" {$valueStyle}>
79 {if $location.address.1.name}
80 {$location.address.1.name}<br />
82 {if $location.address.1.street_address}
83 {$location.address.1.street_address}<br />
85 {if $location.address.1.supplemental_address_1}
86 {$location.address.1.supplemental_address_1}<br />
88 {if $location.address.1.supplemental_address_2}
89 {$location.address.1.supplemental_address_2}<br />
91 {if $location.address.1.city}
92 {$location.address.1.city} {$location.address.1.postal_code}{if $location.address.1.postal_code_suffix} - {$location.address.1.postal_code_suffix}{/if}<br />
98 {if $location.phone.1.phone || $location.email.1.email}
100 <td colspan="2" {$labelStyle}>
101 {ts}Event Contacts:{/ts}
104 {foreach from=$location.phone item=phone}
108 {if $phone.phone_type}
109 {$phone.phone_type_display}
120 {foreach from=$location.email item=eventEmail}
121 {if $eventEmail.email}
134 <td colspan="2" {$valueStyle}>
135 {capture assign=icalFeed}{crmURL p='civicrm/event/ical' q="reset=1&id=`$event.id`" h=0 a=1 fe=1}{/capture}
136 <a href="{$icalFeed}">{ts}Download iCalendar File{/ts}</a>
142 {ts}Registered Email{/ts}
146 <td colspan="2" {$valueStyle}>
153 {if $event.is_monetary}
162 {foreach from=$lineItem item=value key=priceset}
163 {if $value neq 'skip'}
165 {if $lineItem|@count GT 1} {* Header for multi participant registration cases. *}
167 <td colspan="2" {$labelStyle}>
168 {ts 1=$priceset+1}Participant %1{/ts}
174 <td colspan="2" {$valueStyle}>
175 <table> {* FIXME: style this table so that it looks like the text version (justification, etc.) *}
177 <th>{ts}Item{/ts}</th>
178 <th>{ts}Qty{/ts}</th>
179 <th>{ts}Each{/ts}</th>
180 <th>{ts}Total{/ts}</th>
181 {if $pricesetFieldsCount }<th>{ts}Total Participants{/ts}</th>{/if}
183 {foreach from=$value item=line}
186 {if $line.html_type eq 'Text'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}<div>{$line.description|truncate:30:"..."}</div>{/if}
192 {$line.unit_price|crmMoney}
195 {$line.line_total|crmMoney}
197 {if $pricesetFieldsCount }
199 {$line.participant_count}
211 {if $amount && !$lineItem}
212 {foreach from=$amount item=amnt key=level}
214 <td colspan="2" {$valueStyle}>
215 {$amnt.amount|crmMoney} {$amnt.label}
223 {ts}Total Amount{/ts}
226 {$totalAmount|crmMoney} {if $hookDiscount.message}({$hookDiscount.message}){/if}
229 {if $pricesetFieldsCount }
232 {ts}Total Participants{/ts}</td>
234 {assign var="count" value= 0}
235 {foreach from=$lineItem item=pcount}
236 {assign var="lineItemCount" value=0}
237 {if $pcount neq 'skip'}
238 {foreach from=$pcount item=p_count}
239 {assign var="lineItemCount" value=$lineItemCount+$p_count.participant_count}
241 {if $lineItemCount < 1 }
242 assign var="lineItemCount" value=1}
244 {assign var="count" value=$count+$lineItemCount}
253 <td colspan="2" {$labelStyle}>
262 {ts}Registration Date{/ts}
265 {$register_date|crmDate}
273 {ts}Transaction Date{/ts}
276 {$receive_date|crmDate}
281 {if $contributionTypeName}
284 {ts}Financial Type{/ts}
287 {$contributionTypeName}
295 {ts}Transaction #{/ts}
317 {ts}Check Number{/ts}
325 {if $contributeMode ne 'notify' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval}
328 {ts}Billing Name and Address{/ts}
332 <td colspan="2" {$valueStyle}>
339 {if $contributeMode eq 'direct' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval}
342 {ts}Credit Card Information{/ts}
346 <td colspan="2" {$valueStyle}>
347 {$credit_card_type}<br />
348 {$credit_card_number}<br />
349 {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate}
356 {/if} {* End of conditional section for Paid events *}
361 {$customPre_grouptitle}
364 {foreach from=$customPre item=value key=customName}
365 {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}
381 {$customPost_grouptitle}
384 {foreach from=$customPost item=value key=customName}
385 {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}
399 {foreach from=$customProfile item=value key=customName}
402 {ts 1=$customName+1}Participant Information - Participant %1{/ts}
405 {foreach from=$value item=val key=field}
406 {if $field eq 'additionalCustomPre' or $field eq 'additionalCustomPost'}
408 <td colspan="2" {$labelStyle}>
409 {if $field eq 'additionalCustomPre'}
410 {$additionalCustomPre_grouptitle}
412 {$additionalCustomPost_grouptitle}
416 {foreach from=$val item=v key=f}
432 {foreach from=$customGroup item=value key=customName}
438 {foreach from=$value item=v key=n}