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 $formValues.receipt_text}
26 <p>{$formValues.receipt_text|htmlize}</p>
28 <p>{ts}Thank you for your support.{/ts}</p>
31 <p>{ts}Please print this receipt for your records.{/ts}</p>
37 <table style="border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;">
40 {ts}Contribution Information{/ts}
45 {ts}Financial Type{/ts}
48 {$formValues.contributionType_name}
52 {if $lineItem and !$is_quick_config}
53 {foreach from=$lineItem item=value key=priceset}
55 <td colspan="2" {$valueStyle}>
56 <table> {* FIXME: style this table so that it looks like the text version (justification, etc.) *}
58 <th>{ts}Item{/ts}</th>
60 <th>{ts}Each{/ts}</th>
61 <th>{ts}Total{/ts}</th>
63 {foreach from=$value item=line}
66 {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}
72 {$line.unit_price|crmMoney:$currency}
75 {$line.line_total|crmMoney:$currency}
90 {$formValues.total_amount|crmMoney:$currency}
97 {ts}Received Date{/ts}
100 {$receive_date|truncate:10:''|crmDate}
108 {ts}Receipt Date{/ts}
111 {$receipt_date|truncate:10:''|crmDate}
116 {if $formValues.paidBy and !$formValues.hidden_CreditCard}
125 {if $formValues.check_number}
128 {ts}Check Number{/ts}
131 {$formValues.check_number}
137 {if $formValues.trxn_id}
140 {ts}Transaction ID{/ts}
143 {$formValues.trxn_id}
151 {ts}Billing Name and Address{/ts}
155 <td colspan="2" {$valueStyle}>
162 {ts}Credit Card Information{/ts}
166 <td colspan="2" {$valueStyle}>
167 {$credit_card_type}<br />
168 {$credit_card_number}<br />
169 {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate}
175 {foreach from=$customGroup item=value key=customName}
181 {foreach from=$value item=v key=n}
194 {if $formValues.honor_first_name}
197 {$formValues.honor_type}
201 <td colspan="2" {$valueStyle}>
202 {$formValues.honor_prefix} {$formValues.honor_first_name} {$formValues.honor_last_name}<br />
203 {if $formValues.honor_email}
204 {ts}Honoree Email{/ts}: {$formValues.honor_email}
210 {if $formValues.product_name}
213 {ts}Premium Information{/ts}
217 <td colspan="2" {$labelStyle}>
218 {$formValues.product_name}
221 {if $formValues.product_option}
227 {$formValues.product_option}
231 {if $formValues.product_sku}
237 {$formValues.product_sku}
247 {$fulfilled_date|truncate:10:''|crmDate}