@salesgenterp/ui-components 0.4.507 → 0.4.508

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.
package/dist/index.js CHANGED
@@ -7468,7 +7468,7 @@ var CardRow = function CardRow(_ref) {
7468
7468
  }
7469
7469
  }, row.productName), /*#__PURE__*/React__default.createElement(CouponDiscountName, {
7470
7470
  discountAmount: row === null || row === void 0 ? void 0 : row.discountAmount,
7471
- discountName: row === null || row === void 0 ? void 0 : row.discountName
7471
+ discountName: row === null || row === void 0 ? void 0 : row.couponDiscount
7472
7472
  }), ((row === null || row === void 0 ? void 0 : row.quantity) > (row === null || row === void 0 ? void 0 : row.availableQuantity) || (row === null || row === void 0 ? void 0 : row.availableQuantity) <= 0) && /*#__PURE__*/React__default.createElement("p", {
7473
7473
  style: {
7474
7474
  color: 'red',
@@ -7883,7 +7883,7 @@ var CartPageProductCard = function CartPageProductCard(_ref) {
7883
7883
  }
7884
7884
  }, item.productName)), /*#__PURE__*/React__default.createElement(CouponDiscountName, {
7885
7885
  discountAmount: item === null || item === void 0 ? void 0 : item.discountAmount,
7886
- discountName: item === null || item === void 0 ? void 0 : item.discountName
7886
+ discountName: item === null || item === void 0 ? void 0 : item.couponDiscount
7887
7887
  })), !doNotShowPrice && /*#__PURE__*/React__default.createElement("p", null, /*#__PURE__*/React__default.createElement(TotalAfterDiscount, {
7888
7888
  totalAmount: item === null || item === void 0 ? void 0 : item.standardPrice,
7889
7889
  discountAmount: item === null || item === void 0 ? void 0 : item.discountAmount
@@ -8527,7 +8527,7 @@ var CartDrawerProductCard = function CartDrawerProductCard(_ref) {
8527
8527
  }
8528
8528
  }, product === null || product === void 0 ? void 0 : product.productName)), /*#__PURE__*/React__default.createElement(CouponDiscountName, {
8529
8529
  discountName: product === null || product === void 0 ? void 0 : product.discountName,
8530
- discountAmount: product === null || product === void 0 ? void 0 : product.discountAmount
8530
+ discountAmount: product === null || product === void 0 ? void 0 : product.couponDiscount
8531
8531
  })), !doNotShowPrice && /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement("h6", null, /*#__PURE__*/React__default.createElement(TotalAfterDiscount, {
8532
8532
  totalAmount: product === null || product === void 0 ? void 0 : product.standardPrice,
8533
8533
  discountAmount: product === null || product === void 0 ? void 0 : product.discountAmount
@@ -12834,7 +12834,8 @@ var Step4 = function Step4(_ref) {
12834
12834
  }, /*#__PURE__*/React__default.createElement("p", {
12835
12835
  className: "price max"
12836
12836
  }, /*#__PURE__*/React__default.createElement(TotalAfterDiscount, {
12837
- totalAmount: (row === null || row === void 0 ? void 0 : row.standardPrice) * row.quantity
12837
+ totalAmount: (row === null || row === void 0 ? void 0 : row.standardPrice) * row.quantity,
12838
+ discountAmount: 0
12838
12839
  })))));
12839
12840
  }), doNotShowPrice ? /*#__PURE__*/React__default.createElement(StyledTableRow, null, /*#__PURE__*/React__default.createElement(StyledTableCell, {
12840
12841
  colSpan: 1,