simpo-component-library 3.6.213 → 3.6.214
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 +2 -2
- package/fesm2022/simpo-component-library.mjs +1 -1
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/directive/background-directive.d.ts +1 -1
- package/lib/directive/button-directive.directive.d.ts +1 -1
- package/lib/directive/color.directive.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/product-list/product-list.component.d.ts +1 -1
- package/lib/ecommerce/sections/store-list/store-list.component.d.ts +1 -1
- package/lib/ecommerce/sections/store-page/store-page.component.d.ts +1 -1
- package/lib/elements/link-editor/link-editor.component.d.ts +1 -1
- package/lib/sections/banner-grid-section/banner-grid-section.component.d.ts +1 -1
- package/lib/sections/contact-us/contact-us.component.d.ts +1 -1
- package/lib/sections/header-section/header-section.component.d.ts +1 -1
- package/lib/sections/moving-text/moving-text.component.d.ts +1 -1
- package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
- package/package.json +1 -1
- package/simpo-component-library-3.6.214.tgz +0 -0
- package/simpo-component-library-3.6.213.tgz +0 -0
@@ -8423,7 +8423,7 @@ class CartComponent extends BaseSection {
|
|
8423
8423
|
this.router.navigate(['/home-appointment']);
|
8424
8424
|
}
|
8425
8425
|
redeemScheme(scheme, action) {
|
8426
|
-
if (this.responseData?.totalAmount ?? 0 - this.responseData?.billdetails?.discountAmount ?? 0 < scheme.amount) {
|
8426
|
+
if (((this.responseData?.totalAmount ?? 0) - (this.responseData?.billdetails?.discountAmount ?? 0)) < scheme.amount) {
|
8427
8427
|
this.messageService.add({ severity: 'error', summary: 'Scheme Redeem', detail: 'Cart amount should be more that redeem amount' });
|
8428
8428
|
return;
|
8429
8429
|
}
|