mauriez Posted August 13, 2015 Share Posted August 13, 2015 Hi! We are looking at the upgrade to WHMCS v6. Once you have worked around the Smarty v3 changes most of the issues are solved. There is however one very annoying thing that's haunting me. Hopefully someone knows and can help me out. Basically the Clients credit balance shown in the Client Summary always is 0.00. I have added a new client via the Admin Panel. Once created, I look at the client summary and click "Manage Credits". I then simply add credit to the users account. I close the "Manage Credits" window and reload the client summary. Credit balance shown here remains 0.00. The database shows the credits I have added in tblclients.credit. When adding the {debug} flag to a user template, I see that $clientsdetails.credit = 100 (the balance I added) $clientsstats.creditbalance = EUR 0.00 Looking forward to your suggestions! -- Maurice 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted August 13, 2015 Share Posted August 13, 2015 as i understand credit balance = due or overdue amount of money your client have to pay. for example create new invoice for this client and make it's total 200 EUR, also specify due date in past and check! 0 Quote Link to comment Share on other sites More sharing options...
mauriez Posted August 13, 2015 Author Share Posted August 13, 2015 Hi! Thanks for your answer. That would be new for me. What's even stranger is this: I added a 0.00 unpaid invoice for the user that I gave 100EUR credit. The the customer credit is 100 eur! When I remove the 0.00 unpaid invoice again, customer credit is 0.00 again So strange... -- Maurice 0 Quote Link to comment Share on other sites More sharing options...
mauriez Posted August 13, 2015 Author Share Posted August 13, 2015 So... I narrowed down the problem a bit more. It seems that Credit Balance is only displayed correctly if the customer has an unpaid invoice. Maybe a boolean stating 'has unpaid invoices' controls the Credit Balance flag. Anyone? 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.