Правки

This commit is contained in:
nikbel2004@outlook.com 2024-05-10 22:02:30 +04:00
parent 9ac33454fe
commit bb579952af

View File

@ -31,19 +31,19 @@ namespace FurnitureAssemblyBusinessLogic.OfficePackage
uint rowIndex = 2;
foreach (var mwp in info.FurnitureWorkPieces)
foreach (var fwp in info.FurnitureWorkPieces)
{
InsertCellInWorksheet(new ExcelCellParameters
{
ColumnName = "A",
RowIndex = rowIndex,
Text = mwp.FurnitureName,
Text = fwp.FurnitureName,
StyleInfo = ExcelStyleInfoType.Text
});
rowIndex++;
foreach (var (WorkPiece, Count) in mwp.WorkPieces)
foreach (var (WorkPiece, Count) in fwp.WorkPieces)
{
InsertCellInWorksheet(new ExcelCellParameters
{
@ -76,7 +76,7 @@ namespace FurnitureAssemblyBusinessLogic.OfficePackage
{
ColumnName = "C",
RowIndex = rowIndex,
Text = mwp.TotalCount.ToString(),
Text = fwp.TotalCount.ToString(),
StyleInfo = ExcelStyleInfoType.Text
});