예제 #1
0
     $validation->showSummary($ticket);
     $task = new TicketTask();
     $task->showSummary($ticket);
     $ticket->showSolutionForm();
     if ($ticket->canApprove()) {
         $fup->showApprobationForm($ticket);
     }
     $ticket->showCost($_POST['target']);
     $ticket->showStats();
     Document::showAssociated($ticket);
     Log::showForItem($ticket);
     Plugin::displayAction($ticket, $_REQUEST['glpi_tab']);
     break;
 case 2:
     $task = new TicketTask();
     $task->showSummary($ticket);
     break;
 case 3:
     $ticket->showCost($_POST['target']);
     break;
 case 4:
     if (!isset($_POST['load_kb_sol'])) {
         $_POST['load_kb_sol'] = 0;
     }
     $ticket->showSolutionForm($_POST['load_kb_sol']);
     if ($ticket->canApprove()) {
         $fup = new TicketFollowup();
         $fup->showApprobationForm($ticket);
     }
     break;
 case 5: