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}
26 <p>{$receipt_text|htmlize}</p>
30 <p>{$pay_later_receipt}</p> {* FIXME: this might be text rather than HTML *}
36 <table style="width:100%; max-width:500px; border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse;">
38 {if $membership_assign && !$useForMember}
41 {ts}Membership Information{/ts}
46 {ts}Membership Type{/ts}
55 {ts}Membership Start Date{/ts}
58 {$mem_start_date|crmDate}
65 {ts}Membership End Date{/ts}
68 {$mem_end_date|crmDate}
78 {ts}Membership Fee{/ts}
82 {if !$useForMember and $membership_amount and $is_quick_config}
86 {ts 1=$membership_name}%1 Membership{/ts}
89 {$membership_amount|crmMoney}
92 {if $amount && !$is_separate_payment }
95 {ts}Contribution Amount{/ts}
106 {$amount+$membership_amount|crmMoney}
111 {elseif !$useForMember && $lineItem and $priceSetID and !$is_quick_config}
113 {foreach from=$lineItem item=value key=priceset}
115 <td colspan="2" {$valueStyle}>
116 <table> {* FIXME: style this table so that it looks like the text version (justification, etc.) *}
118 <th>{ts}Item{/ts}</th>
119 <th>{ts}Qty{/ts}</th>
120 <th>{ts}Each{/ts}</th>
121 <th>{ts}Total{/ts}</th>
123 {foreach from=$value item=line}
126 {$line.description|truncate:30:"..."}
132 {$line.unit_price|crmMoney}
135 {$line.line_total|crmMoney}
145 {ts}Total Amount{/ts}
153 {if $useForMember && $lineItem and !$is_quick_config}
154 {foreach from=$lineItem item=value key=priceset}
156 <td colspan="2" {$valueStyle}>
157 <table> {* FIXME: style this table so that it looks like the text version (justification, etc.) *}
159 <th>{ts}Item{/ts}</th>
160 <th>{ts}Fee{/ts}</th>
162 <th>{ts}SubTotal{/ts}</th>
163 <th>{ts}Tax Rate{/ts}</th>
164 <th>{ts}Tax Amount{/ts}</th>
165 <th>{ts}Total{/ts}</th>
167 <th>{ts}Membership Start Date{/ts}</th>
168 <th>{ts}Membership End Date{/ts}</th>
170 {foreach from=$value item=line}
173 {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}
176 {$line.line_total|crmMoney}
180 {$line.unit_price*$line.qty|crmMoney}
182 {if $line.tax_rate != "" || $line.tax_amount != ""}
184 {$line.tax_rate|string_format:"%.2f"}%
187 {$line.tax_amount|crmMoney}
194 {$line.line_total+$line.tax_amount|crmMoney}
212 {ts}Amount Before Tax:{/ts}
215 {$amount-$totalTaxAmount|crmMoney}
218 {foreach from=$dataArray item=value key=priceset}
220 {if $priceset || $priceset == 0}
221 <td> {$taxTerm} {$priceset|string_format:"%.2f"}%</td>
222 <td> {$value|crmMoney:$currency}</td>
224 <td> {ts}NO{/ts} {$taxTerm}</td>
225 <td> {$value|crmMoney:$currency}</td>
234 {ts}Total Tax Amount{/ts}
237 {$totalTaxAmount|crmMoney:$currency}
246 {$amount|crmMoney} {if $amount_level} - {$amount_level}{/if}
253 {elseif $membership_amount}
258 {ts}Membership Fee{/ts}
263 {ts 1=$membership_name}%1 Membership{/ts}
266 {$membership_amount|crmMoney}
279 {$receive_date|crmDate}
284 {if $is_monetary and $trxn_id}
287 {ts}Transaction #{/ts}
295 {if $membership_trx_id}
298 {ts}Membership Transaction #{/ts}
307 <td colspan="2" {$labelStyle}>
308 {ts}This membership will be renewed automatically.{/ts}
309 {if $cancelSubscriptionUrl}
310 {ts 1=$cancelSubscriptionUrl}You can cancel the auto-renewal option by <a href="%1">visiting this web page</a>.{/ts}
314 {if $updateSubscriptionBillingUrl}
316 <td colspan="2" {$labelStyle}>
317 {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by <a href="%1">visiting this web page</a>.{/ts}
323 {if $honor_block_is_active}
329 {foreach from=$honoreeProfile item=value key=label}
344 {ts}Personal Campaign Page{/ts}
349 {ts}Display In Honor Roll{/ts}
352 {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}
355 {if $pcp_roll_nickname}
365 {if $pcp_personal_note}
368 {ts}Personal Note{/ts}
377 {if $onBehalfProfile}
380 {$onBehalfProfile_grouptitle}
383 {foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}
398 {ts}Billing Name and Address{/ts}
402 <td colspan="2" {$valueStyle}>
404 {$address|nl2br}<br />
411 {ts}Registered Email{/ts}
415 <td colspan="2" {$valueStyle}>
421 {if $credit_card_type}
424 {ts}Credit Card Information{/ts}
428 <td colspan="2" {$valueStyle}>
429 {$credit_card_type}<br />
430 {$credit_card_number}<br />
431 {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate}<br />
439 {ts}Premium Information{/ts}
443 <td colspan="2" {$labelStyle}>
473 {$start_date|crmDate}
487 {if $contact_email OR $contact_phone}
489 <td colspan="2" {$valueStyle}>
490 <p>{ts}For information about this premium, contact:{/ts}</p>
492 <p>{$contact_email}</p>
495 <p>{$contact_phone}</p>
500 {if $is_deductible AND $price}
502 <td colspan="2" {$valueStyle}>
503 <p>{ts 1=$price|crmMoney}The value of this premium is %1. This may affect the amount of the tax deduction you can claim. Consult your tax advisor for more information.{/ts}</p>
512 {$customPre_grouptitle}
515 {foreach from=$customPre item=customValue key=customName}
516 {if ($trackingFields and ! in_array($customName, $trackingFields)) or ! $trackingFields}
532 {$customPost_grouptitle}
535 {foreach from=$customPost item=customValue key=customName}
536 {if ($trackingFields and ! in_array($customName, $trackingFields)) or ! $trackingFields}