{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} {capture assign=emptyBlockStyle }style="padding: 10px; border-bottom: 1px solid #999;background-color: #f7f7f7;"{/capture} {capture assign=emptyBlockValueStyle }style="padding: 10px; border-bottom: 1px solid #999;"{/capture}

Dear {$contactDisplayName}

{if $isRefund}

{ts}A refund has been issued based on changes in your registration selections.{/ts}

{else}

{ts}A payment has been received.{/ts}

{/if}

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

{if $isRefund} {else} {* This will be zero after final payment. *} {if $paymentsComplete} {/if} {/if} {if $receive_date} {/if} {if $trxn_id} {/if} {if $paidBy} {/if} {if $checkNumber} {/if}
{ts}Refund Details{/ts}
{ts}Total Amount{/ts} {$totalAmount|crmMoney}
{ts}You Paid{/ts} {$totalPaid|crmMoney}
{ts}Refund Amount{/ts} {$refundAmount|crmMoney}
{ts}Payment Details{/ts}
{ts}Total Amount{/ts} {$totalAmount|crmMoney}
{ts}This Payment Amount{/ts} {$paymentAmount|crmMoney}
{ts}Balance Owed{/ts} {$amountOwed|crmMoney}
{ts}Thank you for completing payment.{/ts}
{ts}Transaction Date{/ts} {$receive_date|crmDate}
{ts}Transaction #{/ts} {$trxn_id}
{ts}Paid By{/ts} {$paidBy}
{ts}Check Number{/ts} {$checkNumber}
{if $contributeMode eq 'direct' and !$isAmountzero} {/if} {if $contributeMode eq'direct' and !$isAmountzero} {/if} {if $component eq 'event'} {if $event.participant_role} {/if} {if $isShowLocation} {/if} {if $location.phone.1.phone || $location.email.1.email} {foreach from=$location.phone item=phone} {if $phone.phone} {/if} {/foreach} {foreach from=$location.email item=eventEmail} {if $eventEmail.email} {/if} {/foreach} {/if} {*phone block close*} {/if}
{ts}Billing Name and Address{/ts}
{$billingName}
{$address|nl2br}
{ts}Credit Card Information{/ts}
{$credit_card_type}
{$credit_card_number}
{ts}Expires:{/ts} {$credit_card_exp_date|truncate:7:''|crmDate}
{ts}Event Information and Location{/ts}
{$event.event_title}
{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:"%Y%m%d" == $event.event_start_date|date_format:"%Y%m%d"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}
{ts}Participant Role{/ts} {$event.participant_role}
{$location.address.1.display|nl2br}
{ts}Event Contacts:{/ts}
{if $phone.phone_type} {$phone.phone_type_display} {else} {ts}Phone{/ts} {/if} {$phone.phone} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}
{ts}Email{/ts} {$eventEmail.email}