{icon name="customer" class="{if $customerpanel} lms-ui-sortable-handle{/if}"}
{if $customerpanel}{trans("Owner:")}{/if}
{$customerinfo.customername|escape} ({$customerinfo.id|string_format:"%04d"}{if $customerinfo.extid} / {$customerinfo.extid|escape}{/if})
{karma title="Karma" value=$customerinfo.karma handler="?m=customeredit&id={$customerinfo.id}&op=changekarma"}
{if $customerinfo.deleted} ({trans("deleted customer")}){/if}
{if $customerpanel}{trans('Navigate to the customer')} »{/if}
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{block name="customerinfobox-buttons"} {if $customerinfo.deleted} {if ConfigHelper::checkPrivilege('permanent_customer_removal')} {button id="remove-button" icon="remove" label="Remove permanently" data_href="?m=customerdel&id={$customerinfo.id}&type=permanent"} {/if} {button id="restore-button" icon="restore" label="Restore" href="?m=customeredit&id={$customerinfo.id}&action=recover"} {else} {button type="link-button" id="rtsearch-button" class="{if $customerstats['tickets']['notresolved']}bold{/if}" icon="timetable" label="{trans("Tickets")}{if $customerstats['tickets']} ({$customerstats['tickets']['all']}{if $customerstats['tickets']['notresolved']} / {$customerstats['tickets']['notresolved']}{/if}){/if}" href="?m=rtsearch&id={$customerinfo.id}"} {button type="link-button" id="accounts-button" icon="customer" label="{trans("Accounts")} ({$customerstats['accounts']})" href="?m=accountlist&u={$customerinfo.id}"} {button type="link-button" id="domains-button" icon="network" label="{trans("Domains")} ({$customerstats['domains']})" href="?m=domainlist&c={$customerinfo.id}"} {button type="link-button" id="stats-button" icon="stats" label="Stats" href="?m=trafficprint&type=customertraffic&customer={$customerinfo.id}"} {button type="link-button" id="edit-button" icon="edit" label="Edit" href="?m=customeredit&id={$customerinfo.id}"} {if ConfigHelper::checkPrivilege('customer_removal')} {button id="delete-button" icon="delete" label="Delete" data_href="?m=customerdel&id={$customerinfo.id}"} {/if} {/if} {if $info_link} {button type="link-button" id="info-button" icon="info" label="Info" href="?m=customerinfo&id={$customerinfo.id}"} {/if} {/block} |