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.
@@ -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
  }