{extends file="layout.html"} {block name=title}LMS: {$layout.pagetitle|striphtml}{/block} {block name=module_content}

{$layout.pagetitle}

{block name="customerlist-list-columns"} {assign var='number_of_table_columns' value='4'} {/block} {block name="customerlist-list-header"} {/block} {block name="customerlist-list-filters"} {/block} {block name="customerlist-list-header-pagination"} {if $pagination->getTotal() != 0} {/if} {/block} {block name="customerlist-list-footer-pagination"} {if $pagination->getTotal() != 0} {/if} {/block} {block name="customerlist-list-footer"} {/block} {foreach $customerlist as $customer} {block name="customerlist-list-row"} {/block} {foreachelse} {block name="customerlist-list-empty-row"} {/block} {/foreach}
{trans("First/last or Company name")} {if $filter.order == "customername"}{/if}
{trans("Address:")} {if $filter.order == "address"}{/if}
{trans("External ID:")} {if $filter.order == "extid"}{/if} / {trans("ID:")} {if $filter.order == "id"}{/if}
{trans("Services:")}
{if ConfigHelper::checkConfig('privileges.superuser') || !ConfigHelper::checkConfig('privileges.hide_finances')} {trans("Balance:")} {if $filter.order == "balance"}{/if}
{trans("Subscription:")} {if $filter.order == "tariff"}{/if} {/if}
{t a=$pagination->getTotal()}Total: $a{/t}
{trans("Filter:")} {trans("Customers:")} {trans("Division")}: {trans("Network:")} {if is_array($customergroups) && count($customergroups)} {trans("Group:")} {else} {/if} {if !empty($nodegroups) && count($nodegroups)} {trans("Nodes Group:")} {else} {/if} {trans("Assignments:")}
{persistent_filter}
{include file="pagination.html"}
{include file="pagination.html"}
  {if ConfigHelper::checkConfig('privileges.superuser') || (!ConfigHelper::checkConfig('privileges.hide_finances') && !ConfigHelper::checkConfig('privileges.hide_summaries'))} {trans("Outstandings")}:
{trans("Overcharges")}: {/if}
{if ConfigHelper::checkConfig('privileges.superuser') || (!ConfigHelper::checkConfig('privileges.hide_finances') && !ConfigHelper::checkConfig('privileges.hide_summaries'))} {$filter.below|money_format}
{$filter.over|money_format} {/if}
{t a=$pagination->getTotal()}Total: $a{/t}
{if $customer.info} {/if} {$customer.customername|escape}
 {$customer.full_address}{if $customer.country != ""}, {t}{$customer.country}{/t}{/if}
({if $customer.extid}{$customer.extid} / {/if}{$customer.id|string_format:"%04d"})
{if $customer.account} {/if}
{if ConfigHelper::checkConfig('privileges.superuser') || !ConfigHelper::checkConfig('privileges.hide_finances')} {$customer.balance|money_format}
{$customer.tariffvalue|money_format} {/if}
{if ConfigHelper::checkConfig('privileges.superuser') || !ConfigHelper::checkConfig('privileges.hide_finances')} {if $customer.balance < 0} {trans( {/if} {/if} {if $customer.account} {if $customer.status == $smarty.const.CSTATUS_CONNECTED} {if $customer.nodeac == 1} {trans( {else} {if $customer.nodeac == 2} {trans( {else}{trans( {/if} {/if} {/if} {/if} {if $customer.warncount} {if $customer.status == $smarty.const.CSTATUS_CONNECTED} {if $customer.nodewarn == 1} {trans( {else} {if $customer.nodewarn == 2} {trans( {else}{trans( {/if} {/if} {/if} {/if} {if $filter.state == 50} {trans( {else} {trans( {trans( {/if} {trans(

{trans("No such customers matching search criteria or list is empty.")}

{/block}