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'])
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;
Code: Select all
case 0:
echo '<font class="open">'.$hesklang['open'].'</font>';
break;
This should now remove the option to close a ticket from your customers and leave the option for admins.