|
{$_CSTATUSES[$customerinfo.status].singularlabel}
|
|
{if $customerinfo.postoffice && $customerinfo.postoffice != $customerinfo.city && $customerinfo.street}{$customerinfo.city}, {/if}{$customerinfo.address}
{$customerinfo.zip} {if $customerinfo.postoffice}{$customerinfo.postoffice}{else}{$customerinfo.city}{/if}
|
{if $customerinfo.post_name != "" || $customerinfo.post_address != ""}
|
{if $customerinfo.post_name != ""}{$customerinfo.post_name}{/if}
{if $customerinfo.post_address != ""}
{if $customerinfo.post_postoffice && $customerinfo.post_postoffice != $customerinfo.post_city && $customerinfo.post_street}{$customerinfo.post_city}, {/if}
{$customerinfo.post_address}
{/if}
{$customerinfo.post_zip} {if $customerinfo.post_postoffice}{$customerinfo.post_postoffice}{else}{$customerinfo.post_city}{/if}
|
{/if}
{foreach $customerinfo.contacts as $item}
|
{$item.phone}
{if $item.typestr}[{$item.typestr}]{/if}
{if $item.name} ({$item.name|truncate:"40":"...":true}){/if}
|
{/foreach}
{if !empty($customerinfo.emails)}
|
{foreach $customerinfo.emails as $email}
{$email.email}
{if $email.name} ({$email.name|truncate:"40":"...":true}){/if}
{if !$email@last} {/if}
{/foreach}
|
{/if}
{if !empty($customerinfo.ims)}
|
{$properties = $_CUSTOMERCONTACTTYPES['im']}
{foreach $customerinfo.ims as $im}
{if isset($properties.formatter)}{call_user_func($properties['formatter'], $im)}{else}{$im.contact}{/if}
{if $im.typestr}[{$im.typestr}]{/if}
{if $im.name} ({$im.name|truncate:"40":"...":true}){/if}
{if !$im@last} {/if}
{/foreach}
|
{/if}
{if $customerinfo.icn != ""}
|
{trans("ICN")}: {$customerinfo.icn}
|
{/if}
{if $customerinfo.ssn != ""}
|
{trans("SSN")}: {$customerinfo.ssn}
|
{/if}
{if $customerinfo.ten != ""}
|
{trans("TEN")}: {$customerinfo.ten}
|
{/if}
{if $customerinfo.regon != ""}
|
{trans("REGON")}: {$customerinfo.regon}
|
{/if}
{if $customerinfo.rbe != ""}
|
{trans("RBE")}: {$customerinfo.rbe}
|
{/if}
{if $customergroups}
|
{foreach from=$customergroups item=customergroup name=customergroup}
{$customergroup.name}{if !$smarty.foreach.customergroup.last},{/if}
{/foreach}
|
{/if}
{if ConfigHelper::checkConfig('privileges.superuser') || !ConfigHelper::checkConfig('privileges.hide_finances')}
|
{trans("Balance:")}
{if $customerinfo.balance < 0}{$customerinfo.balance|money_format}{else}{$customerinfo.balance|default:"0"|money_format}{/if}
|
{/if}