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;">
43 {ts}Contribution Information{/ts}
47 {if $lineItem and $priceSetID and !$is_quick_config}
49 {foreach from=$lineItem item=value key=priceset}
51 <td colspan="2" {$valueStyle}>
52 <table> {* FIXME: style this table so that it looks like the text version (justification, etc.) *}
54 <th>{ts}Item{/ts}</th>
56 <th>{ts}Each{/ts}</th>
58 <th>{ts}Subtotal{/ts}</th>
59 <th>{ts}Tax Rate{/ts}</th>
60 <th>{ts}Tax Amount{/ts}</th>
62 <th>{ts}Total{/ts}</th>
64 {foreach from=$value item=line}
67 {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}
73 {$line.unit_price|crmMoney:$currency}
77 {$line.unit_price*$line.qty|crmMoney:$currency}
79 {if $line.tax_rate != "" || $line.tax_amount != ""}
81 {$line.tax_rate|string_format:"%.2f"}%
84 {$line.tax_amount|crmMoney:$currency}
92 {$line.line_total+$line.tax_amount|crmMoney:$currency}
103 {ts} Amount before Tax : {/ts}
106 {$amount-$totalTaxAmount|crmMoney:$currency}
110 {foreach from=$dataArray item=value key=priceset}
112 {if $priceset || $priceset == 0}
113 <td> {$taxTerm} {$priceset|string_format:"%.2f"}%</td>
114 <td> {$value|crmMoney:$currency}</td>
116 <td> {ts}No{/ts} {$taxTerm}</td>
117 <td> {$value|crmMoney:$currency}</td>
129 {$totalTaxAmount|crmMoney:$currency}
135 {ts}Total Amount{/ts}
138 {$amount|crmMoney:$currency}
147 {ts}Total Tax Amount{/ts}
150 {$totalTaxAmount|crmMoney:$currency}
159 {$amount|crmMoney:$currency} {if $amount_level} - {$amount_level}{/if}
174 {$receive_date|crmDate}
179 {if $is_monetary and $trxn_id}
182 {ts}Transaction #{/ts}
192 <td colspan="2" {$labelStyle}>
193 {ts}This is a recurring contribution.{/ts}
194 {if $cancelSubscriptionUrl}
195 {ts 1=$cancelSubscriptionUrl}You can cancel future contributions by <a href="%1">visiting this web page</a>.{/ts}
199 {if $updateSubscriptionBillingUrl}
201 <td colspan="2" {$labelStyle}>
202 {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this recurring contribution by <a href="%1">visiting this web page</a>.{/ts}
206 {if $updateSubscriptionUrl}
208 <td colspan="2" {$labelStyle}>
209 {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}
215 {if $honor_block_is_active}
221 {foreach from=$honoreeProfile item=value key=label}
231 {elseif $softCreditTypes and $softCredits}
232 {foreach from=$softCreditTypes item=softCreditType key=n}
238 {foreach from=$softCredits.$n item=value key=label}
254 {ts}Personal Campaign Page{/ts}
259 {ts}Display In Honor Roll{/ts}
262 {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}
265 {if $pcp_roll_nickname}
275 {if $pcp_personal_note}
278 {ts}Personal Note{/ts}
287 {if $onBehalfProfile}
290 {$onBehalfProfile_grouptitle}
293 {foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}
307 <td colspan="2" {$valueStyle}>
308 {capture assign=contributionUrl}{crmURL p='civicrm/contribute/transact' q="reset=1&id=`$contributionPageId`" a=true fe=1 h=1}{/capture}
309 {include file="CRM/common/SocialNetwork.tpl" emailMode=true url=$contributionUrl title=$title pageURL=$contributionUrl}
317 {ts}Billing Name and Address{/ts}
321 <td colspan="2" {$valueStyle}>
323 {$address|nl2br}<br />
330 {ts}Registered Email{/ts}
334 <td colspan="2" {$valueStyle}>
340 {if $credit_card_type}
343 {ts}Credit Card Information{/ts}
347 <td colspan="2" {$valueStyle}>
348 {$credit_card_type}<br />
349 {$credit_card_number}<br />
350 {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate}<br />
358 {ts}Premium Information{/ts}
362 <td colspan="2" {$labelStyle}>
392 {$start_date|crmDate}
406 {if $contact_email OR $contact_phone}
408 <td colspan="2" {$valueStyle}>
409 <p>{ts}For information about this premium, contact:{/ts}</p>
411 <p>{$contact_email}</p>
414 <p>{$contact_phone}</p>
419 {if $is_deductible AND $price}
421 <td colspan="2" {$valueStyle}>
422 <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>
431 {$customPre_grouptitle}
434 {foreach from=$customPre item=customValue key=customName}
435 {if ($trackingFields and ! in_array($customName, $trackingFields)) or ! $trackingFields}
451 {$customPost_grouptitle}
454 {foreach from=$customPost item=customValue key=customName}
455 {if ($trackingFields and ! in_array($customName, $trackingFields)) or ! $trackingFields}