{extends file="layout.html"}
{block name=title}LMS: {$layout.pagetitle|striphtml}{/block}
{block name=module_content}
<!--// $Id$ //-->
<H1>{$layout.pagetitle}</H1>
<div id="customeredit-sortable" class="lms-ui-sortable-persistent">
{block name="customereditbox"}
	{include file="customer/customereditbox.html"}
{/block}
{block name="customerextids"}
	{include file="customer/customerextids.html"}
{/block}
{block name="customernotes"}
	{include file="customer/customernotes.html" limit=10}
{/block}
{block name="customernodesbox"}
	{include file="customer/customernodesbox.html"}
{/block}
{block name="customernetworksbox"}
	{include file="customer/customernetworksbox.html"}
{/block}
{block name="transactions"}
	{if ConfigHelper::checkConfig('logs.enabled') && (ConfigHelper::checkConfig('privileges.superuser') || ConfigHelper::checkConfig('privileges.transaction_logs'))}
			{include file="transactions.html"}
	{/if}
{/block}
{block name="customervoipaccountsbox"}
	{include file="customer/customervoipaccountsbox.html"}
{/block}
{block name="customercallbox"}
	{if ConfigHelper::checkPrivilege('readonly')
		|| ConfigHelper::checkPrivilege('customer_call_view')
		|| ConfigHelper::checkPrivilege('customer_call_management')}
		{include file="customer/customercallbox.html" limit=ConfigHelper::getConfig('phpui.customer_call_limit', 20)}
	{/if}
{/block}
{block name="customerdocuments"}
	{include file="customer/customerdocuments.html" limit=10}
{/block}
{block name="customermessages"}
	{if ConfigHelper::checkPrivileges('messaging', 'messaging_view')}
		{include file="customer/customermessages.html" limit=10}
	{/if}
{/block}
{block name="customerevents"}
	{include file="customer/customerevents.html" limit=ConfigHelper::getConfig('timetable.customer_event_limit', ConfigHelper::getConfig('customers.event_limit', ConfigHelper::getConfig('phpui.customer_event_limit', 10)))}
{/block}
{block name="customergroups"}
	{include file="customer/customergroups.html"}
{/block}
{block name="customerdevices"}
	{include file="customer/customerdevices.html"}
{/block}
{block name="customerassignments"}
	{include file="customer/customerassignments.html"}
{/block}
{block name="customerbalancebox"}
	{if (ConfigHelper::checkPrivilege('read_only') || ConfigHelper::checkPrivilege('finances_view') || ConfigHelper::checkPrivilege('financial_operations') || ConfigHelper::checkPrivilege('finances_management'))
		&& !ConfigHelper::checkPrivilege('hide_finances')}
		{include file="customer/customerbalancebox.html" limit=intval(ConfigHelper::getConfig('customers.financial_operation_list_default_limit', 10)) * -1}
	{/if}
{/block}
</div>
<script>

	restoreSortable('customeredit-sortable', '{$customeredit_sortable_order}');

</script>

{resource_tab_selector}

{/block}
