thm-p3-configurator 0.0.73 → 0.0.74
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.
|
@@ -117,11 +117,14 @@ const ProductCategories = _ref5 => {
|
|
|
117
117
|
let {
|
|
118
118
|
productType = null,
|
|
119
119
|
productGroup = null,
|
|
120
|
-
productSubgroup = null
|
|
120
|
+
productSubgroup = null,
|
|
121
|
+
articleNumber = null
|
|
121
122
|
} = _ref5;
|
|
122
123
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
123
124
|
className: (0, _helpers__.withStyle)('mb-3')
|
|
124
|
-
},
|
|
125
|
+
}, articleNumber && /*#__PURE__*/_react.default.createElement("p", {
|
|
126
|
+
className: (0, _helpers__.withStyle)('fst-italic mb-0')
|
|
127
|
+
}, /*#__PURE__*/_react.default.createElement("strong", null, "Artikelnummer:"), " ", articleNumber), productType && /*#__PURE__*/_react.default.createElement("p", {
|
|
125
128
|
className: (0, _helpers__.withStyle)('fst-italic mb-0')
|
|
126
129
|
}, /*#__PURE__*/_react.default.createElement("strong", null, "Type:"), " ", productType), productGroup && /*#__PURE__*/_react.default.createElement("p", {
|
|
127
130
|
className: (0, _helpers__.withStyle)('fst-italic mb-0')
|
|
@@ -139,6 +142,7 @@ const SingleOrderProductCard = _ref6 => {
|
|
|
139
142
|
productType,
|
|
140
143
|
productGroup,
|
|
141
144
|
productSubgroup,
|
|
145
|
+
articleNumber,
|
|
142
146
|
productTitle,
|
|
143
147
|
productDescription,
|
|
144
148
|
productPrice,
|
|
@@ -162,10 +166,11 @@ const SingleOrderProductCard = _ref6 => {
|
|
|
162
166
|
className: (0, _helpers__.withStyle)('card-title mb-3')
|
|
163
167
|
}, productTitle, /*#__PURE__*/_react.default.createElement("span", {
|
|
164
168
|
className: (0, _helpers__.withStyle)('ms-2')
|
|
165
|
-
}, "\u20AC", productPrice)), (productType || productGroup || productSubgroup) && /*#__PURE__*/_react.default.createElement(ProductCategories, {
|
|
169
|
+
}, "\u20AC", productPrice)), (productType || productGroup || productSubgroup || articleNumber) && /*#__PURE__*/_react.default.createElement(ProductCategories, {
|
|
166
170
|
productType: productType,
|
|
167
171
|
productGroup: productGroup,
|
|
168
|
-
productSubgroup: productSubgroup
|
|
172
|
+
productSubgroup: productSubgroup,
|
|
173
|
+
articleNumber: articleNumber
|
|
169
174
|
}), /*#__PURE__*/_react.default.createElement(ProductDescription, {
|
|
170
175
|
description: productDescription
|
|
171
176
|
}), /*#__PURE__*/_react.default.createElement(ProductSpecifications, {
|
|
@@ -133,6 +133,7 @@ const InternalSingleOrderProductOverview = _ref => {
|
|
|
133
133
|
isSelected: false,
|
|
134
134
|
isOutOfStock: (article === null || article === void 0 || (_article$locationPric = article.locationPrices) === null || _article$locationPric === void 0 || (_article$locationPric = _article$locationPric.stock) === null || _article$locationPric === void 0 ? void 0 : _article$locationPric.status) == _constants__.StockStatus.OutOfStock,
|
|
135
135
|
handleSelected: () => handleQuantityChange(article.articleNumber, 1),
|
|
136
|
+
articleNumber: article.articleNumber,
|
|
136
137
|
handleQuantityChange: handleQuantityChange,
|
|
137
138
|
productSpecifications: article === null || article === void 0 ? void 0 : article.specifications,
|
|
138
139
|
productDescription: article === null || article === void 0 ? void 0 : article.description,
|