       if ticket.show is SHOW.NOT then return
       selectableTickets.push ticket
       selectableTickets.sortById()
-      if selectedTickets.length is 0
-        selectedTickets.push ticket
 
 
   return {

      console.log 'tikcet addArray'
      if not arr? then return
      for t in arr then _add t
      _setLocal()



    ###
    add: (ticket) ->
      _add(ticket)
      if selectedTickets.length is 0
        selectedTickets.push ticket
      if not selectedTickets[0]?
        selectedTickets[0] = ticket
      _setLocal()


