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 -->
24 {assign var="greeting" value="{contact.email_greeting}"}{if $greeting}<p>{$greeting},</p>{/if}
25 {if $formValues.receipt_text}
26 <p>{$formValues.receipt_text|htmlize}</p>
28 <p>{ts}Thank you for your support.{/ts}</p>
35 <table style="border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;">
38 {ts}Contribution Information{/ts}
43 {ts}Financial Type{/ts}
46 {$formValues.contributionType_name}
50 {if $lineItem and !$is_quick_config}
51 {foreach from=$lineItem item=value key=priceset}
53 <td colspan="2" {$valueStyle}>
54 <table> {* FIXME: style this table so that it looks like the text version (justification, etc.) *}
56 <th>{ts}Item{/ts}</th>
58 <th>{ts}Each{/ts}</th>
60 <th>{ts}Subtotal{/ts}</th>
61 <th>{ts}Tax Rate{/ts}</th>
62 <th>{ts}Tax Amount{/ts}</th>
64 <th>{ts}Total{/ts}</th>
66 {foreach from=$value item=line}
69 {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}
75 {$line.unit_price|crmMoney:$currency}
79 {$line.unit_price*$line.qty|crmMoney:$currency}
81 {if $line.tax_rate != "" || $line.tax_amount != ""}
83 {$line.tax_rate|string_format:"%.2f"}%
86 {$line.tax_amount|crmMoney:$currency}
94 {$line.line_total+$line.tax_amount|crmMoney:$currency}
103 {if $getTaxDetails && $dataArray}
106 {ts} Amount before Tax : {/ts}
109 {$formValues.total_amount-$totalTaxAmount|crmMoney:$currency}
113 {foreach from=$dataArray item=value key=priceset}
115 {if $priceset || $priceset == 0 || $value != ''}
116 <td> {$taxTerm} {$priceset|string_format:"%.2f"}%</td>
117 <td> {$value|crmMoney:$currency}</td>
119 <td> {ts}No{/ts} {$taxTerm}</td>
120 <td> {$value|crmMoney:$currency}</td>
126 {if isset($totalTaxAmount) && $totalTaxAmount !== 'null'}
129 {ts}Total Tax Amount{/ts}
132 {$totalTaxAmount|crmMoney:$currency}
139 {ts}Total Amount{/ts}
142 {$formValues.total_amount|crmMoney:$currency}
149 {ts}Date Received{/ts}
152 {$receive_date|truncate:10:''|crmDate}
160 {ts}Receipt Date{/ts}
163 {$receipt_date|truncate:10:''|crmDate}
168 {if $formValues.paidBy and !$formValues.hidden_CreditCard}
177 {if $formValues.check_number}
180 {ts}Check Number{/ts}
183 {$formValues.check_number}
189 {if $formValues.trxn_id}
192 {ts}Transaction ID{/ts}
195 {$formValues.trxn_id}
203 {ts}Billing Name and Address{/ts}
207 <td colspan="2" {$valueStyle}>
214 {ts}Credit Card Information{/ts}
218 <td colspan="2" {$valueStyle}>
219 {$credit_card_type}<br />
220 {$credit_card_number}<br />
221 {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate}
226 {if $softCreditTypes and $softCredits}
227 {foreach from=$softCreditTypes item=softCreditType key=n}
233 {foreach from=$softCredits.$n item=value key=label}
247 {foreach from=$customGroup item=value key=customName}
253 {foreach from=$value item=v key=n}
266 {if $formValues.product_name}
269 {ts}Premium Information{/ts}
273 <td colspan="2" {$labelStyle}>
274 {$formValues.product_name}
277 {if $formValues.product_option}
283 {$formValues.product_option}
287 {if $formValues.product_sku}
293 {$formValues.product_sku}
303 {$fulfilled_date|truncate:10:''|crmDate}