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}</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}{/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>
182 {foreach from=$value item=line}
185 {$line.description|truncate:30:"..."}
191 {$line.unit_price|crmMoney}
194 {$line.line_total|crmMoney}
205 {if $amount && !$lineItem}
206 {foreach from=$amount item=amnt key=level}
208 <td colspan="2" {$valueStyle}>
209 {$amnt.amount|crmMoney} {$amnt.label}
218 {ts}Total Amount{/ts}
221 {$totalAmount|crmMoney} {if $hookDiscount.message}({$hookDiscount.message}){/if}
227 <td colspan="2" {$labelStyle}>
236 {ts}Registration Date{/ts}
239 {$register_date|crmDate}
247 {ts}Transaction Date{/ts}
250 {$receive_date|crmDate}
255 {if $contributionTypeName}
258 {ts}Contribution Type{/ts}
261 {$contributionTypeName}
269 {ts}Transaction #{/ts}
291 {ts}Check Number{/ts}
299 {if $contributeMode ne 'notify' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval}
302 {ts}Billing Name and Address{/ts}
306 <td colspan="2" {$valueStyle}>
313 {if $contributeMode eq 'direct' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval}
316 {ts}Credit Card Information{/ts}
320 <td colspan="2" {$valueStyle}>
321 {$credit_card_type}<br />
322 {$credit_card_number}<br />
323 {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate}
330 {/if} {* End of conditional section for Paid events *}
335 {$customPre_grouptitle}
338 {foreach from=$customPre item=value key=customName}
339 {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}
355 {$customPost_grouptitle}
358 {foreach from=$customPost item=value key=customName}
359 {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}
373 {foreach from=$customProfile item=value key=customName}
376 {ts 1=$customName+1}Participant Information - Participant %1{/ts}
379 {foreach from=$value item=val key=field}
380 {if $field eq 'additionalCustomPre' or $field eq 'additionalCustomPost'}
382 <td colspan="2" {$labelStyle}>
383 {if $field eq 'additionalCustomPre'}
384 {$additionalCustomPre_grouptitle}
386 {$additionalCustomPost_grouptitle}
390 {foreach from=$val item=v key=f}
406 {foreach from=$customGroup item=value key=customName}
412 {foreach from=$value item=v key=n}