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