simpo-component-library 3.6.695 → 3.6.696

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.
@@ -9472,13 +9472,13 @@ class CartComponent extends BaseSection {
9472
9472
  });
9473
9473
  }
9474
9474
  getRedeemPoints() {
9475
- // let businessId = localStorage.getItem("bId") ?? localStorage.getItem("businessId")
9476
- // const userDetails = (this.storageService.getUser() as User);
9477
- // let userId = userDetails?.userId
9478
- // let orderValue = this.responseData?.billdetails?.totalNetValue
9479
- let businessId = '1f128fde-c0f5-68c4-85c5-0328a92a06e7';
9480
- let userId = 'daccde31-2901-11f1-94ac-c389b0249b35';
9481
- let orderValue = 1000;
9475
+ let businessId = localStorage.getItem("bId") ?? localStorage.getItem("businessId");
9476
+ const userDetails = this.storageService.getUser();
9477
+ let userId = userDetails?.userId;
9478
+ let orderValue = this.responseData?.billdetails?.totalNetValue;
9479
+ // let businessId = '1f128fde-c0f5-68c4-85c5-0328a92a06e7'
9480
+ // let userId = 'daccde31-2901-11f1-94ac-c389b0249b35'
9481
+ // let orderValue = 1000
9482
9482
  this.restService.getRedeemPoints(businessId, userId, 'PRODUCT_PURCHASE', orderValue).subscribe({
9483
9483
  next: (res) => {
9484
9484
  this.redemptionPoints = res;