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="500" 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>
38 <table width="500" style="border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse;">
40 {if $membership_assign}
43 {ts}Membership Information{/ts}
48 {ts}Membership Type{/ts}
57 {ts}Membership Start Date{/ts}
60 {$mem_start_date|crmDate}
67 {ts}Membership End Date{/ts}
70 {$mem_end_date|crmDate}
82 {ts}Membership Fee{/ts}
86 {if $membership_amount}
90 {ts 1=$membership_name}%1 Membership{/ts}
93 {$membership_amount|crmMoney}
97 {if ! $is_separate_payment }
100 {ts}Contribution Amount{/ts}
109 {ts}Additional Contribution{/ts}
122 {$amount+$membership_amount|crmMoney}
126 {elseif $lineItem and $priceSetID}
128 {foreach from=$lineItem item=value key=priceset}
130 <td colspan="2" {$valueStyle}>
131 <table> {* FIXME: style this table so that it looks like the text version (justification, etc.) *}
133 <th>{ts}Item{/ts}</th>
134 <th>{ts}Qty{/ts}</th>
135 <th>{ts}Each{/ts}</th>
136 <th>{ts}Total{/ts}</th>
138 {foreach from=$value item=line}
141 {$line.description|truncate:30:"..."}
147 {$line.unit_price|crmMoney}
150 {$line.line_total|crmMoney}
160 {ts}Total Amount{/ts}
174 {$amount|crmMoney} {if $amount_level} - {$amount_level}{/if}
181 {elseif $membership_amount}
186 {ts}Membership Fee{/ts}
191 {ts 1=$membership_name}%1 Membership{/ts}
194 {$membership_amount|crmMoney}
208 {$receive_date|crmDate}
213 {if $is_monetary and $trxn_id}
216 {ts}Transaction #{/ts}
224 {if $membership_trx_id}
227 {ts}Membership Transaction #{/ts}
235 {if $contributeMode eq 'notify' or $contributeMode eq 'directIPN'}
238 {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}
244 {if $honor_block_is_active}
251 <td colspan="2" {$labelStyle}>
252 {$honor_prefix} {$honor_first_name} {$honor_last_name}
258 {ts}Honoree Email{/ts}
270 {ts}Personal Campaign Page{/ts}
275 {ts}Display In Honor Roll{/ts}
278 {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}
281 {if $pcp_roll_nickname}
291 {if $pcp_personal_note}
294 {ts}Personal Note{/ts}
303 {if $onBehalfProfile}
306 {$onBehalfProfile_grouptitle}
309 {foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}
321 {if ! ($contributeMode eq 'notify' OR $contributeMode eq 'directIPN') and $is_monetary}
325 {ts}Registered Email{/ts}
329 <td colspan="2" {$valueStyle}>
333 {elseif $amount GT 0 OR $membership_amount GT 0}
336 {ts}Billing Name and Address{/ts}
340 <td colspan="2" {$valueStyle}>
342 {$address|nl2br}<br />
349 {if $contributeMode eq 'direct' AND !$is_pay_later AND ($amount GT 0 OR $membership_amount GT 0)}
352 {ts}Credit Card Information{/ts}
356 <td colspan="2" {$valueStyle}>
357 {$credit_card_type}<br />
358 {$credit_card_number}<br />
359 {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate}<br />
367 {ts}Premium Information{/ts}
371 <td colspan="2" {$labelStyle}>
401 {$start_date|crmDate}
415 {if $contact_email OR $contact_phone}
417 <td colspan="2" {$valueStyle}>
418 <p>{ts}For information about this premium, contact:{/ts}</p>
420 <p>{$contact_email}</p>
423 <p>{$contact_phone}</p>
428 {if $is_deductible AND $price}
430 <td colspan="2" {$valueStyle}>
431 <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>
440 {$customPre_grouptitle}
443 {foreach from=$customPre item=customValue key=customName}
444 {if ($trackingFields and ! in_array($customName, $trackingFields)) or ! $trackingFields}
460 {$customPost_grouptitle}
463 {foreach from=$customPost item=customValue key=customName}
464 {if ($trackingFields and ! in_array($customName, $trackingFields)) or ! $trackingFields}