From 9a98b795949dc34c03642d3066c11353bc24c020 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=BA=20=D0=98=D0=B3=D0=BE=D1=80=D1=8C?= Date: Tue, 9 May 2023 18:53:44 +0400 Subject: [PATCH] =?UTF-8?q?=D0=B4=D0=BE=D1=80=D0=B0=D0=B1=D0=BE=D1=82?= =?UTF-8?q?=D0=BA=D0=B8=20=D0=BF=D0=BE=20=D0=B2=D0=BE=D1=80=D0=B4=D1=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../OfficePackage/AbstractSaveToWord.cs | 21 +------------------ 1 file changed, 1 insertion(+), 20 deletions(-) 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());