{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}
{assign var="greeting" value="{contact.email_greeting}"}{if $greeting}

{$greeting},

{/if} {if !empty($receipt_text)}

{$receipt_text|htmlize}

{/if} {if $is_pay_later}

{$pay_later_receipt}

{* FIXME: this might be text rather than HTML *} {/if}
{if $amount} {if $isShowLineItems} {foreach from=$lineItem item=value key=priceset} {/foreach} {if !empty($dataArray)} {foreach from=$dataArray item=value key=priceset} {if $priceset || $priceset == 0} {else} {/if} {/foreach} {/if} {if $isShowTax} {/if} {else} {if !empty($totalTaxAmount)} {/if} {/if} {/if} {if !empty($receive_date)} {/if} {if !empty($is_monetary) and !empty($trxn_id)} {/if} {if !empty($is_recur)} {if $updateSubscriptionBillingUrl} {/if} {if $updateSubscriptionUrl} {/if} {/if} {if $honor_block_is_active} {foreach from=$honoreeProfile item=value key=label} {/foreach} {elseif !empty($softCreditTypes) and !empty($softCredits)} {foreach from=$softCreditTypes item=softCreditType key=n} {foreach from=$softCredits.$n item=value key=label} {/foreach} {/foreach} {/if} {if !empty($pcpBlock)} {if $pcp_roll_nickname} {/if} {if $pcp_personal_note} {/if} {/if} {if !empty($onBehalfProfile)} {foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName} {/foreach} {/if} {if !empty($isShare)} {/if} {if !empty($billingName)} {elseif !empty($email)} {/if} {if !empty($credit_card_type)} {/if} {if !empty($selectPremium)} {if $option} {/if} {if $sku} {/if} {if $start_date} {/if} {if $end_date} {/if} {if !empty($contact_email) OR !empty($contact_phone)} {/if} {if !empty($is_deductible) AND !empty($price)} {/if} {/if} {if !empty($customPre)} {foreach from=$customPre item=customValue key=customName} {if (!empty($trackingFields) and ! in_array($customName, $trackingFields)) or empty($trackingFields)} {/if} {/foreach} {/if} {if !empty($customPost)} {foreach from=$customPost item=customValue key=customName} {if (!empty($trackingFields) and ! in_array($customName, $trackingFields)) or empty($trackingFields)} {/if} {/foreach} {/if}
{ts}Contribution Information{/ts}
{if !empty($dataArray)} {/if} {foreach from=$value item=line} {if !empty($getTaxDetails)} {if $line.tax_rate || $line.tax_amount != ""} {else} {/if} {/if} {/foreach}
{ts}Item{/ts} {ts}Qty{/ts} {ts}Each{/ts}{ts}Subtotal{/ts} {ts}Tax Rate{/ts} {ts}Tax Amount{/ts}{ts}Total{/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.qty} {$line.unit_price|crmMoney:$currency} {$line.unit_price*$line.qty|crmMoney:$currency} {$line.tax_rate|string_format:"%.2f"}% {$line.tax_amount|crmMoney:$currency} {$line.line_total+$line.tax_amount|crmMoney:$currency}
{ts} Amount before Tax : {/ts} {$amount-$totalTaxAmount|crmMoney:$currency}
 {$taxTerm} {$priceset|string_format:"%.2f"}%  {$value|crmMoney:$currency} {ts}No{/ts} {$taxTerm}  {$value|crmMoney:$currency}
{ts}Total Tax{/ts} {$totalTaxAmount|crmMoney:$currency}
{ts}Total Amount{/ts} {$amount|crmMoney:$currency}
{ts}Total Tax Amount{/ts} {contribution.tax_amount|crmMoney}
{ts}Amount{/ts} {$amount|crmMoney:$currency} {if '{contribution.amount_level}'} - {contribution.amount_level}{/if}
{ts}Date{/ts} {$receive_date|crmDate}
{ts}Transaction #{/ts} {$trxn_id}
{ts}This is a recurring contribution.{/ts} {if $cancelSubscriptionUrl} {ts 1=$cancelSubscriptionUrl}You can cancel future contributions by visiting this web page.{/ts} {/if}
{ts 1=$updateSubscriptionBillingUrl}You can update billing details for this recurring contribution by visiting this web page.{/ts}
{ts 1=$updateSubscriptionUrl}You can update recurring contribution amount or change the number of installments for this recurring contribution by visiting this web page.{/ts}
{$soft_credit_type}
{$label} {$value}
{$softCreditType}
{$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}
{capture assign=contributionUrl}{crmURL p='civicrm/contribute/transact' q="reset=1&id=`$contributionPageId`" a=true fe=1 h=1}{/capture} {include file="CRM/common/SocialNetwork.tpl" emailMode=true url=$contributionUrl title=$title pageURL=$contributionUrl}
{ts}Billing Name and Address{/ts}
{$billingName}
{$address|nl2br}
{$email}
{ts}Registered Email{/ts}
{$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 !empty($contact_email)}

{$contact_email}

{/if} {if !empty($contact_phone)}

{$contact_phone}

{/if}

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

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