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}
94 {if $amount && !$is_separate_payment }
97 {ts}Contribution Amount{/ts}
108 {$amount+$membership_amount|crmMoney}
113 {elseif !$useForMember && $lineItem and $priceSetID and !$is_quick_config}
115 {foreach from=$lineItem item=value key=priceset}
117 <td colspan="2" {$valueStyle}>
118 <table> {* FIXME: style this table so that it looks like the text version (justification, etc.) *}
120 <th>{ts}Item{/ts}</th>
121 <th>{ts}Qty{/ts}</th>
122 <th>{ts}Each{/ts}</th>
123 <th>{ts}Total{/ts}</th>
125 {foreach from=$value item=line}
128 {$line.description|truncate:30:"..."}
134 {$line.unit_price|crmMoney}
137 {$line.line_total|crmMoney}
147 {ts}Total Amount{/ts}
155 {if $useForMember && $lineItem and !$is_quick_config}
156 {foreach from=$lineItem item=value key=priceset}
158 <td colspan="2" {$valueStyle}>
159 <table> {* FIXME: style this table so that it looks like the text version (justification, etc.) *}
161 <th>{ts}Item{/ts}</th>
162 <th>{ts}Fee{/ts}</th>
164 <th>{ts}SubTotal{/ts}</th>
165 <th>{ts}Tax Rate{/ts}</th>
166 <th>{ts}Tax Amount{/ts}</th>
167 <th>{ts}Total{/ts}</th>
169 <th>{ts}Membership Start Date{/ts}</th>
170 <th>{ts}Membership End Date{/ts}</th>
172 {foreach from=$value item=line}
175 {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}
178 {$line.line_total|crmMoney}
182 {$line.unit_price*$line.qty|crmMoney}
184 {if $line.tax_rate != "" || $line.tax_amount != ""}
186 {$line.tax_rate|string_format:"%.2f"}%
189 {$line.tax_amount|crmMoney}
196 {$line.line_total+$line.tax_amount|crmMoney}
214 {ts}Amount Before Tax:{/ts}
217 {$amount-$totalTaxAmount|crmMoney}
220 {foreach from=$dataArray item=value key=priceset}
222 {if $priceset || $priceset == 0}
223 <td> {$taxTerm} {$priceset|string_format:"%.2f"}%</td>
224 <td> {$value|crmMoney:$currency}</td>
226 <td> {ts}NO{/ts} {$taxTerm}</td>
227 <td> {$value|crmMoney:$currency}</td>
236 {ts}Total Tax Amount{/ts}
239 {$totalTaxAmount|crmMoney:$currency}
248 {$amount|crmMoney} {if $amount_level} - {$amount_level}{/if}
255 {elseif $membership_amount}
260 {ts}Membership Fee{/ts}
265 {ts 1=$membership_name}%1 Membership{/ts}
268 {$membership_amount|crmMoney}
281 {$receive_date|crmDate}
286 {if $is_monetary and $trxn_id}
289 {ts}Transaction #{/ts}
297 {if $membership_trx_id}
300 {ts}Membership Transaction #{/ts}
308 {if $contributeMode eq 'notify' or $contributeMode eq 'directIPN'}
310 <td colspan="2" {$labelStyle}>
311 {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}
314 {if $updateSubscriptionBillingUrl}
316 <td colspan="2" {$labelStyle}>
317 {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by <a href="%1">visiting this web page</a>.{/ts}
324 {if $honor_block_is_active}
330 {foreach from=$honoreeProfile item=value key=label}
345 {ts}Personal Campaign Page{/ts}
350 {ts}Display In Honor Roll{/ts}
353 {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}
356 {if $pcp_roll_nickname}
366 {if $pcp_personal_note}
369 {ts}Personal Note{/ts}
378 {if $onBehalfProfile}
381 {$onBehalfProfile_grouptitle}
384 {foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}
396 {if ! ($contributeMode eq 'notify' OR $contributeMode eq 'directIPN') and $is_monetary}
400 {ts}Registered Email{/ts}
404 <td colspan="2" {$valueStyle}>
408 {elseif $amount GT 0 OR $membership_amount GT 0}
411 {ts}Billing Name and Address{/ts}
415 <td colspan="2" {$valueStyle}>
417 {$address|nl2br}<br />
424 {if $contributeMode eq 'direct' AND !$is_pay_later AND ($amount GT 0 OR $membership_amount GT 0)}
427 {ts}Credit Card Information{/ts}
431 <td colspan="2" {$valueStyle}>
432 {$credit_card_type}<br />
433 {$credit_card_number}<br />
434 {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate}<br />
442 {ts}Premium Information{/ts}
446 <td colspan="2" {$labelStyle}>
476 {$start_date|crmDate}
490 {if $contact_email OR $contact_phone}
492 <td colspan="2" {$valueStyle}>
493 <p>{ts}For information about this premium, contact:{/ts}</p>
495 <p>{$contact_email}</p>
498 <p>{$contact_phone}</p>
503 {if $is_deductible AND $price}
505 <td colspan="2" {$valueStyle}>
506 <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>
515 {$customPre_grouptitle}
518 {foreach from=$customPre item=customValue key=customName}
519 {if ($trackingFields and ! in_array($customName, $trackingFields)) or ! $trackingFields}
535 {$customPost_grouptitle}
538 {foreach from=$customPost item=customValue key=customName}
539 {if ($trackingFields and ! in_array($customName, $trackingFields)) or ! $trackingFields}