Compare commits

...

2 Commits

Author SHA1 Message Date
2538483f76 fix errors 2024-05-26 15:57:16 +04:00
931c363b81 fix errors 2024-05-26 15:56:24 +04:00

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++;