Merge branch 'develop' into rlsmerge/2026.04.23-to-dev

This commit is contained in:
Matt Sykes 2026-04-20 10:42:05 -04:00
commit 8a27cd3a26

View file

@ -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)