aboutsummaryrefslogtreecommitdiff
path: root/src/PriceListTools/TargetPriceList.cs
diff options
context:
space:
mode:
authorSergey Chebotar <s.chebotar@gmail.com>2022-02-04 09:17:12 +0300
committerSergey Chebotar <s.chebotar@gmail.com>2022-02-04 09:17:12 +0300
commit6e889419e2658a3a80fa00582314f1428f6052e5 (patch)
tree1c7f8c057acc0f8423f9248546709c2c6a7c1d6a /src/PriceListTools/TargetPriceList.cs
parentef04747df50da1fbb5124fc9c02f1869d93864f5 (diff)
Add Result Statusbar message
Diffstat (limited to 'src/PriceListTools/TargetPriceList.cs')
-rw-r--r--src/PriceListTools/TargetPriceList.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/PriceListTools/TargetPriceList.cs b/src/PriceListTools/TargetPriceList.cs
index 2c2f029..32b071c 100644
--- a/src/PriceListTools/TargetPriceList.cs
+++ b/src/PriceListTools/TargetPriceList.cs
@@ -19,10 +19,11 @@ namespace RehauSku.PriceListTools
amountCell = Sheet.Cells.Find(amountHeader),
skuCell = Sheet.Cells.Find(skuHeader),
groupCell = Sheet.Cells.Find(groupHeader),
- nameCell = Sheet.Cells.Find(nameHeader),
- oldSkuCell = Sheet.Cells.Find(oldSkuHeader)
+ nameCell = Sheet.Cells.Find(nameHeader)
};
+ oldSkuCell = Sheet.Cells.Find(oldSkuHeader);
+
if (cells.Any(x => x == null))
{
throw new ArgumentException($"Шаблон { Name } не является прайс-листом");