diff --git a/Bank/BankBusinessLogic/OfficePackage/AbstractSaveToExcel.cs b/Bank/BankBusinessLogic/OfficePackage/AbstractSaveToExcel.cs index 32f613f..1d49016 100644 --- a/Bank/BankBusinessLogic/OfficePackage/AbstractSaveToExcel.cs +++ b/Bank/BankBusinessLogic/OfficePackage/AbstractSaveToExcel.cs @@ -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++;