Advertisement
Guest User

Untitled

a guest
Aug 26th, 2016
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.54 KB | None | 0 0
  1. **
  2.      * List of all opened to choose as a duplicate. List is opened from popup of show ticket details
  3.      *
  4.      * @param Ticket $ticket
  5.      * @return \Symfony\Component\HttpFoundation\Response
  6.      */
  7.     public function listDuplicateAction(Ticket $ticket)
  8.     {
  9.         $tickets = $this->isArrayEmpty($this->tickets()->openedAsDuplicate($ticket));
  10.  
  11.         return $this->render('@Ticket/Ticket/duplicate-list.html.twig',
  12.             ['currentTicket' => $ticket, 'tickets' => $tickets, 'company' => $this->getUserCompany()]);
  13.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement