This commit is contained in:
Artyom_Yashin 2024-05-26 15:32:15 +04:00
commit 7fff7351f4
3 changed files with 8 additions and 3 deletions

View File

@ -46,8 +46,11 @@ namespace BankBusinessLogic.BusinessLogic
_saveToWord.CreateDoc(new WordInfo
{
FileName = model.FileName,
Title = "Список кузнечных изделий",
Manufactures = _ManufactureStorage.GetFullList()
Title = "Список заявок",
Requests = CreateReportRequests(new AccountSearchModel
{
SelectedAccountIds = model.SelectedAccountIds,
}),
});
}
#endregion

View File

@ -12,5 +12,6 @@ namespace BankBusinessLogic.OfficePackage.DocumentModels
public string FileName { get; set; } = string.Empty;
public string Title { get; set; } = string.Empty;
public List<ReportTransfersViewModel> Transfers { get; set; } = new();
}
public List<ReportRequestsViewModel> Requests { get; set; } = new();
}
}

View File

@ -11,5 +11,6 @@ namespace BankContracts.BindingModels
public string FileName { get; set; } = string.Empty;
public DateTime? DateFrom { get; set; }
public DateTime? DateTo { get; set; }
public List<int>? SelectedAccountIds { get; set; }
}
}