
######
Ticket
######


****
NAME
****


Kernel::Output::HTML::Layout::Ticket - all Ticket-related HTML functions


***********
DESCRIPTION
***********


All Ticket-related HTML functions


****************
PUBLIC INTERFACE
****************


AgentCustomerViewTable()
========================



TimeUnits()
===========


Returns HTML block consisting of label and field for time units.


.. code-block:: perl

     my $TimeUnitsBlock = $LayoutObject->TimeUnits(
         ID                => 'TimeUnits',       # (optional) the HTML ID for this element, if not provided, the name will be used as ID as well
         Name              => 'TimeUnits',       # name of element
         TimeUnits         => '123',
         TimeUnitsRequired => '1',
     );


Returns:


.. code-block:: perl

     my $TimeUnitsBlock =  '<label for="TimeUnits">Time units  (work units):</label>
     <div class="Field">
         <input type="text" name="TimeUnits" id="TimeUnits" value="" class="W50pc Validate_TimeUnits  "/>
         <div id="TimeUnitsError" class="TooltipErrorMessage"><p>Invalid time!</p></div>
         <div id="TimeUnitsServerError" class="TooltipErrorMessage"><p>This field is required.</p></div>
     </div>
     <div class="Clear"></div>'





