simpo-component-library 3.6.286 → 3.6.287

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.
@@ -8522,7 +8522,7 @@ class CartComponent extends BaseSection {
8522
8522
  this.cartInfo.billdetails.totalTax += (item.quantity * (item.itemTax ?? 0));
8523
8523
  });
8524
8524
  this.cartInfo.billdetails.deliveryCharges = (deliveryOption?.minOrderAmount > this.cartInfo.billdetails.totalGrossValue) ? 0 : (deliveryOption?.deliveryCharges ?? 0);
8525
- this.cartInfo.billdetails.totalGrossValue = this.cartInfo.billdetails.totalNetValue + this.getTaxAmount();
8525
+ this.cartInfo.billdetails.totalGrossValue = this.cartInfo.billdetails.totalNetValue + this.cartInfo.billdetails.totalTaxAfterDiscount;
8526
8526
  this.cartInfo.totalAmount = this.cartInfo.billdetails.totalGrossValue + this.cartInfo.billdetails.deliveryCharges - this.cartInfo.billdetails.discountAmount;
8527
8527
  this.cartInfo.orderedItems = this.USER_CART_ITEMS;
8528
8528
  }