{capture assign=headerStyle}colspan="2" style="text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;"{/capture} {capture assign=labelStyle }style="padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;"{/capture} {capture assign=valueStyle }style="padding: 4px; border-bottom: 1px solid #999;"{/capture}
{if $receipt_text}

{$receipt_text|htmlize}

{/if} {if $is_pay_later}

{$pay_later_receipt}

{* FIXME: this might be text rather than HTML *} {else}

{ts}Please print this confirmation for your records.{/ts}

{/if}
{if $membership_assign && !$useForMember} {if $mem_start_date} {/if} {if $mem_end_date} {/if} {/if} {if $amount} {if !$useForMember and $membership_amount and $is_quick_config} {if $amount && !$is_separate_payment} {/if} {elseif !$useForMember && $lineItem and $priceSetID and !$is_quick_config} {foreach from=$lineItem item=value key=priceset} {/foreach} {else} {if $useForMember && $lineItem and !$is_quick_config} {foreach from=$lineItem item=value key=priceset} {/foreach} {if $dataArray} {foreach from=$dataArray item=value key=priceset} {if $priceset || $priceset == 0} {else} {/if} {/foreach} {/if} {/if} {if $totalTaxAmount} {/if} {/if} {elseif $membership_amount} {/if} {if $receive_date} {/if} {if $is_monetary and $trxn_id} {/if} {if $membership_trx_id} {/if} {if $is_recur} {if $contributeMode eq 'notify' or $contributeMode eq 'directIPN'} {if $updateSubscriptionBillingUrl} {/if} {/if} {/if} {if $honor_block_is_active} {foreach from=$honoreeProfile item=value key=label} {/foreach} {/if} {if $pcpBlock} {if $pcp_roll_nickname} {/if} {if $pcp_personal_note} {/if} {/if} {if $onBehalfProfile} {foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName} {/foreach} {/if} {if ! ($contributeMode eq 'notify' OR $contributeMode eq 'directIPN') and $is_monetary} {if $is_pay_later} {elseif $amount GT 0 OR $membership_amount GT 0} {/if} {/if} {if $contributeMode eq 'direct' AND !$is_pay_later AND ($amount GT 0 OR $membership_amount GT 0)} {/if} {if $selectPremium} {if $option} {/if} {if $sku} {/if} {if $start_date} {/if} {if $end_date} {/if} {if $contact_email OR $contact_phone} {/if} {if $is_deductible AND $price} {/if} {/if} {if $customPre} {foreach from=$customPre item=customValue key=customName} {if ($trackingFields and ! in_array($customName, $trackingFields)) or ! $trackingFields} {/if} {/foreach} {/if} {if $customPost} {foreach from=$customPost item=customValue key=customName} {if ($trackingFields and ! in_array($customName, $trackingFields)) or ! $trackingFields} {/if} {/foreach} {/if}
{ts}Membership Information{/ts}
{ts}Membership Type{/ts} {$membership_name}
{ts}Membership Start Date{/ts} {$mem_start_date|crmDate}
{ts}Membership End Date{/ts} {$mem_end_date|crmDate}
{ts}Membership Fee{/ts}
{ts 1=$membership_name}%1 Membership{/ts} {$membership_amount|crmMoney}
{ts}Contribution Amount{/ts} {$amount|crmMoney}
{ts}Total{/ts} {$amount+$membership_amount|crmMoney}
{* FIXME: style this table so that it looks like the text version (justification, etc.) *} {foreach from=$value item=line} {/foreach}
{ts}Item{/ts} {ts}Qty{/ts} {ts}Each{/ts} {ts}Total{/ts}
{$line.description|truncate:30:"..."} {$line.qty} {$line.unit_price|crmMoney} {$line.line_total|crmMoney}
{ts}Total Amount{/ts} {$amount|crmMoney}
{* FIXME: style this table so that it looks like the text version (justification, etc.) *} {if $dataArray} {/if} {foreach from=$value item=line} {if $dataArray} {if $line.tax_rate != "" || $line.tax_amount != ""} {else} {/if} {/if} {/foreach}
{ts}Item{/ts} {ts}Fee{/ts}{ts}SubTotal{/ts} {ts}Tax Rate{/ts} {ts}Tax Amount{/ts} {ts}Total{/ts}{ts}Membership Start Date{/ts} {ts}Membership End Date{/ts}
{if $line.html_type eq 'Text'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}
{$line.description|truncate:30:"..."}
{/if}
{$line.line_total|crmMoney} {$line.unit_price*$line.qty|crmMoney} {$line.tax_rate|string_format:"%.2f"}% {$line.tax_amount|crmMoney} {$line.line_total+$line.tax_amount|crmMoney} {$line.start_date} {$line.end_date}
{ts}Amount Before Tax:{/ts} {$amount-$totalTaxAmount|crmMoney}
 {$taxTerm} {$priceset|string_format:"%.2f"}%  {$value|crmMoney:$currency} {ts}NO{/ts} {$taxTerm}  {$value|crmMoney:$currency}
{ts}Total Tax Amount{/ts} {$totalTaxAmount|crmMoney:$currency}
{ts}Amount{/ts} {$amount|crmMoney} {if $amount_level} - {$amount_level}{/if}
{ts}Membership Fee{/ts}
{ts 1=$membership_name}%1 Membership{/ts} {$membership_amount|crmMoney}
{ts}Date{/ts} {$receive_date|crmDate}
{ts}Transaction #{/ts} {$trxn_id}
{ts}Membership Transaction #{/ts} {$membership_trx_id}
{ts 1=$cancelSubscriptionUrl}This membership will be renewed automatically. You can cancel the auto-renewal option by visiting this web page.{/ts}
{ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by visiting this web page.{/ts}
{$soft_credit_type}
{$label} {$value}
{ts}Personal Campaign Page{/ts}
{ts}Display In Honor Roll{/ts} {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}
{ts}Nickname{/ts} {$pcp_roll_nickname}
{ts}Personal Note{/ts} {$pcp_personal_note}
{$onBehalfProfile_grouptitle}
{$onBehalfName} {$onBehalfValue}
{ts}Registered Email{/ts}
{$email}
{ts}Billing Name and Address{/ts}
{$billingName}
{$address|nl2br}
{$email}
{ts}Credit Card Information{/ts}
{$credit_card_type}
{$credit_card_number}
{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate}
{ts}Premium Information{/ts}
{$product_name}
{ts}Option{/ts} {$option}
{ts}SKU{/ts} {$sku}
{ts}Start Date{/ts} {$start_date|crmDate}
{ts}End Date{/ts} {$end_date|crmDate}

{ts}For information about this premium, contact:{/ts}

{if $contact_email}

{$contact_email}

{/if} {if $contact_phone}

{$contact_phone}

{/if}

{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}

{$customPre_grouptitle}
{$customName} {$customValue}
{$customPost_grouptitle}
{$customName} {$customValue}