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}
83 {if $line.tax_rate != "" || $line.tax_amount != ""}
88 {$line.tax_amount|crmMoney:$currency}
96 {$line.line_total+$line.tax_amount|crmMoney:$currency}
105 {if $getTaxDetails && $dataArray}
108 {ts} Amount before Tax : {/ts}
111 {$formValues.total_amount-$totalTaxAmount|crmMoney:$currency}
115 {foreach from=$dataArray item=value key=priceset}
117 {if $priceset || $priceset == 0 || $value != ''}
118 <td> {$taxTerm} {$priceset|string_format:"%.2f"}%</td>
119 <td> {$value|crmMoney:$currency}</td>
121 <td> {ts}No{/ts} {$taxTerm}</td>
122 <td> {$value|crmMoney:$currency}</td>
128 {if $getTaxDetails && $totalTaxAmount !== 'null'}
131 {ts}Total Tax Amount{/ts}
134 {$totalTaxAmount|crmMoney:$currency}
141 {ts}Total Amount{/ts}
144 {$formValues.total_amount|crmMoney:$currency}
151 {ts}Received Date{/ts}
154 {$receive_date|truncate:10:''|crmDate}
162 {ts}Receipt Date{/ts}
165 {$receipt_date|truncate:10:''|crmDate}
170 {if $formValues.paidBy and !$formValues.hidden_CreditCard}
179 {if $formValues.check_number}
182 {ts}Check Number{/ts}
185 {$formValues.check_number}
191 {if $formValues.trxn_id}
194 {ts}Transaction ID{/ts}
197 {$formValues.trxn_id}
205 {ts}Billing Name and Address{/ts}
209 <td colspan="2" {$valueStyle}>
216 {ts}Credit Card Information{/ts}
220 <td colspan="2" {$valueStyle}>
221 {$credit_card_type}<br />
222 {$credit_card_number}<br />
223 {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate}
228 {if $softCreditTypes and $softCredits}
229 {foreach from=$softCreditTypes item=softCreditType key=n}
235 {foreach from=$softCredits.$n item=value key=label}
249 {foreach from=$customGroup item=value key=customName}
255 {foreach from=$value item=v key=n}
268 {if $formValues.product_name}
271 {ts}Premium Information{/ts}
275 <td colspan="2" {$labelStyle}>
276 {$formValues.product_name}
279 {if $formValues.product_option}
285 {$formValues.product_option}
289 {if $formValues.product_sku}
295 {$formValues.product_sku}
305 {$fulfilled_date|truncate:10:''|crmDate}