{if $SESS_LOGGED == true} {assign var=meth value=':'|explode:$VAR._page} {$method->exe('invoice','performance')} {if $method->result == true}
{t module=invoice}Weekly{/t} | {t module=invoice}Monthly{/t} | {t module=invoice}Yearly{/t}

{if $show_affiliates == true} {/if}
{t}Indicator{/t} {t}Period{/t} {t}Current{/t} {t}Previous{/t} {t}Change{/t}
{t}Sales{/t} {$period_compare} {$list->format_currency_num($sales_current)} {$list->format_currency_num($sales_previous)} {if $sales_change < 0} {$sales_change|number_format:2}% {else} +{$sales_change|number_format:2}% {/if}
{t}Forcast{/t} {$period_forcast} {$list->format_currency_num($forcast_current)} - {if $forcast_change < 0} {$forcast_change|number_format:2}% {else} +{$forcast_change|number_format:2}% {/if}
{t}Quota{/t} {t}Today{/t} {$list->format_currency_num($quota_current)} - -
{t}A/R Credits{/t} {$period_compare} {$list->format_currency_num($ar_credits_current)} {$list->format_currency_num($ar_credits_previous)} {if $ar_credit_change < 0} {$ar_credit_change|number_format:2}% {else} +{$ar_credit_change|number_format:2}% {/if}
{t}A/R Balance{/t} {$period_compare} {$list->format_currency_num($ar_balance_current)} {$list->format_currency_num($ar_balance_last)} -
{t}Users{/t} {$period_compare} {$users_current} {$users_previous} {if $users_change < 0} {$users_change|number_format:2}% {else} +{$users_change|number_format:2}% {/if}
{t module=invoice}affiliatesales{/t} {$period_compare} {$list->format_currency_num($affiliate_sales_current)} {$list->format_currency_num($affiliate_sales_previous)} {if $affiliate_sales_change < 0} {$affiliate_sales_change|number_format:2}% {else} +{$affiliate_sales_change|number_format:2}% {/if}

{$calendar} {/if} {if $list->is_installed('account_message')} {$method->exe_noauth('account_message','view')}
{t}Update System Message{/t}
{/if} {else} {$block->display('account:main')} {/if}