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 <p>Dear {$contactDisplayName}</p>
17 <table width="620" border="0" cellpadding="0" cellspacing="0" id="crm-event_receipt" style="font-family: Arial, Verdana, sans-serif; text-align: left;">
20 <!-- You can add table row(s) here with logo or other header elements -->
23 <!-- BEGIN CONTENT -->
28 <p>{ts}A refund has been issued based on changes in your registration selections.{/ts}</p>
30 <p>{ts}A payment has been received.{/ts}</p>
32 <p>{ts}Please print this confirmation for your records.{/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>
47 {$totalAmount|crmMoney}
60 {ts}Refund Amount{/ts}
63 {$refundAmount|crmMoney}
68 <th {$headerStyle}>{ts}Payment Details{/ts}</th>
75 {$totalAmount|crmMoney}
80 {ts}This Payment Amount{/ts}
83 {$paymentAmount|crmMoney}
91 {$amountOwed|crmMoney}
92 </td> {* This will be zero after final payment. *}
94 <tr> <td {$emptyBlockStyle}></td>
95 <td {$emptyBlockValueStyle}></td></tr>
96 {if $paymentsComplete}
98 <td colspan='2' {$valueStyle}>
99 {ts}Thank you for completing payment.{/ts}
107 {ts}Transaction Date{/ts}
110 {$receive_date|crmDate}
117 {ts}Transaction #{/ts}
137 {ts}Check Number{/ts}
149 <table style="border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;">
150 {if $contributeMode eq 'direct' and !$isAmountzero}
153 {ts}Billing Name and Address{/ts}
157 <td colspan="2" {$valueStyle}>
163 {if $contributeMode eq'direct' and !$isAmountzero}
166 {ts}Credit Card Information{/ts}
170 <td colspan="2" {$valueStyle}>
171 {$credit_card_type}<br />
172 {$credit_card_number}<br />
173 {ts}Expires:{/ts} {$credit_card_exp_date|truncate:7:''|crmDate}
177 {if $component eq 'event'}
180 {ts}Event Information and Location{/ts}
184 <td colspan="2" {$valueStyle}>
185 {$event.event_title}<br />
186 {$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}
190 {if $event.participant_role}
193 {ts}Participant Role{/ts}
196 {$event.participant_role}
203 <td colspan="2" {$valueStyle}>
204 {$location.address.1.display|nl2br}
209 {if $location.phone.1.phone || $location.email.1.email}
211 <td colspan="2" {$labelStyle}>
212 {ts}Event Contacts:{/ts}
215 {foreach from=$location.phone item=phone}
219 {if $phone.phone_type}
220 {$phone.phone_type_display}
226 {$phone.phone} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}
231 {foreach from=$location.email item=eventEmail}
232 {if $eventEmail.email}
243 {/if} {*phone block close*}