{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 $amount} {if $lineItem and $priceSetID 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 $totalTaxAmount} {/if} {else} {if $totalTaxAmount} {/if} {/if} {/if} {if $receive_date} {/if} {if $is_monetary and $trxn_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} {elseif $softCreditTypes and $softCredits} {foreach from=$softCreditTypes item=softCreditType key=n} {foreach from=$softCredits.$n item=value key=label} {/foreach} {/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 $isShare} {/if} {if ! ($contributeMode eq 'notify' OR $contributeMode eq 'directIPN') and $is_monetary} {if $is_pay_later && !$isBillingAddressRequiredForPayLater} {elseif $amount GT 0} {/if} {/if} {if $contributeMode eq 'direct' AND !$is_pay_later AND $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}Contribution Information{/ts}
{* FIXME: style this table so that it looks like the text version (justification, etc.) *} {if $dataArray} {/if} {foreach from=$value item=line} {if $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} {$totalTaxAmount|crmMoney:$currency}
{ts}Amount{/ts} {$amount|crmMoney:$currency} {if $amount_level} - {$amount_level}{/if}
{ts}Date{/ts} {$receive_date|crmDate}
{ts}Transaction #{/ts} {$trxn_id}
{ts 1=$cancelSubscriptionUrl}This is a recurring contribution. You can cancel future contributions by visiting this web page.{/ts}
{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}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:$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}