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 id="crm-event_receipt" style="font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;">
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_signup}
26 <p>{$formValues.receipt_text_signup|htmlize}</p>
27 {elseif $formValues.receipt_text_renewal}
28 <p>{$formValues.receipt_text_renewal|htmlize}</p>
30 <p>{ts}Thank you for this contribution.{/ts}</p>
36 <table style="border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;">
40 {ts}Membership Information{/ts}
45 {ts}Membership Type{/ts}
56 {ts}Membership Start Date{/ts}
64 {ts}Membership End Date{/ts}
71 {if $formValues.total_amount OR $formValues.total_amount eq 0 }
74 {ts}Membership Fee{/ts}
77 {if $formValues.contributionType_name}
80 {ts}Financial Type{/ts}
83 {$formValues.contributionType_name}
89 {foreach from=$lineItem item=value key=priceset}
91 <td colspan="2" {$valueStyle}>
92 <table> {* FIXME: style this table so that it looks like the text version (justification, etc.) *}
94 <th>{ts}Item{/ts}</th>
97 <th>{ts}SubTotal{/ts}</th>
98 <th>{ts}Tax Rate{/ts}</th>
99 <th>{ts}Tax Amount{/ts}</th>
100 <th>{ts}Total{/ts}</th>
102 <th>{ts}Membership Start Date{/ts}</th>
103 <th>{ts}Membership End Date{/ts}</th>
105 {foreach from=$value item=line}
108 {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}
111 {$line.line_total|crmMoney}
115 {$line.unit_price*$line.qty|crmMoney}
117 {if $line.tax_rate != "" || $line.tax_amount != ""}
119 {$line.tax_rate|string_format:"%.2f"}%
122 {$line.tax_amount|crmMoney}
129 {$line.line_total+$line.tax_amount|crmMoney}
147 {ts}Amount Before Tax:{/ts}
150 {$formValues.total_amount-$totalTaxAmount|crmMoney}
153 {foreach from=$dataArray item=value key=priceset}
156 <td> {$taxTerm} {$priceset|string_format:"%.2f"}%</td>
157 <td> {$value|crmMoney:$currency}</td>
158 {elseif $priceset == 0}
159 <td> {ts}No{/ts} {$taxTerm}</td>
160 <td> {$value|crmMoney:$currency}</td>
166 {if isset($totalTaxAmount)}
169 {ts}Total Tax Amount{/ts}
172 {$totalTaxAmount|crmMoney:$currency}
181 {$formValues.total_amount|crmMoney}
187 {ts}Date Received{/ts}
190 {$receive_date|truncate:10:''|crmDate}
194 {if $formValues.paidBy}
203 {if $formValues.check_number}
206 {ts}Check Number{/ts}
209 {$formValues.check_number}
223 <table style="border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;">
228 {ts}Billing Name and Address{/ts}
239 {if $credit_card_type}
242 {ts}Credit Card Information{/ts}
247 {$credit_card_type}<br />
248 {$credit_card_number}
256 {$credit_card_exp_date|truncate:7:''|crmDate}
269 <table style="border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;">
272 {ts}Membership Options{/ts}
275 {foreach from=$customValues item=value key=customName}