{$item.id|string_format:"%04d"}
|
{$item.date|date_format:"%Y/%m/%d"}
|
{$item.value|money_format}
|
{if $item.customer}{$item.customer}
{elseif $item.customerid}
{assign var=cust value=$item.customerid}
{$customerlist.$cust.customername}
{/if}
|
{$item.description}
|
{if !$item.customerid}
{else}
{/if}
|
{/foreach}
{/if}{/foreach}
{if !$listdata.total}