Jortex Posted March 12, 2009 Share Posted March 12, 2009 (edited) Hi, Im trying to display the clients balance and amount of invoices due in the client area, the code im using is: Oustanding Balance: <a href="clientarea.php?action=invoices">{$stats.dueinvoicesbalance}</a> And im adding it to the templates (default) header.tpl The above works correctly on the clients home page but nowhere else (within WHMCS). On other ages such as invoices, tickets etc.. it shows: Oustanding Balance: (i.e, it doesnt show the actual amount) Any ideas? Cheers. Edit, just noticed its the same with - {$stats.numactivetickets} Edited March 12, 2009 by Jortex 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted March 12, 2009 Share Posted March 12, 2009 not all fields are available on all pages - simply add your own code in {php} tags to calculate and output the values 0 Quote Link to comment Share on other sites More sharing options...
Jortex Posted March 12, 2009 Author Share Posted March 12, 2009 Thank you for the reply othello, Ive searched all over the forum for examples on how to do what you suggested but no luck. Is there somewhere i can see an example or at least what variables can be output by doing what you've said? Cheers. 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.