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 && !$useForMember}
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}
80 {ts}Membership Fee{/ts}
84 {if !$useForMember and $membership_amount and $is_quick_config}
88 {ts 1=$membership_name}%1 Membership{/ts}
91 {$membership_amount|crmMoney}
95 {if ! $is_separate_payment }
98 {ts}Contribution Amount{/ts}
107 {ts}Additional Contribution{/ts}
120 {$amount+$membership_amount|crmMoney}
124 {elseif !$useForMember && $lineItem and $priceSetID and !$is_quick_config}
126 {foreach from=$lineItem item=value key=priceset}
128 <td colspan="2" {$valueStyle}>
129 <table> {* FIXME: style this table so that it looks like the text version (justification, etc.) *}
131 <th>{ts}Item{/ts}</th>
132 <th>{ts}Qty{/ts}</th>
133 <th>{ts}Each{/ts}</th>
134 <th>{ts}Total{/ts}</th>
136 {foreach from=$value item=line}
139 {$line.description|truncate:30:"..."}
145 {$line.unit_price|crmMoney}
148 {$line.line_total|crmMoney}
158 {ts}Total Amount{/ts}
166 {if $useForMember && $lineItem and !$is_quick_config}
167 {foreach from=$lineItem item=value key=priceset}
169 <td colspan="2" {$valueStyle}>
170 <table> {* FIXME: style this table so that it looks like the text version (justification, etc.) *}
172 <th>{ts}Item{/ts}</th>
173 <th>{ts}Fee{/ts}</th>
174 <th>{ts}Membership Start Date{/ts}</th>
175 <th>{ts}Membership End Date{/ts}</th>
177 {foreach from=$value item=line}
180 {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}
183 {$line.line_total|crmMoney}
203 {$amount|crmMoney} {if $amount_level} - {$amount_level}{/if}
210 {elseif $membership_amount}
215 {ts}Membership Fee{/ts}
220 {ts 1=$membership_name}%1 Membership{/ts}
223 {$membership_amount|crmMoney}
236 {$receive_date|crmDate}
241 {if $is_monetary and $trxn_id}
244 {ts}Transaction #{/ts}
252 {if $membership_trx_id}
255 {ts}Membership Transaction #{/ts}
263 {if $contributeMode eq 'notify' or $contributeMode eq 'directIPN'}
265 <td colspan="2" {$labelStyle}>
266 {ts 1=$cancelSubscriptionUrl}This membership will be renewed automatically. You can cancel the auto-renewal option by <a href="%1">visiting this web page</a>.{/ts}
270 <td colspan="2" {$labelStyle}>
271 {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by <a href="%1">visiting this web page</a>.{/ts}
277 {if $honor_block_is_active}
283 {foreach from=$honoreeProfile item=value key=label}
298 {ts}Personal Campaign Page{/ts}
303 {ts}Display In Honor Roll{/ts}
306 {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}
309 {if $pcp_roll_nickname}
319 {if $pcp_personal_note}
322 {ts}Personal Note{/ts}
331 {if $onBehalfProfile}
334 {$onBehalfProfile_grouptitle}
337 {foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}
349 {if ! ($contributeMode eq 'notify' OR $contributeMode eq 'directIPN') and $is_monetary}
353 {ts}Registered Email{/ts}
357 <td colspan="2" {$valueStyle}>
361 {elseif $amount GT 0 OR $membership_amount GT 0}
364 {ts}Billing Name and Address{/ts}
368 <td colspan="2" {$valueStyle}>
370 {$address|nl2br}<br />
377 {if $contributeMode eq 'direct' AND !$is_pay_later AND ($amount GT 0 OR $membership_amount GT 0)}
380 {ts}Credit Card Information{/ts}
384 <td colspan="2" {$valueStyle}>
385 {$credit_card_type}<br />
386 {$credit_card_number}<br />
387 {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate}<br />
395 {ts}Premium Information{/ts}
399 <td colspan="2" {$labelStyle}>
429 {$start_date|crmDate}
443 {if $contact_email OR $contact_phone}
445 <td colspan="2" {$valueStyle}>
446 <p>{ts}For information about this premium, contact:{/ts}</p>
448 <p>{$contact_email}</p>
451 <p>{$contact_phone}</p>
456 {if $is_deductible AND $price}
458 <td colspan="2" {$valueStyle}>
459 <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>
468 {$customPre_grouptitle}
471 {foreach from=$customPre item=customValue key=customName}
472 {if ($trackingFields and ! in_array($customName, $trackingFields)) or ! $trackingFields}
488 {$customPost_grouptitle}
491 {foreach from=$customPost item=customValue key=customName}
492 {if ($trackingFields and ! in_array($customName, $trackingFields)) or ! $trackingFields}