{include file="header.html"}

{$layout.pagetitle}

{if $listdata.total != 0} {/if} {cycle values="light,lucid" print=false} {section name=customerlist loop=$customerlist start=$start max=$pagelimit} {sectionelse} {/section} {if $listdata.total != 0} {/if}
 {t}First/last or Company name:{/t} {if $listdata.order eq "customername"}{/if}
 {t}Address:{/t} {if $listdata.order eq "address"}{/if}
{t}ID:{/t} {if $listdata.order eq "id"}{/if}
{t}Services:{/t}
{t}Balance:{/t} {if $listdata.order eq "balance"}{/if}
{t}Subscription:{/t} {if $listdata.order eq "tariff"}{/if}
{t 0=$listdata.total|default:"0"}Total: $0{/t}
{t}Page:{/t} {if $page > 1}«««{else}«««{/if} {section name=pcnt loop=$customerlist step=$pagelimit} {if $page eq $smarty.section.pcnt.rownum}[{else} {/if}{$smarty.section.pcnt.rownum}{if $page eq $smarty.section.pcnt.rownum}]{else} {/if} {/section} {if $page < $smarty.section.pcnt.rownum}»»»{else}»»»{/if} {math equation="x + 1" x=$start assign=startx} {if $start + $pagelimit > $listdata.total} {assign var=endx value=$listdata.total}{else}{math equation="x + y" x=$start y=$pagelimit assign=endx} {/if} ({t 0=$startx 1=$endx 2=$listdata.total}records $0 - $1 of $2{/t})
{if $customerlist[customerlist].info} {/if} {$customerlist[customerlist].customername}{if $customerlist[customerlist].deleted} ({t}deleted customer{/t}){/if}
 {$customerlist[customerlist].address}{if $customerlist[customerlist].city neq ""},{/if} {$customerlist[customerlist].zip} {$customerlist[customerlist].city}
({$customerlist[customerlist].id|string_format:"%04d"})
{if $customerlist[customerlist].account} {/if}
{if $customerlist[customerlist].balance < 0}{/if}{$customerlist[customerlist].balance|money_format}{if $customerlist[customerlist].balance < 0}{/if}
{$customerlist[customerlist].tariffvalue|money_format}
{if $customerlist[customerlist].balance < 0} [ {t}Account{/t} ] {/if} {if $customerlist[customerlist].account} {if $customerlist[customerlist].status eq 3} {if $customerlist[customerlist].nodeac eq 1} [ {t}Disconnect All{/t} ] {else} {if $customerlist[customerlist].nodeac eq 2} [ {t}Disconnect All{/t} ] {else}[ {t}Connect All{/t} ] {/if} {/if} {/if} {/if} {if $customerlist[customerlist].warncount} {if $customerlist[customerlist].status eq 3} {if $customerlist[customerlist].nodewarn eq 1} [ {t}Disable Warnings for All{/t} ] {else} {if $customerlist[customerlist].nodewarn eq 2} [ {t}Disable Warnings for All{/t} ] {else}[ {t}Enable Warnings for All{/t} ] {/if} {/if} {/if} {/if} [ {t}Delete{/t} ] {if $customerlist[customerlist].deleted} [ {t}Restore{/t} ]{else}[ {t}Edit{/t} ]{/if} [ {t}Info{/t} ]

 

{t}No such customers matching search criteria.{/t}

 

{t}Page:{/t} {if $page > 1}«««{else}«««{/if} {section name=pcnt loop=$customerlist step=$pagelimit} {if $page eq $smarty.section.pcnt.rownum}[{else} {/if}{$smarty.section.pcnt.rownum}{if $page eq $smarty.section.pcnt.rownum}]{else} {/if} {/section} {if $page < $smarty.section.pcnt.rownum}»»»{else}»»»{/if} {math equation="x + 1" x=$start assign=startx} {if $start + $pagelimit > $listdata.total} {assign var=endx value=$listdata.total}{else}{math equation="x + y" x=$start y=$pagelimit assign=endx} {/if} ({t 0=$startx 1=$endx 2=$listdata.total}records $0 - $1 of $2{/t})
  {t}Outstandings{/t}:
{t}Overcharges{/t}:
{$listdata.below|money_format}
{$listdata.over|money_format}
{t}Total:{/t} {$listdata.total|default:"0"}

{include file="footer.html"}