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;">
45 {ts}Contribution Information{/ts}
49 {if $lineItem and $priceSetID and !$is_quick_config}
51 {foreach from=$lineItem item=value key=priceset}
53 <td colspan="2" {$valueStyle}>
54 <table> {* FIXME: style this table so that it looks like the text version (justification, etc.) *}
56 <th>{ts}Item{/ts}</th>
58 <th>{ts}Each{/ts}</th>
59 <th>{ts}Total{/ts}</th>
61 {foreach from=$value item=line}
64 {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}
70 {$line.unit_price|crmMoney:$currency}
73 {$line.line_total|crmMoney:$currency}
86 {$amount|crmMoney:$currency}
97 {$amount|crmMoney:$currency} {if $amount_level} - {$amount_level}{/if}
113 {$receive_date|crmDate}
118 {if $is_monetary and $trxn_id}
121 {ts}Transaction #{/ts}
130 {if $contributeMode eq 'notify' or $contributeMode eq 'directIPN'}
132 <td colspan="2" {$labelStyle}>
133 {ts 1=$cancelSubscriptionUrl}This is a recurring contribution. You can cancel future contributions by <a href="%1">visiting this web page</a>.{/ts}
137 <td colspan="2" {$labelStyle}>
138 {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this recurring contribution by <a href="%1">visiting this web page</a>.{/ts}
142 <td colspan="2" {$labelStyle}>
143 {ts 1=$updateSubscriptionUrl}You can update recurring contribution amount or change the number of installments for this recurring contribution by <a href="%1">visiting this web page</a>.{/ts}
149 {if $honor_block_is_active}
156 <td colspan="2" {$labelStyle}>
157 {$honor_prefix} {$honor_first_name} {$honor_last_name}
163 {ts}Honoree Email{/ts}
175 {ts}Personal Campaign Page{/ts}
180 {ts}Display In Honor Roll{/ts}
183 {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}
186 {if $pcp_roll_nickname}
196 {if $pcp_personal_note}
199 {ts}Personal Note{/ts}
208 {if $onBehalfProfile}
211 {$onBehalfProfile_grouptitle}
214 {foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}
228 <td colspan="2" {$valueStyle}>
229 {capture assign=contributionUrl}{crmURL p='civicrm/contribute/transact' q="reset=1&id=`$contributionPageId`" a=true fe=1 h=1}{/capture}
230 {include file="CRM/common/SocialNetwork.tpl" emailMode=true url=$contributionUrl title=$title pageURL=$contributionUrl}
235 {if ! ($contributeMode eq 'notify' OR $contributeMode eq 'directIPN') and $is_monetary}
239 {ts}Registered Email{/ts}
243 <td colspan="2" {$valueStyle}>
247 {elseif $amount GT 0}
250 {ts}Billing Name and Address{/ts}
254 <td colspan="2" {$valueStyle}>
256 {$address|nl2br}<br />
263 {if $contributeMode eq 'direct' AND !$is_pay_later AND $amount GT 0}
266 {ts}Credit Card Information{/ts}
270 <td colspan="2" {$valueStyle}>
271 {$credit_card_type}<br />
272 {$credit_card_number}<br />
273 {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate}<br />
281 {ts}Premium Information{/ts}
285 <td colspan="2" {$labelStyle}>
315 {$start_date|crmDate}
329 {if $contact_email OR $contact_phone}
331 <td colspan="2" {$valueStyle}>
332 <p>{ts}For information about this premium, contact:{/ts}</p>
334 <p>{$contact_email}</p>
337 <p>{$contact_phone}</p>
342 {if $is_deductible AND $price}
344 <td colspan="2" {$valueStyle}>
345 <p>{ts 1=$price|crmMoney:$currency}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>
354 {$customPre_grouptitle}
357 {foreach from=$customPre item=customValue key=customName}
358 {if ($trackingFields and ! in_array($customName, $trackingFields)) or ! $trackingFields}
374 {$customPost_grouptitle}
377 {foreach from=$customPost item=customValue key=customName}
378 {if ($trackingFields and ! in_array($customName, $trackingFields)) or ! $trackingFields}