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 -->
26 <p>{$receipt_text|htmlize}</p>
30 <p>{$pay_later_receipt}</p> {* FIXME: this might be text rather than HTML *}
32 <p>{ts}Please print this confirmation for your records.{/ts}</p>
39 <table style="border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;">
41 {if $membership_assign}
44 {ts}Membership Information{/ts}
49 {ts}Membership Type{/ts}
58 {ts}Membership Start Date{/ts}
61 {$mem_start_date|crmDate}
68 {ts}Membership End Date{/ts}
71 {$mem_end_date|crmDate}
83 {ts}Membership Fee{/ts}
87 {if $membership_amount}
91 {ts 1=$membership_name}%1 Membership{/ts}
94 {$membership_amount|crmMoney}
98 {if ! $is_separate_payment }
101 {ts}Contribution Amount{/ts}
110 {ts}Additional Contribution{/ts}
123 {$amount+$membership_amount|crmMoney}
127 {elseif $lineItem and $priceSetID}
129 {foreach from=$lineItem item=value key=priceset}
131 <td colspan="2" {$valueStyle}>
132 <table> {* FIXME: style this table so that it looks like the text version (justification, etc.) *}
134 <th>{ts}Item{/ts}</th>
135 <th>{ts}Qty{/ts}</th>
136 <th>{ts}Each{/ts}</th>
137 <th>{ts}Total{/ts}</th>
139 {foreach from=$value item=line}
142 {$line.description|truncate:30:"..."}
148 {$line.unit_price|crmMoney}
151 {$line.line_total|crmMoney}
161 {ts}Total Amount{/ts}
175 {$amount|crmMoney} {if $amount_level} - {$amount_level}{/if}
182 {elseif $membership_amount}
187 {ts}Membership Fee{/ts}
192 {ts 1=$membership_name}%1 Membership{/ts}
195 {$membership_amount|crmMoney}
209 {$receive_date|crmDate}
214 {if $is_monetary and $trxn_id}
217 {ts}Transaction #{/ts}
225 {if $membership_trx_id}
228 {ts}Membership Transaction #{/ts}
236 {if $contributeMode eq 'notify' or $contributeMode eq 'directIPN'}
239 {ts 1=$cancelSubscriptionUrl}This membership will be renewed automatically. You can modify or cancel the auto-renewal option by <a href="%1">visiting this web page</a>.{/ts}
245 {if $honor_block_is_active}
252 <td colspan="2" {$labelStyle}>
253 {$honor_prefix} {$honor_first_name} {$honor_last_name}
259 {ts}Honoree Email{/ts}
271 {ts}Personal Campaign Page{/ts}
276 {ts}Display In Honor Roll{/ts}
279 {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}
282 {if $pcp_roll_nickname}
292 {if $pcp_personal_note}
295 {ts}Personal Note{/ts}
307 {ts}On Behalf Of{/ts}
311 <td colspan="2" {$valueStyle}>
312 {$onBehalfName}<br />
313 {$onBehalfAddress|nl2br}<br />
319 {if ! ($contributeMode eq 'notify' OR $contributeMode eq 'directIPN') and $is_monetary}
323 {ts}Registered Email{/ts}
327 <td colspan="2" {$valueStyle}>
331 {elseif $amount GT 0 OR $membership_amount GT 0}
334 {ts}Billing Name and Address{/ts}
338 <td colspan="2" {$valueStyle}>
340 {$address|nl2br}<br />
347 {if $contributeMode eq 'direct' AND !$is_pay_later AND ($amount GT 0 OR $membership_amount GT 0)}
350 {ts}Credit Card Information{/ts}
354 <td colspan="2" {$valueStyle}>
355 {$credit_card_type}<br />
356 {$credit_card_number}<br />
357 {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate}<br />
365 {ts}Premium Information{/ts}
369 <td colspan="2" {$labelStyle}>
399 {$start_date|crmDate}
413 {if $contact_email OR $contact_phone}
415 <td colspan="2" {$valueStyle}>
416 <p>{ts}For information about this premium, contact:{/ts}</p>
418 <p>{$contact_email}</p>
421 <p>{$contact_phone}</p>
426 {if $is_deductible AND $price}
428 <td colspan="2" {$valueStyle}>
429 <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>
438 {$customPre_grouptitle}
441 {foreach from=$customPre item=customValue key=customName}
442 {if ($trackingFields and ! in_array($customName, $trackingFields)) or ! $trackingFields}
458 {$customPost_grouptitle}
461 {foreach from=$customPost item=customValue key=customName}
462 {if ($trackingFields and ! in_array($customName, $trackingFields)) or ! $trackingFields}