I'd like the staff to be able to modify the phone number for a ticket.
In the file viewticket.inc.php, I'd like to add a new action. (I am happy adding it within a new in the same row). The action would be to change/overwrite the phone number for the ticket.
This is the code for the original action box:
' method=post class="inline" >
"/>
Action:
onChange="this.form.ticket_priority.disabled=strcmp(this.options.value,'change_priority','reopen','overdue')?false;">
Select Action
>Change Priority
<?if(!$ticket->isoverdue()){ ?>
>Mark Overdue
<?}?>
<?if($ticket->isAssigned()){ ?>
>Release (unassign)
<?}?>
<?if($thisuser->canCloseTickets()){
//if you can close a ticket...reopening it is given.
if($ticket->isOpen()){?>
>Close Ticket
<?}else{?>
>Reopen Ticket
<?}
}?>
<?if(!$emailBanned) {?>
Ban Email <?=$ticket->isOpen()?'& Close':''?>
<?}else{?>
Un-Ban Email
<?}?>
<?if($thisuser->canDeleteTickets()){ //oooh...fear the deleters! ?>
Delete Ticket
<?}?>
Priority:
>
-Unchanged-
<?
$priorityId=$ticket->getPriorityId();
$resp=db_query('SELECT priority_id,priority_desc FROM '.TICKET_PRIORITY_TABLE);
while($row=db_fetch_array($resp)){ ?>
" <?=$priorityId==$row?'disabled':''?> ><?=$row?>
<?}?>
Thanks.
Clayton