diff --git a/BlacksmithWorkshop/BlacksmithWorkshopBusinessLogic/OfficePackage/AbstractSaveToWord.cs b/BlacksmithWorkshop/BlacksmithWorkshopBusinessLogic/OfficePackage/AbstractSaveToWord.cs index 004ae2a..218908d 100644 --- a/BlacksmithWorkshop/BlacksmithWorkshopBusinessLogic/OfficePackage/AbstractSaveToWord.cs +++ b/BlacksmithWorkshop/BlacksmithWorkshopBusinessLogic/OfficePackage/AbstractSaveToWord.cs @@ -54,25 +54,6 @@ namespace BlacksmithWorkshopBusinessLogic.OfficePackage JustificationType = WordJustificationType.Center } }); - //foreach (var store in info.Stores) - //{ - // CreateParagraph(new WordParagraph - // { - // Texts = new List<(string, WordTextProperties)> - // { - // (store.StoreName, new WordTextProperties { Bold = true, Size = "24", }), - // (" ", new WordTextProperties { Size = "24"}), - // (store.Address, new WordTextProperties { Size = "24" }), - // (" ", new WordTextProperties { Size = "24"}), - // (store.OpeningDate.ToShortDateString(), new WordTextProperties { Size = "24" }) - // }, - // TextProperties = new WordTextProperties - // { - // Size = "24", - // JustificationType = WordJustificationType.Both - // } - // }); - //} CreateTable(new() { ("Название", 3000), @@ -83,7 +64,7 @@ namespace BlacksmithWorkshopBusinessLogic.OfficePackage .Select(x => new List { x.StoreName, - Convert.ToString(x.OpeningDate.ToShortDateString), + Convert.ToString(x.OpeningDate), x.Address, }) .ToList());