Hi All,
I have managed to modify my osTicket installation to add some extra buttons on the Tick View page. Below the Post Reply button.
Its to really simplify it for some users with one click Internal Notes, one click Customer Replies, but I have been unable to figure out how to make a shortcut to transfer to a particular department.
I am an system admin, not a php programmer, so am a bit out my depth and hoping someone has a simple solution.
Here is an example of on of my 1 click internal notes, hoping there was some way to just add $transfer("Service Depatment"); or something in there ?
Thanks in advance.
<?php if($rmadepartment == 'Administration') {echo "
Waiting on Export Permit.
";}; ?>
<form id="reply" class="spellcheck exclusive save"
data-lock-object-id="ticket/<?php echo $ticket->getId(); ?>"
data-lock-id="<?php echo $mylock ? $mylock->getId() : ''; ?>"
action="tickets.php?id=<?php
echo $ticket->getId(); ?>#reply" name="reply" method="post" enctype="multipart/form-data">
<?php csrf_token(); ?>
<input type="hidden" name="id" value="<?php echo $ticket->getId(); ?>">
<input type="hidden" name="locktime" value="<?php echo $cfg->getLockTime() * 60; ?>">
<input type="hidden" name="a" value="postnote">
<input type="hidden" name="lockCode" value="<?php echo $mylock ? $mylock->getCode() : ''; ?>">
<input type="hidden" name="title" id="title" size="60" value="Waiting on Export Permit" >
<input type="hidden" name="draft_id" value="">
<input type="hidden" name="note" id="internal_note" value="Waiting on Export Permit">
<input type="hidden" name="reply_status_id" value="">
<?php if($rmadepartment == 'Administration') {echo "<input type=\"submit\" value=\"Waiting on Export Permit\"> ";}; ?>
</form>