stuntnmore Posted July 15, 2014 Share Posted July 15, 2014 Since the new version of WHMCS, they removed stats to be able to output within smarty. Here is the fix for it. Include this in your admin area template header.tpl {php} $stats = getAdminHomeStats("income"); $this->assign('stats',$stats); {/php} Then you can use the smarty variable as you please Codes usable: {$stats.income.thismonth} {$stats.income.thisyear} {$stats.income.today} 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.