{include file="clearheader.html"}

{$layout.pagetitle}

LMS {$layout.lmsv} @ {$layout.hostname}
{t a=trans($smarty.now|date_format:"l") b=$smarty.now|date_format:"Y-m-d"}$a, $b{/t}
{t a=$layout.logname}Prepared by: $a{/t}

{if $customernodes} {/if} {if ConfigHelper::checkConfig('privileges.superuser') || !ConfigHelper::checkConfig('privileges.hide_finances')} {/if} {cycle values="white,grey" print=false} {foreach $customerlist as $customer} {if !empty($customer.id)} {$cid = $customer.id} {if $customernodes} {/if} {if ConfigHelper::checkConfig('privileges.superuser') || !ConfigHelper::checkConfig('privileges.hide_finances')} {/if} {/if} {/foreach} {if ConfigHelper::checkConfig('privileges.superuser') || (!ConfigHelper::checkConfig('privileges.hide_finances') && !ConfigHelper::checkConfig('privileges.hide_summaries'))} {/if}
{trans("No.")} {trans("ID")} {trans("External ID")} {trans("First/last name")} / {trans("Name")}
{trans("Address")}
{trans("Phone")}
{trans("Nodes")} {if ConfigHelper::checkConfig('privileges.superuser') || !ConfigHelper::checkConfig('privileges.hide_finances')}{trans("Subscription")}
{/if} {trans("E-mail")}
{trans("TEN/SSN")}
{trans("Balance")}
{counter}. {$customer.id|string_format:"%04d"} {if $customer.extid} {$customer.extid|escape} {/if} {$customer.customername}
{$customer.zip} {$customer.city}{if $customer.city != ""},{/if} {$customer.address}
{if $contactlist.$cid.type} {trans("mobile")} {else} {trans("phone")} {/if} {$contactlist.$cid.phone}
{foreach $customer.nodes as $node} {$node.name} ({$node.ip} / {$node.mac}) {if !$node@last}
{/if} {/foreach}
{if ConfigHelper::checkConfig('privileges.superuser') || !ConfigHelper::checkConfig('privileges.hide_finances')} {$customer.tariffvalue|money_format}
{/if} {if $customer.email} {$customer.email|replace:",":', '}
{/if} {if $customer.ten}{trans("TEN:")} {$customer.ten} {elseif $customer.ssn}{trans("SSN:")} {if empty($listdata.hidessn)} {$customer.ssn} {else} {trans("(hidden)")} {/if} {/if}
{$customer.balance|money_format}
{trans("Total:")} {sum array=$customerlist column="tariffvalue" string_format=Localisation::getCurrentMoneyFormat()} {sum array=$customerlist column="balance" string_format=Localisation::getCurrentMoneyFormat()}
{include file="clearfooter.html"}