|
|
|
|
|
|
|
|
$ticket->setVisitorToken(uniqid()) ; |
|
|
$ticket->setVisitorToken(uniqid()) ; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
$ticket->setTicketStatus(Ticket::TICKET_STATUS_OPEN) ; |
|
|
|
|
|
|
|
|
$ticket->setStatus(Ticket::TICKET_STATUS_OPEN) ; |
|
|
$ticket->setType($params['type']) ; |
|
|
$ticket->setType($params['type']) ; |
|
|
if(isset($params['orderShop']) && $params['orderShop'] && $params['orderShop'] instanceof OrderShopInterface) { |
|
|
if(isset($params['orderShop']) && $params['orderShop'] && $params['orderShop'] instanceof OrderShopInterface) { |
|
|
$ticket->setOrderShop($params['orderShop']) ; |
|
|
$ticket->setOrderShop($params['orderShop']) ; |