# --
# AgentCustomer.dtl - provides HTML for AgentCustomer.pm
# Copyright (C) 2001-2003 Martin Edenhofer <martin+code@otrs.org>
# --
# $Id: AgentCustomer.dtl,v 1.9 2003/03/14 08:24:19 martin Exp $
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (GPL). If you
# did not receive this file, see http://www.gnu.org/licenses/gpl.txt.
# --
<!-- start form -->
<table border="0" width="100%" cellspacing="0" cellpadding="3" cols="1">
<tr>
  <td align="left" class="table0">
    <b>$Env{"Box0"}$Text{"Change customer of ticket"}: $Data{"TicketNumber"}$Env{"Box1"}</b>
  </td>
</tr>
<tr>
  <td align="left" class="table2">
    <a href="$Env{"Baselink"}$Env{"LastScreen"}" onmouseover="window.status='$Text{"Back"}'; return true;" onmouseout="window.status='';">$Text{"Back"}</a>
  </td>
</tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="3" cols="1">
<tr>
  <td align="center" valign="top" class="table1">

<p>
$Text{"Set customer user and customer id of a ticket"}:
<br>
<form action="$Env{"CGIHandle"}" method="post" name="compose">
<input type="hidden" name="Action" value="$Env{"Action"}">
<input type="hidden" name="Subaction" value="Update">
<input type="hidden" name="ExpandCustomerName" value="0">
<input type="hidden" name="TicketID" value="$Data{"TicketID"}">
  <table>
  <tr>
    <td>$Text{"Customer User"}:</td>
    <td><input type="text" name="CustomerUserID" value="$Data{"CustomerUserID"}" size="40">
    $Env{"Box0"}<a href="" onclick="document.compose.ExpandCustomerName.value='1'; document.compose.submit(); return false;" onmouseout="window.status='';" onmouseover="window.status='$Text{"Search Customer"}'; return true;"> $Text{"Search Customer"}</a>$Env{"Box1"}<br> $Data{"CustomerUserStrg"}</td>
  </tr>
  <tr>
    <td>$Text{"CustomerID"}:</td>
    <td> <input type="text" name="CustomerID" value="$Data{"CustomerID"}" size="40"></td>
  </tr>
  </table>
<input type="submit" value="$Text{"update"}">
</form>

</p>

  </td> 
</tr>
</table>
<!-- end form -->
