aboutsummaryrefslogtreecommitdiff
path: root/src/PriceListTools/Target.cs
diff options
context:
space:
mode:
authorSergey Chebotar <s.chebotar@gmail.com>2022-01-28 18:15:13 +0300
committerSergey Chebotar <s.chebotar@gmail.com>2022-01-28 18:15:13 +0300
commit60006126b97131e383a8fee137cf89a13672f042 (patch)
treedb17aa2ff99cc986254919f8f9fa9ec3deb60c4b /src/PriceListTools/Target.cs
parent5b4888be12b223294309d92c30c154a28006737e (diff)
Add not found positions to target file
Diffstat (limited to 'src/PriceListTools/Target.cs')
-rw-r--r--src/PriceListTools/Target.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/PriceListTools/Target.cs b/src/PriceListTools/Target.cs
index 7abe9e2..a7e87ec 100644
--- a/src/PriceListTools/Target.cs
+++ b/src/PriceListTools/Target.cs
@@ -13,8 +13,9 @@ namespace RehauSku.PriceListTools
amountCell = Sheet.Cells.Find(amountHeader);
skuCell = Sheet.Cells.Find(skuHeader);
groupCell = Sheet.Cells.Find(groupHeader);
+ nameCell = Sheet.Cells.Find(nameHeader);
- if (amountCell == null || skuCell == null || groupCell == null)
+ if (amountCell == null || skuCell == null || groupCell == null || nameCell == null)
{
throw new ArgumentException($"Шаблон { Name } не является прайс-листом");
}