Jump to content

invoices widget


Recommended Posts

Over the years, most changes have been great... some, like the default hiding "Inactive" clients from the search have left me annoyed and scratching my head....  But removing the numbers so we could easily see in one place if things needs attention... Is the dumbest thing WHMCS has ever done.  

Whoever came up with this one, should be worried about their job.

Link to comment
Share on other sites

If you want to add it back for now use the code from the V7 template for it:

<div class="stats">
            <a href="orders.php?status=Pending">
                <span class="stat">{$sidebarstats.orders.pending}</span>
                {$_ADMINLANG.stats.pendingorders}
            </a> |
            <a href="invoices.php?status=Overdue">
                <span class="stat">{$sidebarstats.invoices.overdue}</span>
                {$_ADMINLANG.stats.overdueinvoices}
            </a> |
            <a href="supporttickets.php">
                <span class="stat">{$sidebarstats.tickets.awaitingreply}</span>
                {$_ADMINLANG.stats.ticketsawaitingreply}
            </a>
</div>

The best file to edit for it is whmcs/admin/templates/blend/homepage.tpl for now and add it after: {$infobox}
That will display it just below the words Dashboard, in the main page.  I know its a workaround but it will do until something more permanent is discussed.

Link to comment
Share on other sites

On 29/09/2020 at 23:20, JofleyUK said:

The best file to edit for it is whmcs/admin/templates/blend/homepage.tpl for now and add it after: {$infobox}

I don't think the stats class exists in v8 - so you'd either have to declare it (if you wanted the output to look like v7), or use inline CSS.

 

 

Link to comment
Share on other sites

8 minutes ago, xyzulu said:

There's a good opportunity for a 3rd party admin template developer here now

Lara already does it - search is available without clicking, and the three stat amounts shown as icons..

iaA1tHx.png

... and also in the menu...

aI8q2tZ.png

I could make Blend show the icons like that in the top menu, it's just a case of trying to think of a light way to adjust the menu without the need to create a custom theme, require too much coding or break after an update.

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