ТороповаДА 8 months ago
parent
commit
6137f4c20d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      WriteErase/ClassWindows/WindowOrderView.xaml.cs

+ 1 - 1
WriteErase/ClassWindows/WindowOrderView.xaml.cs

@@ -173,7 +173,7 @@ namespace WriteErase.ClassWindows
                         newOrder.OrderDeliveryDate = DateTime.Now.AddDays(6);
                     BaseConnection.kotBase.SaveChanges();
 
-                    MessageBox.Show("Заказ успешно добавлен");
+                    MessageBox.Show("Заказ успешно добавлен\nКод получения: " + newOrder.OrderCode);
                     UserBasket.basket.Clear();
                 }
                 else