public void reservedItem()
    {
        int tjek = 0;
        for (int i = 0; i < orderlistWithDate.size(); i++)
        {
            for (int j = 0; j < orderlistWithDate.get(i).getItemlist().size(); j++)
            {
                for (int k = 0; k < itemlistReserved.size(); k++)
                {
                    if (itemlistReserved.get(k).getItemNo() == orderlistWithDate.get(i).getItemlist().get(j).getItemNo())
                    {
                        itemlistReserved.get(k).setItemAmount(itemlistReserved.get(k).getItemAmount() + orderlistWithDate.get(i).getItemlist().get(j).getItemAmount());
                        tjek++;
                    }
                }
                if (tjek == 0)
                {
                    itemlistReserved.add(orderlistWithDate.get(i).getItemlist().get(j));
                }
                tjek = 0;
            }
        }
        loadAllOrders();
    }