compcreate Posted September 10, 2007 Share Posted September 10, 2007 Hi, I am fairly new to WHMCS so please forgive me if I have overlooked it.... I cannot seem to find the "total" balance for an outstanding account for a client. For instance, client #1 John Smith creates 5 invoices @ $20 each. He logs into his account and can view all of the unpaid invoices. He wishes to send me a check for the TOTAL outstanding balance however he has to manually (I know it isnt that hard) add them up. I would envision a box above or below the "Account credit balance" to say something like "account balance" and show them the running total of outstanding invoices. Is this somewhere, and if not shouldnt it be? I know in this day and age most people pay with paypal or something, but there are many out there whos till use checks or drafts, and they wait until a few invoices pile up and pay them all at once. Just a thought for inclusion if it isnt already available. thanks mike 0 Quote Link to comment Share on other sites More sharing options...
PPH Posted September 10, 2007 Share Posted September 10, 2007 Try looking in your admin panel on the main page for the client. There to the right under transactions may be what you are seeking :wink: 0 Quote Link to comment Share on other sites More sharing options...
Si Posted September 10, 2007 Share Posted September 10, 2007 Hi George, I don't think that's what compcreate (Mike) is asking. He doesn't want to know as admin, he wants the client to know the total amount of any outstanding invoices on his account in the client area. ie, on this page: http://www.yourdomain.com/clientarea.php?action=invoices There's probably a way to do this based on a call to the database that can be inserted into the clientareainvoices.tpl. Its a good idea and I'd like to know if it could be done also, and how. Si 0 Quote Link to comment Share on other sites More sharing options...
PPH Posted September 10, 2007 Share Posted September 10, 2007 Hi George,I don't think that's what compcreate (Mike) is asking. He doesn't want to know as admin, he wants the client to know the total amount of any outstanding invoices on his account in the client area. ie, on this page: http://www.yourdomain.com/clientarea.php?action=invoices There's probably a way to do this based on a call to the database that can be inserted into the clientareainvoices.tpl. Its a good idea and I'd like to know if it could be done also, and how. Si If that's the case it could be done with a mod to total the invoices for clientarea.tpl within the same table? 0 Quote Link to comment Share on other sites More sharing options...
compcreate Posted September 11, 2007 Author Share Posted September 11, 2007 Thanks for the replies... Yes as Si as suggested, thats what I want for the client to see thier total. I will see if I can tackle this in the tpl file. thanks 0 Quote Link to comment Share on other sites More sharing options...
compcreate Posted September 11, 2007 Author Share Posted September 11, 2007 is there a way to know what variables can be called or plugged in? I can edit he template, I just dont know what variable to place there to show the data I want. 0 Quote Link to comment Share on other sites More sharing options...
Dominic Posted September 11, 2007 Share Posted September 11, 2007 is there a way to know what variables can be called or plugged in? I can edit he template, I just dont know what variable to place there to show the data I want. Add {debug} anywhere in the template to open a window with all the defined variables in 0 Quote Link to comment Share on other sites More sharing options...
compcreate Posted September 11, 2007 Author Share Posted September 11, 2007 have {debug} in the template, turned debug on by turning false to true, but no pop up. checked to make sure no pop up blocker... cant get debug to pop up any ideas? 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.