From 406b97cc8fcd9bd3af4fdb9384364545ac148b34 Mon Sep 17 00:00:00 2001 From: Ismailov_Rovshan Date: Tue, 25 Apr 2023 10:24:08 +0400 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=BF=D0=BE=D0=BB=D0=BD=D0=B5?= =?UTF-8?q?=D0=BD=D0=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../OfficePackage/AbstractSaveToPdf.cs | 6 +++--- RenovationWork/RenovationWorkView/ReportOrders.rdlc | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/RenovationWork/RenovationWorkBusinessLogic/OfficePackage/AbstractSaveToPdf.cs b/RenovationWork/RenovationWorkBusinessLogic/OfficePackage/AbstractSaveToPdf.cs index bbbaddc..6b4190c 100644 --- a/RenovationWork/RenovationWorkBusinessLogic/OfficePackage/AbstractSaveToPdf.cs +++ b/RenovationWork/RenovationWorkBusinessLogic/OfficePackage/AbstractSaveToPdf.cs @@ -16,11 +16,11 @@ namespace RenovationWorkBusinessLogic.OfficePackage CreateParagraph(new PdfParagraph { Text = info.Title, Style = "NormalTitle", ParagraphAlignment = PdfParagraphAlignmentType.Center }); CreateParagraph(new PdfParagraph { Text = $"с {info.DateFrom.ToShortDateString()} по {info.DateTo.ToShortDateString()}", Style = "Normal", ParagraphAlignment = PdfParagraphAlignmentType.Center }); - CreateTable(new List { "2cm", "3cm", "6cm", "3cm" }); + CreateTable(new List { "2cm", "3cm", "6cm", "3cm", "4cm" }); CreateRow(new PdfRowParameters { - Texts = new List { "Номер", "Дата заказа", "Изделие", "Сумма" }, + Texts = new List { "Номер", "Дата заказа", "Изделие", "Статус", "Сумма" }, Style = "NormalTitle", ParagraphAlignment = PdfParagraphAlignmentType.Center }); @@ -29,7 +29,7 @@ namespace RenovationWorkBusinessLogic.OfficePackage { CreateRow(new PdfRowParameters { - Texts = new List { order.Id.ToString(), order.DateCreate.ToShortDateString(), order.RepairName, order.Sum.ToString() }, + Texts = new List { order.Id.ToString(), order.DateCreate.ToShortDateString(), order.RepairName, order.Status, order.Sum.ToString() }, Style = "Normal", ParagraphAlignment = PdfParagraphAlignmentType.Left }); diff --git a/RenovationWork/RenovationWorkView/ReportOrders.rdlc b/RenovationWork/RenovationWorkView/ReportOrders.rdlc index 0a23c7f..ebd9af8 100644 --- a/RenovationWork/RenovationWorkView/ReportOrders.rdlc +++ b/RenovationWork/RenovationWorkView/ReportOrders.rdlc @@ -248,7 +248,7 @@ - Order Status + Status @@ -565,7 +565,7 @@ 6.27908cm