{include file="defaultlayer/piwi/includes/htmldoctype_selector.html"} {include file="defaultlayer/piwi/includes/htmlheader_selector.html"} {include file="defaultlayer/piwi/includes/pageheader_selector.html"}
{include file="defaultlayer/piwi/includes/sidebar_selector.html"}

Invoice Details for #{$invoicedetail.header.invoice|escape:'html'}

{if $companydata.addr2} {/if} {if $companydata.country} {/if}
{$companydata.name|escape:'html'}
{$companydata.addr1|escape:'html'}
{$companydata.addr2|escape:'html'}
{$companydata.citystate|escape:'html'}
{$companydata.country|escape:'html'}
Invoice # Date
{$invoicedetail.header.invoice|escape:'html'} {$invoicedetail.header.longdate|escape:'html'}
{if $headerdata.customer.addr2} {/if} {if $headerdata.customer.country} {/if}
Bill To Address
{$headerdata.customer.name|escape:'html'}
{$headerdata.customer.addr1|escape:'html'}
{$headerdata.customer.addr2|escape:'html'}
{$headerdata.customer.city|escape:'html'}, {$headerdata.customer.state|escape:'html'} {$headerdata.customer.zip|escape:'html'}
{$headerdata.customer.country|escape:'html'}
{if $invoicedetail.header.shipaddr2} {/if} {if $invoicedetail.header.shipcountry} {/if}
Ship To Address
{$invoicedetail.header.shipname|escape:'html'}
{$invoicedetail.header.shipaddr1|escape:'html'}
{$invoicedetail.header.shipaddr2|escape:'html'}
{$invoicedetail.header.shipcity|escape:'html'}, {$invoicedetail.header.shipstate|escape:'html'} {$invoicedetail.header.shipzip|escape:'html'}
{$invoicedetail.header.shipcountry|escape:'html'}
{ assign var=rowType value='odd'} { foreach from=$invoicedetail.detail item=thisItem} { if $rowType == 'odd'} { else} { /if} { if $rowType == 'odd'} { assign var=rowType value='even'} { else} { assign var=rowType value='odd'} { /if} { /foreach}
Item Description Price Qty Total
{$thisItem.item|escape:'html'} {$thisItem.descriptio|escape:'html'} ${$thisItem.priceDisplay|escape:'html'} {$thisItem.qty|escape:'html'} ${$thisItem.amountDisplay|escape:'html'}
Subtotal ${$invoicedetail.header.subtotalDisplay|escape:'html'}
Taxes ${$invoicedetail.header.taxtotalDisplay|escape:'html'}
Total ${$invoicedetail.header.totalDisplay|escape:'html'}
Paid ${$invoicedetail.header.paidDisplay|escape:'html'}
Due ${$invoicedetail.header.dueDisplay|escape:'html'}
{include file="defaultlayer/piwi/includes/pagefooter_selector.html"}