1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
10 {capture assign=headerStyle}colspan="2" style="text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;"{/capture}
11 {capture assign=labelStyle }style="padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;"{/capture}
12 {capture assign=valueStyle }style="padding: 4px; border-bottom: 1px solid #999;"{/capture}
14 <table id="crm-event_receipt"
15 style="font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;">
18 <!-- You can add table row(s) here with logo or other header elements -->
21 <!-- BEGIN CONTENT -->
25 {assign var="greeting" value="{contact.email_greeting}"}{if $greeting}<p>{$greeting},</p>{/if}
27 <p>{$receipt_text|htmlize}</p>
28 <p>{ts}Thank you for this contribution.{/ts}</p>
34 <table style="border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;">
38 {ts}Membership Information{/ts}
43 {ts}Membership Type{/ts}
50 {if empty($cancelled)}
54 {ts}Membership Start Date{/ts}
62 {ts}Membership End Date{/ts}
69 {if $formValues.total_amount OR $formValues.total_amount eq 0 }
72 {ts}Membership Fee{/ts}
75 {if !empty($formValues.contributionType_name)}
78 {ts}Financial Type{/ts}
81 {$formValues.contributionType_name}
86 {if !empty($lineItem)}
87 {foreach from=$lineItem item=value key=priceset}
89 <td colspan="2" {$valueStyle}>
92 <th>{ts}Item{/ts}</th>
94 {if !empty($dataArray)}
95 <th>{ts}SubTotal{/ts}</th>
96 <th>{ts}Tax Rate{/ts}</th>
97 <th>{ts}Tax Amount{/ts}</th>
98 <th>{ts}Total{/ts}</th>
100 <th>{ts}Membership Start Date{/ts}</th>
101 <th>{ts}Membership End Date{/ts}</th>
103 {foreach from=$value item=line}
106 {if $line.html_type eq 'Text'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}
107 <div>{$line.description|truncate:30:"..."}</div>{/if}
110 {$line.line_total|crmMoney}
112 {if !empty($dataArray)}
114 {$line.unit_price*$line.qty|crmMoney}
116 {if $line.tax_rate || $line.tax_amount != ""}
118 {$line.tax_rate|string_format:"%.2f"}%
121 {$line.tax_amount|crmMoney}
128 {$line.line_total+$line.tax_amount|crmMoney}
143 {if !empty($dataArray)}
144 {if $formValues.total_amount and $totalTaxAmount}
147 {ts}Amount Before Tax:{/ts}
150 {$formValues.total_amount-$totalTaxAmount|crmMoney}
154 {foreach from=$dataArray item=value key=priceset}
157 <td> {$taxTerm} {$priceset|string_format:"%.2f"}%</td>
158 <td> {$value|crmMoney:$currency}</td>
159 {elseif $priceset == 0}
160 <td> {ts}No{/ts} {$taxTerm}</td>
161 <td> {$value|crmMoney:$currency}</td>
170 {ts}Total Tax Amount{/ts}
173 {$totalTaxAmount|crmMoney:$currency}
182 {$formValues.total_amount|crmMoney}
185 {if !empty($receive_date)}
188 {ts}Date Received{/ts}
191 {$receive_date|truncate:10:''|crmDate}
195 {if !empty($formValues.paidBy)}
204 {if !empty($formValues.check_number)}
207 {ts}Check Number{/ts}
210 {$formValues.check_number}
221 {if !empty($isPrimary)}
224 <table style="border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;">
226 {if !empty($billingName)}
229 {ts}Billing Name and Address{/ts}
240 {if !empty($credit_card_type)}
243 {ts}Credit Card Information{/ts}
248 {$credit_card_type}<br/>
249 {$credit_card_number}
257 {$credit_card_exp_date|truncate:7:''|crmDate}
267 {if !empty($customValues)}
270 <table style="border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;">
273 {ts}Membership Options{/ts}
276 {foreach from=$customValues item=value key=customName}