From 1d78ed5871650a243c94a377e8edcb04c3cfe391 Mon Sep 17 00:00:00 2001 From: credelinghuys Date: Fri, 17 Apr 2026 14:40:46 -0400 Subject: [PATCH] CASH-2488: MSR Fee for cash --- src/fmg-components/cart/cart.vue | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/fmg-components/cart/cart.vue b/src/fmg-components/cart/cart.vue index 8add7bb85..9a6f55576 100644 --- a/src/fmg-components/cart/cart.vue +++ b/src/fmg-components/cart/cart.vue @@ -970,8 +970,7 @@ export default { const msrFeeLineItem = this.getMsrFeeLineItem; const shouldCreateMsrFeeCartItem = this.isMSRFeeApplicable && - this.isInsurance && - !this.IsMSRFeeCoveredByInsurance && + (!this.isInsurance || !this.IsMSRFeeCoveredByInsurance) && msrFeeLineItem && this.msrFeeAmount > 0; @@ -980,7 +979,7 @@ export default { name: this.msrFeeCartItemName, category: cartItemCategories.SUPPORTING_ITEMS, cartItemType: cartItemTypes.MOBILE_FEE, - isDisplayed: this.isInsurance, + isDisplayed: true, isRemovable: true, subTotal: 0, salesTax: 0, @@ -1007,8 +1006,10 @@ export default { return this.getCmsContent("RecycleTextBlock", "Text"); }, msrToolTipBodyText() { - let cmsContentText = this.getCmsContent("MSRModal", "BodyText"); - if (cmsContentText) { + let cmsContentText = this.isInsurance + ? this.getCmsContent("MSRModal", "BodyText") + : this.getCmsContent("MSRModal", "BodyText2"); + if (this.isInsurance && cmsContentText) { cmsContentText = cmsContentText.replaceAll( "{custom:mobileFee}", formatToUSDollar(this.msrFeeAmount)