Ejemplo n.º 1
0
     <? if ($isSupporter && !$preview): ?>
       <th colspan='3'><?=TICKET_HEADER_ACTIONS?></th>
     <? endif; ?>
   </tr>
 </thead>
 <tbody>
   <tr>
     <td class='TicketNumber'>#<?= $IDTicket ?></td>
     <td><?= $DtOpened ?></td>
     <td><?= constant($StSituation) ?></td>
     <?if(is_numeric($IDDepartment)):?>
       <td><?=TemplateHandler::createHeaderDepartmentCombo($ArDepartments, $IDDepartment, $IDTicket,'Departments', 'inputCombo',$preview);?></td>
     <?endif;?>
     <td>
       <?if ($isSupporter) : ?>
         <?= TemplateHandler::createSupportersCombo($IDTicket, $IDDepartment, $ArSupporters, $ArHeaders, 'StSupporter','inputCombo', $preview); ?>
       <? else : ?>
         <?= $StSupporter ?>
       <? endif ?>
     </td>
     <? if ($isSupporter && !$preview): ?>
     <td>
       <a href='javascript:void(0);' onclick='Ticket.attachTicket(<?=$IDTicket?>,"<?=$IDDepartment?>");'>
         <img src='<?= TEMPLATEDIR ?>images/attach.png' alt='Attach Ticket' title='Attach Ticket'>
       </a>
     </td>
     <td>
       <? if ($BoIgnored): ?>
       <a href='javascript:void(0);' onclick='Ticket.unignoreTicket(<?=$IDSupporter?>,<?=$IDTicket?>, "<?=$IDDepartment?>")'
         <img src='<?= TEMPLATEDIR ?>images/unignore.png' alt='Ignore Ticket' title='Ignore Ticket'>
       </a>