{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} {if ConfigHelper::checkConfig('privileges.superuser') || !ConfigHelper::checkConfig('privileges.hide_finances')} {/if} {if ConfigHelper::checkConfig('privileges.superuser') || !ConfigHelper::checkConfig('privileges.hide_finances')} {/if} {cycle values="white,grey" print=false} {foreach $income as $row} {if ConfigHelper::checkConfig('privileges.superuser') || !ConfigHelper::checkConfig('privileges.hide_finances')} {/if} {if ConfigHelper::checkConfig('privileges.superuser') || !ConfigHelper::checkConfig('privileges.hide_finances')} {/if} {if ConfigHelper::checkConfig('privileges.superuser') || !ConfigHelper::checkConfig('privileges.hide_finances')} {/if} {if isset($bandwidth_variation) && isset($bandwidth_variation[$row.type])} {/if} {foreachelse} {/foreach} {if ConfigHelper::checkConfig('privileges.superuser') || (!ConfigHelper::checkConfig('privileges.hide_finances') && !ConfigHelper::checkConfig('privileges.hide_summaries'))} {/if}
{trans("No.")} {if isset($linktechnologies)} {trans("Link technology")} {else} {trans("Service type")} {/if} {trans("Bussiness customers")} {trans("Bussiness income")} {trans("Private customers")} {trans("Private income")} {trans("Total customers")} {trans("Total income")}
{counter}. {if $row.type} {if isset($linktechnologies)} {$linktechnologies[$row.type]} {else} {$_SERVICETYPES[$row.type]} {/if} {else} {trans("(undefined)")} {/if} {$row.bussinesscount} {moneyf($row.bussinessincome)} {$row.privatecount} {moneyf($row.privateincome)} {$row.totalcount} {moneyf($row.totalincome)}
  {foreach $bandwidth_variation[$row.type] as $label => $stats} {/foreach}
{trans("Bandwidth interval")} {trans("Bussiness links")} {trans("Private links")} {trans("Total")}
{$label} {$stats.bussiness} {$stats.private} {$stats.total}
{trans("No data.")}
{trans("Total:")} {sum array=$income column="bussinesscount"} {sum array=$income column="bussinessincome" assign="bussinessincome"}{moneyf($bussinessincome)} {sum array=$income column="privatecount"} {sum array=$income column="privateincome" assign="privateincome"}{moneyf($privateincome)} {sum array=$income column="totalcount"} {sum array=$income column="totalincome" assign="totalincome"}{moneyf($totalincome)}
{include file="clearfooter.html"}