This commit is contained in:
Artyom_Yashin 2024-05-26 16:08:50 +04:00
commit af27ce1d36

View File

@ -37,17 +37,17 @@ namespace BankBusinessLogic.OfficePackage
{
ColumnName = "A",
RowIndex = rowIndex,
Text = transfer.ComputerName,
Text = "",
StyleInfo = ExcelStyleInfoType.Text
});
rowIndex++;
foreach (var component in transfer.Components)
foreach (var component in transfer.Transfers)
{
InsertCellInWorksheet(new ExcelCellParameters
{
ColumnName = "B",
RowIndex = rowIndex,
Text = component.Item1,
Text = "",
StyleInfo =
ExcelStyleInfoType.TextWithBroder
});
@ -55,7 +55,7 @@ namespace BankBusinessLogic.OfficePackage
{
ColumnName = "C",
RowIndex = rowIndex,
Text = component.Item2.ToString(),
Text = "",
StyleInfo =
ExcelStyleInfoType.TextWithBroder
});
@ -72,7 +72,7 @@ namespace BankBusinessLogic.OfficePackage
{
ColumnName = "C",
RowIndex = rowIndex,
Text = transfer.TotalCount.ToString(),
Text = "",
StyleInfo = ExcelStyleInfoType.Text
});
rowIndex++;