Ejemplo n.º 1
0
        private void btn_ConfirmOrder_Click(object sender, EventArgs e)
        {
            int orderID = order_Service.GetOrderId(TableNumber, employee);

            if (orderID != 0)
            {
                foreach (OrderItem item in orderItems)
                {
                    order_Service.CreateOrderItem(orderID, item);
                }
            }

            orderItems = new List <OrderItem>();

            ShowPanel("tableMenu");
        }