Only write thickness to excel if value is greater than 0

This commit is contained in:
AJ
2018-04-23 08:50:02 -04:00
parent e72f2e9948
commit 21d15ac7f7
3 changed files with 5 additions and 2 deletions

View File

@@ -399,7 +399,10 @@ namespace ExportDXF.Forms
partsSheet.Cells[row, 2].Value = item.Quantity;
partsSheet.Cells[row, 3].Value = item.Description;
partsSheet.Cells[row, 4].Value = item.PartNo;
partsSheet.Cells[row, 5].Value = item.Thickness;
if (item.Thickness > 0)
partsSheet.Cells[row, 5].Value = item.Thickness;
partsSheet.Cells[row, 6].Value = item.Material;
}