thm-p3-configurator 0.0.239 → 0.0.240
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -123,8 +123,6 @@ const ProductActions = _ref2 => {
|
|
|
123
123
|
};
|
|
124
124
|
const ProductCategories = _ref3 => {
|
|
125
125
|
let {
|
|
126
|
-
productType = null,
|
|
127
|
-
productGroup = null,
|
|
128
126
|
productSubgroup = null,
|
|
129
127
|
articleNumber = null,
|
|
130
128
|
preferredPart = null,
|
|
@@ -137,15 +135,11 @@ const ProductCategories = _ref3 => {
|
|
|
137
135
|
className: (0, _helpers__.withStyle)('col-md-6')
|
|
138
136
|
}, articleNumber && /*#__PURE__*/_react.default.createElement("p", {
|
|
139
137
|
className: (0, _helpers__.withStyle)('fst-italic mb-0')
|
|
140
|
-
}, /*#__PURE__*/_react.default.createElement("strong", null, "
|
|
138
|
+
}, /*#__PURE__*/_react.default.createElement("strong", null, "Artikel:"), " ", articleNumber, ' ', brandName ? "| ".concat(brandName) : ''), productSubgroup && /*#__PURE__*/_react.default.createElement("p", {
|
|
141
139
|
className: (0, _helpers__.withStyle)('fst-italic mb-0')
|
|
142
|
-
}, /*#__PURE__*/_react.default.createElement("strong", null, "
|
|
140
|
+
}, /*#__PURE__*/_react.default.createElement("strong", null, "Groep:"), " ", productSubgroup), preferredPart && /*#__PURE__*/_react.default.createElement("p", {
|
|
143
141
|
className: (0, _helpers__.withStyle)('fst-italic mb-0')
|
|
144
|
-
}, /*#__PURE__*/_react.default.createElement("strong", null, "
|
|
145
|
-
className: (0, _helpers__.withStyle)('fst-italic mb-0')
|
|
146
|
-
}, /*#__PURE__*/_react.default.createElement("strong", null, "Subgroep:"), " ", productSubgroup), preferredPart && /*#__PURE__*/_react.default.createElement("p", {
|
|
147
|
-
className: (0, _helpers__.withStyle)('fst-italic mb-0')
|
|
148
|
-
}, /*#__PURE__*/_react.default.createElement("strong", null, "Voorkeur onderdeel:"), " ", preferredPart.preferredPart), !isWebshop && showPartStockLevel && (partStockLevels === null || partStockLevels === void 0 ? void 0 : partStockLevels.status) && /*#__PURE__*/_react.default.createElement("p", {
|
|
142
|
+
}, /*#__PURE__*/_react.default.createElement("strong", null, "Voorkeur:"), " ", preferredPart.preferredPart), !isWebshop && showPartStockLevel && (partStockLevels === null || partStockLevels === void 0 ? void 0 : partStockLevels.status) && /*#__PURE__*/_react.default.createElement("p", {
|
|
149
143
|
className: (0, _helpers__.withStyle)('fst-italic mb-0')
|
|
150
144
|
}, /*#__PURE__*/_react.default.createElement("small", {
|
|
151
145
|
className: (0, _helpers__.withStyle)(partStockLevels.status === _constants__.StockStatus.OutOfStock ? 'text-danger' : partStockLevels.status === _constants__.StockStatus.InsufficientStock ? 'text-warning' : 'text-success')
|
|
@@ -160,8 +154,6 @@ const SingleOrderProductCard = _ref4 => {
|
|
|
160
154
|
formula,
|
|
161
155
|
handleSelected,
|
|
162
156
|
productImage,
|
|
163
|
-
productType,
|
|
164
|
-
productGroup,
|
|
165
157
|
productSubgroup,
|
|
166
158
|
articleNumber,
|
|
167
159
|
productUsps,
|
|
@@ -241,10 +233,8 @@ const SingleOrderProductCard = _ref4 => {
|
|
|
241
233
|
className: (0, _helpers__.withStyle)('ms-2')
|
|
242
234
|
}, "\u20AC", productPrice)), /*#__PURE__*/_react.default.createElement("div", {
|
|
243
235
|
className: (0, _helpers__.withStyle)(isModelArticle ? 'd-flex justify-content-between' : '')
|
|
244
|
-
}, (
|
|
236
|
+
}, (productSubgroup || articleNumber || preferredPart) && /*#__PURE__*/_react.default.createElement(ProductCategories, {
|
|
245
237
|
brandName: brandName,
|
|
246
|
-
productType: productType,
|
|
247
|
-
productGroup: productGroup,
|
|
248
238
|
productSubgroup: productSubgroup,
|
|
249
239
|
articleNumber: articleNumber,
|
|
250
240
|
preferredPart: preferredPart,
|
|
@@ -178,8 +178,6 @@ const InternalSingleOrderProductOverview = _ref => {
|
|
|
178
178
|
productTitle: article.name,
|
|
179
179
|
productPrice: Number(article === null || article === void 0 || (_article$locationPric7 = article.locationPrices) === null || _article$locationPric7 === void 0 ? void 0 : _article$locationPric7.priceExclVat).toFixed(2),
|
|
180
180
|
productPriceInclVat: Number(article === null || article === void 0 || (_article$locationPric8 = article.locationPrices) === null || _article$locationPric8 === void 0 ? void 0 : _article$locationPric8.priceInclVat).toFixed(2),
|
|
181
|
-
productType: article === null || article === void 0 ? void 0 : article.type,
|
|
182
|
-
productGroup: article === null || article === void 0 ? void 0 : article.group,
|
|
183
181
|
productSubgroup: article === null || article === void 0 ? void 0 : article.subgroup,
|
|
184
182
|
isWebshop: !!orderSession.webshop
|
|
185
183
|
});
|