{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} {if $mem_start_date} {/if} {if $mem_end_date} {/if} {/if} {if $amount} {if $membership_amount} {if $amount} {if ! $is_separate_payment } {else} {/if} {/if} {elseif $lineItem and $priceSetID} {foreach from=$lineItem item=value key=priceset} {/foreach} {else} {/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} {/if} {if $honor_block_is_active} {if $honor_email} {/if} {/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}Additional Contribution{/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}
{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 modify or cancel the auto-renewal option by visiting this web page.{/ts}
{$honor_type}
{$honor_prefix} {$honor_first_name} {$honor_last_name}
{ts}Honoree Email{/ts} {$honor_email}
{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}