Removing "Close Ticket" from Customers

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
acidrs
Posts: 3
Joined: Sat Feb 26, 2011 6:44 am

Removing "Close Ticket" from Customers

Post by acidrs »

Hi all,
If like me you have your admins open and close all the tickets and only allow your customers to view the updates of a ticket then this mod will be for you. Removing the ability to close a ticket from your customers removes customer error. It removes the accidental closing of a ticket that is open by your customer.

To remove "Close Ticket" from your customers ticket view:
open ticket.php and locate

Code: Select all

switch ($ticket['status'])
change this

Code: Select all

case 0:
		        echo '<font class="open">'.$hesklang['open'].'</font> [<a
		        href="change_status.php?track='.$trackingID.'&s=3&Refresh='.$random.'&token='.hesk_token_echo(0).'">'.$hesklang['close_action'].'</a>]';
		        break;
To this

Code: Select all

case 0:
		        echo '<font class="open">'.$hesklang['open'].'</font>';
		        break;
Do this for each of the cases. So the above code shows case 0, also change for case 1 and 2.

This should now remove the option to close a ticket from your customers and leave the option for admins.
Post Reply