{trans("Name/Surname:")}
{trans("First name:")}
{trans("External system identifier:")}
{block name="customereditbox-leftcolumn"}
{foreach $_CSTATUSES as $statusidx => $status}
{$status.singularlabel}
{/foreach}
{if $divisions}
{foreach from=$divisions item=item} {if !$item.status || $item.id == $customerinfo.divisionid}
{$item.shortname}
{/if} {/foreach}
{/if}
{assign var='type' value=$smarty.const.CTYPES_PRIVATE}{$_CTYPES.$type}
{assign var='type' value=$smarty.const.CTYPES_COMPANY}{$_CTYPES.$type}
{$addr_counter = 0}
{foreach $customerinfo.addresses as $v} {if $v.location_address_type == $smarty.const.BILLING_ADDRESS} {$v.prefix = "customerdata[addresses]["|cat:$addr_counter|cat:"]"} {$addr_counter = $addr_counter + 1} {$v.hide_name=true} {location_box_expandable data=$v} {/if} {/foreach}
{$postal_addr = 0} {foreach $customerinfo.addresses as $v} {if $v.location_address_type == $smarty.const.POSTAL_ADDRESS} {$v.prefix = "customerdata[addresses]["|cat:$addr_counter|cat:"]"} {$addr_counter = $addr_counter + 1} {$postal_addr = 1} {location_box_expandable data=$v} {/if} {/foreach} {* if postal address is not set *} {if $postal_addr == 0} {$tmp['location_address_type'] = $smarty.const.POSTAL_ADDRESS} {$tmp['prefix'] = "customerdata[addresses]["|cat:$addr_counter|cat:"]"} {$addr_counter = $addr_counter + 1} {location_box_expandable data=$tmp} {/if}
{foreach $customerinfo.addresses as $v} {if $v.location_address_type != $smarty.const.BILLING_ADDRESS && $v.location_address_type != $smarty.const.POSTAL_ADDRESS }
{if $v.location_address_type == $smarty.const.DEFAULT_LOCATION_ADDRESS}
{else}
{/if}
{$v.prefix = "customerdata[addresses]["|cat:$addr_counter|cat:"]"} {$v.default_type = 1} {$v.clear_button = 1} {$addr_counter = $addr_counter + 1} {location_box_expandable data=$v}
{/if} {/foreach}
{trans('Add address')} »»»
{include file="customer/customercontacts.html" customerinfo=$customerinfo formelemprefix="customerdata"}
»»»
{trans("ICN")}:
{trans("SSN")}:
{if $customerinfo.ssnwarning}
{/if} {if $customerinfo.ssnexistencewarning}
{/if}
{trans("TEN")}:
{if $customerinfo.tenwarning}
{/if} {if $customerinfo.tenexistencewarning}
{/if}
{trans("REGON")}:
{trans("RBE Name:")}
{$customerinfo.rbename|escape}
{trans("RBE")}:
{trans("Deadline:")}
- {trans("default")} -
0
7
10
14
21
30
60
90
{trans("Payment type:")}
- {trans("default")} -
{foreach from=$_PAYTYPES item=item key=key}
{$item}
{/foreach}
{trans("Cutoff suspending:")}
{trans("indefinitely")}
{block name="customereditbox-options"}
{trans("Consent to personal data processing:")}
{trans("Cancellation of a traditional invoice (agreement on an electronic invoice):")}
{trans("Consent to invoices delivery via e-mail:")}
{trans("Consent to messages delivery via e-mail or sms:")}
{/block}
{/block}
{block name="customereditbox-rightcolumn"}
{$customerinfo.info|escape}
{$customerinfo.message|escape}
{$customerinfo.notes|escape}
{trans("Balance:")}
{if $customerinfo.balance < 0}
{$customerinfo.balance|money_format}
{else}{$customerinfo.balance|money_format}{/if}
{trans("Created:")}
{$customerinfo.createdby}, {$customerinfo.creationdateh}
{trans("Modified:")}
{if $customerinfo.moddate}{$customerinfo.modifiedby}, {$customerinfo.moddateh}{else}-{/if}
{/block}
{trans("Submit")}
{trans("Cancel")}