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}
12 {capture assign=emptyBlockStyle }style="padding: 10px; border-bottom: 1px solid #999;background-color: #f7f7f7;"{/capture}
13 {capture assign=emptyBlockValueStyle }style="padding: 10px; border-bottom: 1px solid #999;"{/capture}
15 <table id="crm-event_receipt" style="font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;">
18 <!-- You can add table row(s) here with logo or other header elements -->
21 <!-- BEGIN CONTENT -->
24 {assign var="greeting" value="{contact.email_greeting}"}{if $greeting}<p>{$greeting},</p>{/if}
26 <p>{ts}A refund has been issued based on changes in your registration selections.{/ts}</p>
28 <p>{ts}Below you will find a receipt for this payment.{/ts}</p>
29 {if $paymentsComplete}
30 <p>{ts}Thank you for completing this contribution.{/ts}</p>
37 <table style="border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;">
40 <th {$headerStyle}>{ts}Refund Details{/ts}</th>
44 {ts}This Refund Amount{/ts}
47 {$refundAmount|crmMoney}
52 <th {$headerStyle}>{ts}Payment Details{/ts}</th>
56 {ts}This Payment Amount{/ts}
59 {$paymentAmount|crmMoney}
66 {ts}Transaction Date{/ts}
69 {$receive_date|crmDate}
76 {ts}Transaction #{/ts}
93 {if !empty($checkNumber)}
105 <th {$headerStyle}>{ts}Contribution Details{/ts}</th>
107 {if isset($totalAmount)}
113 {$totalAmount|crmMoney}
117 {if isset($totalPaid)}
123 {$totalPaid|crmMoney}
127 {if isset($amountOwed)}
130 {ts}Balance Owed{/ts}
133 {$amountOwed|crmMoney}
134 </td> {* This will be zero after final payment. *}
143 <table style="border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;">
144 {if !empty($billingName) || !empty($address)}
147 {ts}Billing Name and Address{/ts}
151 <td colspan="2" {$valueStyle}>
152 {if !empty($billingName)}{$billingName}{/if}<br />
153 {if !empty($address)}{$address|nl2br}{/if}
157 {if !empty($credit_card_number)}
160 {ts}Credit Card Information{/ts}
164 <td colspan="2" {$valueStyle}>
165 {$credit_card_type}<br />
166 {$credit_card_number}<br />
167 {ts}Expires:{/ts} {$credit_card_exp_date|truncate:7:''|crmDate}
171 {if $component eq 'event'}
174 {ts}Event Information and Location{/ts}
178 <td colspan="2" {$valueStyle}>
179 {$event.event_title}<br />
180 {$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} {$event.event_tz}
184 {if !empty($event.participant_role)}
187 {ts}Participant Role{/ts}
190 {$event.participant_role}
195 {if !empty($isShowLocation)}
197 <td colspan="2" {$valueStyle}>
198 {$location.address.1.display|nl2br}
203 {if !empty($location.phone.1.phone) || !empty($location.email.1.email)}
205 <td colspan="2" {$labelStyle}>
206 {ts}Event Contacts:{/ts}
209 {foreach from=$location.phone item=phone}
213 {if $phone.phone_type}
214 {$phone.phone_type_display}
220 {$phone.phone} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}
225 {foreach from=$location.email item=eventEmail}
226 {if $eventEmail.email}
237 {/if} {*phone block close*}