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}Thanks 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>
62 <th>{ts}Subtotal{/ts}</th>
63 <th>{ts}Tax Rate{/ts}</th>
64 <th>{ts}Tax Amount{/ts}</th>
66 <th>{ts}Total{/ts}</th>
68 {foreach from=$value item=line}
71 {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}
77 {$line.unit_price|crmMoney:$currency}
81 {$line.unit_price*$line.qty|crmMoney:$currency}
84 {$line.tax_rate|crmMoney:$currency}
87 {$line.tax_amount|crmMoney:$currency}
91 {$line.line_total|crmMoney:$currency}
100 {if $dataArray && $totalTaxAmount}
103 {ts} Amount before Tax : {/ts}
106 {$formValues.total_amount-$totalTaxAmount|crmMoney:$currency}
110 {foreach from=$dataArray item=value key=priceset}
113 <td> {$taxTerm} {$priceset|string_format:"%.2f"}%</td>
114 <td> {$value|crmMoney:$currency}</td>
115 {elseif $priceset == 0}
116 <td> {ts}No{/ts} {$taxTerm}</td>
117 <td> {$value|crmMoney:$currency}</td>
126 {ts}Total Tax Amount{/ts}
129 {$totalTaxAmount|crmMoney:$currency}
136 {ts}Total Amount{/ts}
139 {$formValues.total_amount|crmMoney:$currency}
146 {ts}Received Date{/ts}
149 {$receive_date|truncate:10:''|crmDate}
157 {ts}Receipt Date{/ts}
160 {$receipt_date|truncate:10:''|crmDate}
165 {if $formValues.paidBy and !$formValues.hidden_CreditCard}
174 {if $formValues.check_number}
177 {ts}Check Number{/ts}
180 {$formValues.check_number}
186 {if $formValues.trxn_id}
189 {ts}Transaction ID{/ts}
192 {$formValues.trxn_id}
200 {ts}Billing Name and Address{/ts}
204 <td colspan="2" {$valueStyle}>
211 {ts}Credit Card Information{/ts}
215 <td colspan="2" {$valueStyle}>
216 {$credit_card_type}<br />
217 {$credit_card_number}<br />
218 {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate}
223 {if $softCreditTypes and $softCredits}
224 {foreach from=$softCreditTypes item=softCreditType key=n}
230 {foreach from=$softCredits.$n item=value key=label}
244 {foreach from=$customGroup item=value key=customName}
250 {foreach from=$value item=v key=n}
263 {if $formValues.product_name}
266 {ts}Premium Information{/ts}
270 <td colspan="2" {$labelStyle}>
271 {$formValues.product_name}
274 {if $formValues.product_option}
280 {$formValues.product_option}
284 {if $formValues.product_sku}
290 {$formValues.product_sku}
300 {$fulfilled_date|truncate:10:''|crmDate}