Add MOBILE RECALDUAL as a recognized msr part

This commit is contained in:
scottkiener-at-safelite 2026-04-03 13:00:12 -04:00
parent d1974e4978
commit f011a8deb1
2 changed files with 3 additions and 2 deletions

View file

@ -1,7 +1,8 @@
const partNumberStrings = Object.freeze({
RECYCLE_FEE: 'RECYCLE FEE',
LABOR2: 'LABOR2',
RECAL_MOBILE: 'RECAL MOBILE'
RECAL_MOBILE: 'RECAL MOBILE',
RECAL_MOBILEDUAL: 'RECAL MOBILEDUAL'
});
export default partNumberStrings;

View file

@ -1998,7 +1998,7 @@ export const useMainStore = defineStore({
updateMobileFee(fee) {
const isMobileFeeHidden = getExperimentSettingValue(this.experimentSettings, experimentSettings.ISS_FEATURE_TOGGLE_IS_MOBILE_FEE_HIDDEN) === 'true';
const isMSRFee = fee?.partNumber === partNumberStrings.RECAL_MOBILE;
const isMSRFee = fee?.partNumber === partNumberStrings.RECAL_MOBILE || fee?.partNumber === partNumberStrings.RECAL_MOBILEDUAL;
// Mobile Fee is only added for NO COMP or ITAC and is NOT hidden
// MSR Fee is added for all orders
if ((fee && this.isVerified && (this.isNoComp || this.isITAC) && !isMobileFeeHidden) || isMSRFee) {