public void Setup(Ticket currentItem, TicketsScrollList currentScrollList)
 {
     ticket          = currentItem;
     nameLabel.text  = ticket.id.ToString();
     statusText.text = ticket.status;
     scrollList      = currentScrollList;
 }
 private void RemoveItem(Ticket itemToRemove, TicketsScrollList shopList)
 {
     for (int i = shopList.itemList.Count - 1; i >= 0; i--)
     {
         if (shopList.itemList[i] == itemToRemove)
         {
             shopList.itemList.RemoveAt(i);
         }
     }
 }
 void AddItem(Ticket itemToAdd, TicketsScrollList shopList)
 {
     shopList.itemList.Add(itemToAdd);
 }