{if $customerinfo.post_name neq "" || $customerinfo.post_address neq ""} {/if} {foreach from=$customerinfo.contacts item=item} {/foreach} {if $customerinfo.email neq ""} {/if} {foreach from=$customerinfo.messengers item=item} {/foreach} {if $customerinfo.icn neq ""} {/if} {if $customerinfo.ssn neq ""} {/if} {if $customerinfo.ten neq ""} {/if} {if $customerinfo.regon neq ""} {/if} {if $customerinfo.rbe neq ""} {/if} {if $customergroups} {/if} {if !check_conf('privileges.hide_finances')} {/if}
{$customerinfo.customername|escape} ({$customerinfo.id|string_format:"%04d"}){if $customerinfo.deleted} ({trans("deleted customer")}){/if}
{if $customerinfo.status eq "3"}{/if} {if $customerinfo.status eq "2"}{/if} {if $customerinfo.status eq "1"}{/if} {if $customerinfo.status eq "3"}{trans("connected")}{/if} {if $customerinfo.status eq "2"}{trans("waiting")}{/if} {if $customerinfo.status eq "1"}{trans("interested")}{/if}
{$customerinfo.address}
{$customerinfo.zip} {$customerinfo.city}
{if $customerinfo.post_name neq ""}{$customerinfo.post_name}{/if} {if $customerinfo.post_address neq ""}
{$customerinfo.post_address}{/if}
{$customerinfo.post_zip} {$customerinfo.post_city}
{$item.phone} {if $item.typestr}[{$item.typestr}]{/if} {if $item.name} ({$item.name|truncate:"40":"...":true}){/if}
{$customerinfo.email}
{if $item.type == $smarty.const.IM_GG} {elseif $item.type == $smarty.const.IM_YAHOO} {elseif $item.type == $smarty.const.IM_SKYPE} {else} {/if} {if $item.type == $smarty.const.IM_GG} {$item.uid} {elseif $item.type == $smarty.const.IM_YAHOO} {$item.uid} {elseif $item.type == $smarty.const.IM_SKYPE} {$item.uid} {else} {$item.uid} {/if}
{trans("ICN")}: {$customerinfo.icn}
{trans("SSN")}: {$customerinfo.ssn}
{trans("TEN")}: {$customerinfo.ten}
{trans("REGON")}: {$customerinfo.regon}
{trans("RBE")}: {$customerinfo.rbe}
{foreach from=$customergroups item=customergroup name=customergroup} {$customergroup.name}{if !$smarty.foreach.customergroup.last},{/if} {/foreach}
{trans("Balance:")} {if $customerinfo.balance < 0}{$customerinfo.balance|money_format}{else}{$customerinfo.balance|default:"0"|money_format}{/if}