Jump to content

Balance Client area


Recommended Posts

Friends, I added the code below to the clientareahome.tpl file:

 <div class="row">
        <div class="col-sm-3 col-xs-6 tile" onclick="window.location='clientarea.php?action=services'">
            <a href="cart.php?gid=addons">
                <div class="icon"><i class="fas fa-phone"></i></div>
                <div class="stat">{$clientsstats.productsnumactive}</div>
                <div class="title">Balance</div>
                <div class="highlight bg-color-green"></div>

to show the balance of my customers in another application, this balance will come from the result of the link: https://example.com/getbalance/6785745 where the result would be "Balance : 150.02 BRL" which will be placed in a custom field for each customer and it will only be visible to the admin, each customer will have their personal link in the same format. I would need the result to look like the image below:


If anyone can help I'd be grateful. Thanks

Edited by dbbrito
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.

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