TheHostingHeroes Posted September 29, 2020 Share Posted September 29, 2020 HI how can I add a admin homepage widget to show number of overdue invoices? prior to v8 it would show overdue invoices in the header and now this has been removed. 0 Quote Link to comment Share on other sites More sharing options...
garybarr Posted September 29, 2020 Share Posted September 29, 2020 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. 2 Quote Link to comment Share on other sites More sharing options...
JofleyUK Posted September 29, 2020 Share Posted September 29, 2020 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. 0 Quote Link to comment Share on other sites More sharing options...
giora Posted September 30, 2020 Share Posted September 30, 2020 Unfortunately this will not save the step to go back to the dashboard. 😞 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted October 1, 2020 Share Posted October 1, 2020 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. 0 Quote Link to comment Share on other sites More sharing options...
TheHostingHeroes Posted October 1, 2020 Author Share Posted October 1, 2020 who in the right mind at WHMCS thought its a good idea to hide the overdue invoices in a billing system from the homepage! 1 Quote Link to comment Share on other sites More sharing options...
xyzulu Posted October 1, 2020 Share Posted October 1, 2020 There's a good opportunity for a 3rd party admin template developer here now 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted October 1, 2020 Share Posted October 1, 2020 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.. ... and also in the menu... 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. 0 Quote Link to comment Share on other sites More sharing options...
Bertie Posted October 1, 2020 Share Posted October 1, 2020 Haven't updated to V8 yet but just wanted to post that removing the overdue invoices stat from the top bar is stupid. If you're going to remove such useful details, at least provide us with a toggle to turn it back on. 0 Quote Link to comment Share on other sites More sharing options...
Faizal1 Posted October 1, 2020 Share Posted October 1, 2020 Agreed, this should not have been removed. Was very convenient to have it there. 0 Quote Link to comment Share on other sites More sharing options...
TheHostingHeroes Posted October 1, 2020 Author Share Posted October 1, 2020 Hopefully someone from WHMCS will reply to this and confirm if they’ll reintroduce this. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted October 3, 2020 Share Posted October 3, 2020 i've posted the hook for the admin info bar in the thread below - should work on both v8.0.0 and v8.0.1 🙂 1 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.