Jump to content

Open tickets only - how?


michelle

Recommended Posts

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

Link to comment
Share on other sites

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'.

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