ManagedCloud-Hosting Posted January 13, 2020 Share Posted January 13, 2020 Hello, Our clients mentioned that why they are seeing the cancelled services and invoices at their end and we told them to apply filter for that to which their accountant is not much happy. Do we have any other option ? 0 Quote Link to comment Share on other sites More sharing options...
zomex Posted January 13, 2020 Share Posted January 13, 2020 Hello, It is quite a common practise to show canceled invoices within a users account. I wonder why their accountant is not happy with this? Did they provide any specifics to you? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted January 13, 2020 Share Posted January 13, 2020 1 hour ago, VirtualWorldGlobal said: Do we have any other option ? from admin settings? not really. you could remove them with a hook if you really need to... you could edit the template to do the same thing, but you'd still need a hook to remove the cancelled filter from the sidebar. btw - you shouldn't double post the same question in different sub-forums... if someone is going to reply, they'll see it the first time! 🙂 although I think the other thread is the correct location for your question as you would have to code the solution and not tweak it from settings. 0 Quote Link to comment Share on other sites More sharing options...
ManagedCloud-Hosting Posted January 13, 2020 Author Share Posted January 13, 2020 1 hour ago, zomex said: I wonder why their accountant is not happy with this? Did they provide any specifics to you? As it is not against the terms of service we don't question a client for their requirements, if we can provide we will else say no :) 0 Quote Link to comment Share on other sites More sharing options...
ManagedCloud-Hosting Posted January 13, 2020 Author Share Posted January 13, 2020 54 minutes ago, brian! said: btw - you shouldn't double post the same question in different sub-forums... if someone is going to reply, they'll see it the first time! 🙂 So Sorry...I will take care of this in future for sure. Also I was not able to edit the post and change to different sub-forums. Is that option available ? 59 minutes ago, brian! said: you could remove them with a hook if you really need to... you could edit the template to do the same thing, but you'd still need a hook to remove the cancelled filter from the sidebar. Actually we are new to WHMCS and we are learning to configure and use. I would like to use the hook in our WHMCS Also as you helped yesterday with the hook to hide KB & Announcements. we also need to hide support when a user is logged in. Thank you so much for your help and support :) 0 Quote Link to comment Share on other sites More sharing options...
Kian Posted January 15, 2020 Share Posted January 15, 2020 On 1/13/2020 at 5:39 PM, zomex said: I wonder why their accountant is not happy with this? Happy accountant? They have no feelings and exist to ruin our lifes. For an accountant that doesn't like Cancelled invoices there's one that doesn't like Paid ones. 1000 customers, 1000 accountants, 90000 different points of view. Anyway back on topic Cancelled invoices are fine and even necessary in case you can't issue credit notes. 1 Quote Link to comment Share on other sites More sharing options...
zomex Posted January 15, 2020 Share Posted January 15, 2020 12 hours ago, Kian said: Happy accountant? They have no feelings and exist to ruin our lifes. For an accountant that doesn't like Cancelled invoices there's one that doesn't like Paid ones. 1000 customers, 1000 accountants, 90000 different points of view. Haha yes that is true 😄 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted January 15, 2020 Share Posted January 15, 2020 9 hours ago, Kian said: Happy accountant? They have no feelings and exist to ruin our lifes. For an accountant that doesn't like Cancelled invoices there's one that doesn't like Paid ones. 1000 customers, 1000 accountants, 90000 different points of view. with the only POV that matters being that of the tax authority. 9 hours ago, Kian said: Anyway back on topic Cancelled invoices are fine and even necessary in case you can't issue credit notes. I think the OP just wants to hide them from the client area, as opposed to deleting them from the database. On 13/01/2020 at 18:01, VirtualWorldGlobal said: Also as you helped yesterday with the hook to hide KB & Announcements. we also need to hide support when a user is logged in. if you mean the entire Support dropdown... ,.. then it's exactly the same IF statement you used in the hook to remove Announcements from the navbar, but just copy it and change 'Announcements' to ''Support' and that will remove that dropdown... additionally, you might need to do the same for Open Ticket too if you don't want them to use that. 0 Quote Link to comment Share on other sites More sharing options...
ManagedCloud-Hosting Posted January 21, 2020 Author Share Posted January 21, 2020 Thank you brian On 1/15/2020 at 9:33 PM, brian! said: additionally, you might need to do the same for Open Ticket too if you don't want them to use that. Here we want Open Ticket to be redirected to our Helpdesk ( We use Vision Helpdesk) in a new window. Is that possible ? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted January 21, 2020 Share Posted January 21, 2020 4 hours ago, VirtualWorldGlobal said: Here we want Open Ticket to be redirected to our Helpdesk ( We use Vision Helpdesk) in a new window. Is that possible ? sure - it's similar code, but instead of removing the child, you just set a custom URL for it. <?php use WHMCS\View\Menu\Item as MenuItem; add_hook('ClientAreaPrimaryNavbar', 1, function (MenuItem $primaryNavbar) { if (!is_null($primaryNavbar->getChild('Open Ticket'))) { $primaryNavbar->getChild('Open Ticket')->setUri('https://www.google.com'); } }); 1 Quote Link to comment Share on other sites More sharing options...
ManagedCloud-Hosting Posted January 22, 2020 Author Share Posted January 22, 2020 I will try updating the code and let you know...Thank you so much brian 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.