simpo-component-library 3.6.205 → 3.6.206

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.
@@ -8409,7 +8409,7 @@ class CartComponent extends BaseSection {
8409
8409
  redeemScheme(scheme, action) {
8410
8410
  this.restService.redeemScheme(scheme, this.cartInfo.cartId, action).subscribe((res) => {
8411
8411
  if (!action) {
8412
- if (this.responseData?.totalAmount ?? 0 - this.responseData?.billdetails?.discountAmount ?? 0 > scheme.amount) {
8412
+ if (this.responseData?.totalAmount ?? 0 - this.responseData?.billdetails?.discountAmount ?? 0 < scheme.amount) {
8413
8413
  this.showReedemError = true;
8414
8414
  this.vaildAmount = scheme.amount - (this.responseData?.totalAmount ?? 0 - this.responseData?.billdetails?.discountAmount ?? 0);
8415
8415
  }