| {icon name="customer"} | {$customerinfo.customername|escape} {if $customerinfo.altname}[{$customerinfo.altname|escape}]{/if} ({$customerinfo.id|string_format:"%04d"}) {if $customerinfo.deleted} ({trans("deleted customer")}){/if} |
| {icon name="customer-status-{$_CSTATUSES[$customerinfo.status].alias}"} | {$_CSTATUSES[$customerinfo.status].singularlabel} |
| {icon name="home"} |
{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} |
| {icon name="mail"} |
{if $customerinfo.post_name != ""}{$customerinfo.post_name|escape}{/if}
{if $customerinfo.post_address != ""}{if $customerinfo.post_name != ""} {/if} {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 $address.location_address_type == $smarty.const.LOCATION_ADDRESS} {icon name="customer-location"} {else} {icon name="default-customer-location"} {/if} |
{if $address.location_name != ""}{$address.location_name|escape} {/if} {$address.location|escape} |
| {icon name="user-id-number"} | {trans("Identity type:")}: {trans($_IDENTITY_TYPES[$customerinfo.ict])} |
| {icon name="user-id-number"} | {trans("Identity number:")}: {$customerinfo.icn|escape} {if $customerinfo.icexpires !== ''} {if $customerinfo.icexpires > 0} {textformat assign="icexpires"} {strip} {$customerinfo.icexpires|date_format:"Y-m-d"} {/strip} {/textformat} ({t a=$icexpires}expires $a{/t}) {elseif $customerinfo.icexpires === '0'} ({trans("never expires")}) {/if} {/if} |
| {icon name="user-id-number"} | {trans("SSN")}: {$customerinfo.ssn|escape} |
| {icon name="user-id-number"} | {trans("TEN")}: {$customerinfo.ten} |
| {icon name="user-id-number"} | {trans("REGON")}: {$customerinfo.regon} |
| {icon name="user-id-number"} | {trans("RBE")}: {$customerinfo.rbe|escape} |
| {icon name="customergroup"} | {foreach from=$customergroups item=customergroup name=customergroup} {$customergroup.name}{if !$smarty.foreach.customergroup.last},{/if} {/foreach} |
| {icon name="money"} | {trans("Balance:")} {if $customerinfo.balance < 0}{$customerinfo.balance|money_format}{else}{$customerinfo.balance|default:"0"|money_format}{/if} |