From f6cf49d2d382a69f567707a022d5d34d3bd8bfac Mon Sep 17 00:00:00 2001 From: Programmist73 Date: Thu, 18 May 2023 12:55:48 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9F=D1=80=D0=BE=D0=B4=D0=BE=D0=BB=D0=B6?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BF=D1=80=D0=B0=D0=B2=D0=BE=D0=BA?= =?UTF-8?q?=20=D0=BE=D1=82=D1=87=D1=91=D1=82=D0=B0.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../OfficePackage/AbstractSaveToPdfClient.cs | 4 ++-- .../BankYouBankruptCashierApp/Controllers/HomeController.cs | 2 ++ .../BankYouBankruptClientApp/Controllers/HomeController.cs | 4 +++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/BankYouBankrupt/BankYouBankruptBusinessLogic/OfficePackage/AbstractSaveToPdfClient.cs b/BankYouBankrupt/BankYouBankruptBusinessLogic/OfficePackage/AbstractSaveToPdfClient.cs index 21589b3..0a7c32d 100644 --- a/BankYouBankrupt/BankYouBankruptBusinessLogic/OfficePackage/AbstractSaveToPdfClient.cs +++ b/BankYouBankrupt/BankYouBankruptBusinessLogic/OfficePackage/AbstractSaveToPdfClient.cs @@ -121,13 +121,13 @@ namespace BankYouBankruptBusinessLogic.OfficePackage }); //параграф с отчётом по выдаче наличных с карт - CreateParagraph(new PdfParagraph { Text = "Отчёт по выдаче наличных с карт", Style = "Normal", ParagraphAlignment = PdfParagraphAlignmentType.Center }); + CreateParagraph(new PdfParagraph { Text = "Отчёт по выдаче наличных со счёта", Style = "Normal", ParagraphAlignment = PdfParagraphAlignmentType.Center }); CreateTable(new List { "3.5cm", "3.5cm", "5cm", "5cm" }); CreateRow(new PdfRowParameters { - Texts = new List { "Номер операции", "Номер счёта получателя", "Сумма операции", "Дата операции" }, + Texts = new List { "Номер операции", "Номер счёта", "Сумма операции", "Дата операции" }, Style = "NormalTitle", ParagraphAlignment = PdfParagraphAlignmentType.Center }); diff --git a/BankYouBankrupt/BankYouBankruptCashierApp/Controllers/HomeController.cs b/BankYouBankrupt/BankYouBankruptCashierApp/Controllers/HomeController.cs index 06debf5..9b62e5f 100644 --- a/BankYouBankrupt/BankYouBankruptCashierApp/Controllers/HomeController.cs +++ b/BankYouBankrupt/BankYouBankruptCashierApp/Controllers/HomeController.cs @@ -449,6 +449,8 @@ namespace BankYouBankruptCashierApp.Controllers DateFrom = dateFrom, DateTo = dateTo }); + + Response.Redirect("Index"); } #endregion diff --git a/BankYouBankrupt/BankYouBankruptClientApp/Controllers/HomeController.cs b/BankYouBankrupt/BankYouBankruptClientApp/Controllers/HomeController.cs index f0b5485..27b5ced 100644 --- a/BankYouBankrupt/BankYouBankruptClientApp/Controllers/HomeController.cs +++ b/BankYouBankrupt/BankYouBankruptClientApp/Controllers/HomeController.cs @@ -265,7 +265,9 @@ namespace BankYouBankruptClientApp.Controllers DateFrom = dateFrom, DateTo = dateTo }); - } + + Response.Redirect("Index"); + } #endregion