michelle Posted November 5, 2013 Share Posted November 5, 2013 I was wondering if there is a way to customize WHMCS so that the customer can only view open tickets (not old, closed tickets). I have a lot of nonprofit customers who change webmasters frequently and I'd like the new webmasters not to be privy to all the older information and dialogues. Any suggestions on how to go about this? Thank you, Michelle 0 Quote Link to comment Share on other sites More sharing options...
Brandonm Posted November 6, 2013 Share Posted November 6, 2013 Do you care if the # of results is accurate? Edit: supportticketslist.tpl {foreach key=num item=ticket from=$tickets}{if !$ticket.status|strstr:"Closed"} <tr> <td>{$ticket.date}</td> <td>{$ticket.department}</td> <td><div align="left"><a href="viewticket.php?tid={$ticket.tid}&c={$ticket.c}"><img src="images/article.gif" alt="" border="0" /> {if $ticket.unread}<strong>{/if}#{$ticket.tid} - {$ticket.subject}{if $ticket.unread}</strong>{/if}</a></div></td> <td>{$ticket.status}</td> <td>{$ticket.lastreply}</td> <td class="textcenter"><a href="viewticket.php?tid={$ticket.tid}&c={$ticket.c}" class="btn btn-inverse">{$LANG.supportticketsviewticket}</a></td> </tr> {/if} {foreachelse} Add the lines in red. This will hide all tickets with the status 'Closed'. 0 Quote Link to comment Share on other sites More sharing options...
Owen Wilson Posted November 8, 2013 Share Posted November 8, 2013 It helped...! 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.