{include file="clearheader.html"}

{$layout.pagetitle}

LMS {$layout.lmsv} @ {$layout.hostname}
{$smarty.now|date_format:"%A, %x"}
{t a=$layout.logname}Prepared by: $a{/t}

{if ConfigHelper::checkConfig('privileges.superuser') || !ConfigHelper::checkConfig('privileges.hide_finances')} {/if} {cycle values="white,grey" print=false} {section name=customerlist loop=$customerlist}{if $customerlist[customerlist].id} {assign var=cid value=$customerlist[customerlist].id} {if ConfigHelper::checkConfig('privileges.superuser') || !ConfigHelper::checkConfig('privileges.hide_finances')} {/if} {/if}{/section} {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")}
{if ConfigHelper::checkConfig('privileges.superuser') || !ConfigHelper::checkConfig('privileges.hide_finances')}{trans("Subscription")}
{/if} {trans("E-mail")}
{trans("TEN/SSN")}
{trans("Balance")}
{counter}. {$customerlist[customerlist].id|string_format:"%04d"} {if $customerlist[customerlist].extid}{$customerlist[customerlist].extid}{/if} {$customerlist[customerlist].customername}
{$customerlist[customerlist].zip} {$customerlist[customerlist].city}{if $customerlist[customerlist].city != ""},{/if} {$customerlist[customerlist].address}
{if $contactlist.$cid.type}{trans("mobile")}{else}{trans("phone")}{/if} {$contactlist.$cid.phone}
{if ConfigHelper::checkConfig('privileges.superuser') || !ConfigHelper::checkConfig('privileges.hide_finances')}{$customerlist[customerlist].tariffvalue|money_format}
{/if} {if $customerlist[customerlist].email}{$customerlist[customerlist].email}
{/if} {if $customerlist[customerlist].ten}{trans("TEN:")} {$customerlist[customerlist].ten}{elseif $customerlist[customerlist].ssn}{trans("SSN:")} {$customerlist[customerlist].ssn}{/if}
{$customerlist[customerlist].balance|money_format}
{trans("Total:")} {sum array=$customerlist column="tariffvalue" string_format=$LANGDEFS.$_language.money_format} {sum array=$customerlist column="balance" string_format=$LANGDEFS.$_language.money_format}
{include file="clearfooter.html"}