# --
# AgentTicketCustomer.dtl - provides HTML for AgentCustomer.pm
# Copyright (C) 2001-2005 Martin Edenhofer <martin+code@otrs.org>
# --
# $Id: AgentTicketCustomer.dtl,v 1.4 2005/09/19 11:56: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.
# --
<!-- dtl:block:Customer -->
<table border="0" width="100%" cellspacing="0" cellpadding="3" cols="1">
<tr>
  <td class="mainhead">
    $Env{"Box0"}$Text{"Change customer of ticket"}: $Data{"TicketNumber"}$Env{"Box1"}
  </td>
</tr>
<tr>
  <td class="menu">
    <a href="$Env{"Baselink"}$Env{"LastScreenView"}" onmouseover="window.status='$Text{"Back"}'; return true;" onmouseout="window.status='';" class="menuitem">$Text{"Back"}</a>
  </td>
</tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="3">
<tr>
  <td class="mainbody">

  <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="TicketID" value="$QData{"TicketID"}">
    <table border="0" width="500" align="center" cellspacing="0" cellpadding="4">
      <tr>
        <td class="contenthead">$Text{"Options"}</td>
      </tr>
      <tr>
        <td class="contentbody">
          $Text{"Set customer user and customer id of a ticket"}:
          <br>
          <table>
            <tr>
              <td class="contentkey">$Text{"Customer User"}:</td>
              <td class="contentvalue"><input type="text" name="CustomerUserID" value="$QData{"CustomerUserID"}" size="40">
<!-- dtl:block:CustomerTakeOver -->
              <br> $Data{"CustomerUserStrg"}
              <input type="submit" name="ExpandCustomerName2" value="$Text{"Take this Customer"}">
<!-- dtl:block:CustomerTakeOver -->
              <input type="submit" name="ExpandCustomerName1" value="$Text{"Search Customer"}">
              </td>
            </tr>
            <tr>
              <td class="contentkey">$Text{"CustomerID"}:</td>
              <td class="contentvalue"> <input type="text" name="CustomerID" value="$QData{"CustomerID"}" size="40"></td>
            </tr>
          </table>
        </td>
      </tr>
      <tr>
        <td class="contentfooter">
          <input class="button" accesskey="g" type="submit" value="$Text{"update"}">
        </td>
      </tr>
    </table>

    <br>

    <table border="0" width="500" align="center" cellspacing="0" cellpadding="4">
      <tr>
        <td class="contenthead">$Text{"Customer Data"}: $Data{"CustomerID"}</td>
      </tr>
      <tr>
        <td class="contentbody">

$Data{"Table"}

        </td>
      </tr>
      <tr>
        <td class="contentfooter">
          &nbsp;
        </td>
      </tr>
    </table>

    <br>

  </td>
</tr>
</table>
<!-- dtl:block:Customer -->
<!-- dtl:block:CustomerHistory -->
<table border="0" width="100%" cellspacing="0" cellpadding="3" cols="1">
<tr>
  <td class="mainhead">
    $Env{"Box0"}$Text{"Customer history"}$Env{"Box1"}
  </td>
</tr>
<tr>
  <td class="mainbody">
     $Text{"All customer tickets."}
  </td>
</tr>
</table>
<!-- dtl:block:CustomerHistory -->
