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.
- package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +8 -8
- package/fesm2022/simpo-component-library.mjs +7 -7
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts +1 -1
- package/lib/ecommerce/sections/featured-category/featured-category.component.d.ts +1 -1
- package/lib/ecommerce/sections/featured-category/featured-collection.component.d.ts +1 -1
- package/lib/ecommerce/sections/new-collection/new-collection.component.d.ts +1 -1
- package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +1 -1
- package/lib/ecommerce/sections/schemes/schemes.component.d.ts +1 -1
- package/lib/sections/banner-carousel/banner-carousel.component.d.ts +2 -2
- package/lib/sections/carousel-banner/carousel-banner.component.d.ts +1 -1
- package/lib/sections/contact-us/contact-us.component.d.ts +1 -1
- package/lib/sections/faq-section/faq-section.component.d.ts +1 -1
- package/lib/sections/image-grid-hotspot/image-grid-hotspot.component.d.ts +1 -1
- package/lib/sections/image-grid-section/image-grid-section.component.d.ts +1 -1
- package/lib/sections/image-section/image-section.component.d.ts +2 -2
- package/lib/sections/pricing-section/pricing-section.component.d.ts +2 -2
- package/package.json +1 -1
- package/simpo-component-library-3.6.696.tgz +0 -0
- package/simpo-component-library-3.6.695.tgz +0 -0
|
@@ -9472,13 +9472,13 @@ class CartComponent extends BaseSection {
|
|
|
9472
9472
|
});
|
|
9473
9473
|
}
|
|
9474
9474
|
getRedeemPoints() {
|
|
9475
|
-
|
|
9476
|
-
|
|
9477
|
-
|
|
9478
|
-
|
|
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;
|