fix word report

This commit is contained in:
Zakharov_Rostislav 2024-05-26 22:37:29 +04:00
parent 1ee37f618c
commit 34e4891e5f

View File

@ -19,11 +19,20 @@ namespace BankBusinessLogic.OfficePackage
List<ReportRequestsViewModel> reports = info.Requests;
foreach (ReportRequestsViewModel report in reports)
{
List<string> header = new List<string>
{
report.AccountNumber,
"",
"",
"",
"",
};
table.Add(header);
foreach (RequestViewModel request in report.Requests)
{
List<string> row = new List<string>
{
report.AccountNumber,
"",
request.Id.ToString(),
request.Status.ToString(),
request.Sum.ToString(),