Merge pull request #3197 from Safelite/nation/CASH-2804

CASH-2804 show advanced MSR mobile fee for itac and nocomp
This commit is contained in:
CarlNation 2026-05-29 07:32:54 -04:00 committed by GitHub
commit 1cb4513f32
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -907,7 +907,7 @@ export default {
return cartItem; return cartItem;
}, },
isCashItacNoComp() { isCashItacNoComp() {
return !this.isInsurance || this.isITAC || this.isNoComp; return !this.isInsurance || this.isItac || this.isNoComp;
}, },
mobileFeeCartItemName() { mobileFeeCartItemName() {
return this.getCmsContent("MobileServiceTextWidget", "Text"); return this.getCmsContent("MobileServiceTextWidget", "Text");
@ -971,7 +971,7 @@ export default {
const msrFeeLineItem = this.getMsrFeeLineItem; const msrFeeLineItem = this.getMsrFeeLineItem;
const shouldCreateMsrFeeCartItem = const shouldCreateMsrFeeCartItem =
this.isMSRFeeApplicable && this.isMSRFeeApplicable &&
(!this.isInsurance || !this.IsMSRFeeCoveredByInsurance) && (this.isCashItacNoComp || !this.IsMSRFeeCoveredByInsurance) &&
msrFeeLineItem && msrFeeLineItem &&
this.msrFeeAmount > 0; this.msrFeeAmount > 0;