Beekingo Posted February 19, 2015 Share Posted February 19, 2015 It would be great to have a big red warning on the ticket screen when we are replying to a customer who has a suspended service. Sometines customers write because their emails are not working, we do not check at first and later we find all the problems are because the customer has his site suspended. Regards Cristian 0 Quote Link to comment Share on other sites More sharing options...
Administrators WHMCS John Posted February 19, 2015 Administrators Share Posted February 19, 2015 Hi, We welcome suggestions for new features at http://requests.whmcs.com 0 Quote Link to comment Share on other sites More sharing options...
merlinpa1969 Posted February 19, 2015 Share Posted February 19, 2015 On the ticket page when you go to answer it should show you the status of their account, 0 Quote Link to comment Share on other sites More sharing options...
Beekingo Posted February 19, 2015 Author Share Posted February 19, 2015 On the ticket page when you go to answer it should show you the status of their account, Oh, thanks i saw that. Just we need a big red warning 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted February 19, 2015 Share Posted February 19, 2015 Hi Cristian, it's already possible to add this option to the ticket page in the Admin Area, you just need to modify the admin/viewticket.tpl template... there is already a line that displays the time since the last reply... <div class="ticketlastreply">{$_ADMINLANG.support.lastreply}: {$lastreply}</div> below that, add the following code... {foreach key=num item=suspservice from=$relatedservices} {if $suspservice.status eq "Suspended"} <span style="font-size: 14px; background-color: #F2D4CE; border: 1px solid #AE432E; color: #cc0000; -moz-border-radius: 5px; -webkit-border-radius: 5px; -o-border-radius: 5px; border-radius: 5px; padding: 1px 5px 1px 5px; min-height: 40px;"> {$suspservice.product} {if $suspservice.domain} - {$suspservice.domain} {/if} is currently Suspended</span>{/if} {/foreach} <p> this will add a small red warning box for each service/product that is currently suspended for that client... it should tell you the service (and domain if used)... you may need to play with the stylesheet and message for your own needs, but it should provide you with the basis of the solution you were asking about. 0 Quote Link to comment Share on other sites More sharing options...
Beekingo Posted February 19, 2015 Author Share Posted February 19, 2015 Thanks, this is perfect and exactly what i need! We can leave the templates outside the main folders to they don't get overwritten by updates? Thanks 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted February 20, 2015 Share Posted February 20, 2015 Thanks, this is perfect and exactly what i need! We can leave the templates outside the main folders to they don't get overwritten by updates? potentially, it could get overwritten by an update - though I would only expect one or two more versions of v5.3 before v6 goes live - v6 will almost certainly overwrite it. In theory, you could change the name of the admin template to prevent it being overwritten, but its possibly not worth the effort for such a small modification. I did initially think of writing it as an action hook, which would have made it work without template modification, but that could have been broken by v6 anyway, so there was little to gain... it's probably just easier to make a note of the above code, and when you do your incremental updates, check the admin template folder or changelog first to see if there are any template changes... if so, add the code to the template again. then once v6 is publicly available, you can see if this feature is available by default - if not, the above code might still work... if it doesn't, then it can probably be easily fixed. 0 Quote Link to comment Share on other sites More sharing options...
Beekingo Posted February 20, 2015 Author Share Posted February 20, 2015 Thanks Brian, i appreciate your reply. 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.