diff --git a/Bank/BankBusinessLogic/BusinessLogic/ReportLogic.cs b/Bank/BankBusinessLogic/BusinessLogic/ReportLogic.cs index 4a6f2af..6de0d61 100644 --- a/Bank/BankBusinessLogic/BusinessLogic/ReportLogic.cs +++ b/Bank/BankBusinessLogic/BusinessLogic/ReportLogic.cs @@ -73,6 +73,19 @@ namespace BankBusinessLogic.BusinessLogic { return _cardStorage.GetReportTransfersList(model); } + + public void SaveTransfersToWordFile(ReportBindingModel model) + { + _saveToWord.CreateDoc(new WordInfo + { + FileName = model.FileName, + Title = "Список кузнечных изделий", + Transfers = CreateReportTransfers(new CardSearchModel + { + SelectedCardIds = model.S + }) + }); + } #endregion #region//отчеты по картам за период с расшифровкой по заявкам и операциям в формате pdf