Jump to content

Display balance and invoices issue


Jortex

Recommended Posts

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 by Jortex
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated