fix errors
This commit is contained in:
parent
4dc0725936
commit
931c363b81
@ -82,7 +82,7 @@ namespace BankBusinessLogic.BusinessLogic
|
||||
Title = "Список кузнечных изделий",
|
||||
Transfers = CreateReportTransfers(new CardSearchModel
|
||||
{
|
||||
SelectedCardIds = model.S
|
||||
SelectedCardIds = model.SelectedCardsIds
|
||||
})
|
||||
});
|
||||
}
|
||||
|
@ -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++;
|
||||
|
@ -12,5 +12,6 @@ namespace BankContracts.BindingModels
|
||||
public DateTime? DateFrom { get; set; }
|
||||
public DateTime? DateTo { get; set; }
|
||||
public List<int>? SelectedAccountIds { get; set; }
|
||||
public List<int>? SelectedCardsIds { get; set; }
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user