{$default_printpage = ConfigHelper::getConfig('invoices.default_printpage')} {$default_taxrate = ConfigHelper::getConfig('phpui.default_taxrate')}

{trans("Customer Account:")} {if $limit} {math equation="x * -1" x=$limit assign=n} ({t a=$n}last $a transactions{/t}) {/if} {trans("New document:")}   {trans("Show All:")}
{cycle name=bal values="light,lucid" print=false} {section name=balancelist loop=$balancelist.list start=$limit} {$item=$balancelist.list[balancelist]} {sectionelse} {/section}
{trans("Date:")} {trans("User:")} {trans("Liability:")} {trans("Income:")} {trans("Expense:")} » {trans("After:")} {trans("Description:")}  
{$item.date} {$item.username|truncate:16:"...":true} {if !$item.type}{($item.value*-1)|money_format}{else}-{/if} {if $item.type && $item.value > 0}+{$item.value|money_format}{else}-{/if} {if $item.type && $item.value < 0}{($item.value*-1)|money_format}{else}-{/if} » {$item.after|money_format} {$item.comment} {foreach $item.customlinks as $link} {if isset($link.icon)}[ {$link.label} ]{else}{$link.label}{/if} {/foreach} {if $item.docid} {if $item.doctype == $smarty.const.DOC_INVOICE} [ {trans( {elseif $item.doctype == $smarty.const.DOC_CNOTE} [ {trans( {elseif $item.doctype == $smarty.const.DOC_RECEIPT} [ {trans( {elseif $item.doctype == $smarty.const.DOC_DNOTE} [ {trans( {/if} {/if}

 

{trans("That customer hasn't got any transactions.")}

 

{if ConfigHelper::checkConfig('phpui.delete_link_in_customerbalancebox')} {trans("Delete")} {trans(  {/if} {trans("Print")}: {trans("invoices")}   {trans("cash receipts")}   {trans("debit notes")}  
{$layout.logname|truncate:16:"...":true}  
{if $sourcelist}
{/if}
{if $customerinfo.balance < 0} {trans("Clear Account")} {/if} {trans("Submit")}