This commit is contained in:
Artyom_Yashin 2024-05-26 15:32:11 +04:00
parent e0f920010b
commit 296ec5bfde

View File

@ -1,5 +1,6 @@
using BankBusinessLogic.OfficePackage;
using BankBusinessLogic.OfficePackage.DocumentModels;
using BankContracts.BindingModels;
using BankContracts.BusinessLogicsContracts;
using BankContracts.SearchModels;
using BankContracts.StoragesContracts;
@ -56,6 +57,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