Add MOBILE RECALDUAL as a recognized msr part
This commit is contained in:
parent
d1974e4978
commit
f011a8deb1
2 changed files with 3 additions and 2 deletions
|
|
@ -1,7 +1,8 @@
|
||||||
const partNumberStrings = Object.freeze({
|
const partNumberStrings = Object.freeze({
|
||||||
RECYCLE_FEE: 'RECYCLE FEE',
|
RECYCLE_FEE: 'RECYCLE FEE',
|
||||||
LABOR2: 'LABOR2',
|
LABOR2: 'LABOR2',
|
||||||
RECAL_MOBILE: 'RECAL MOBILE'
|
RECAL_MOBILE: 'RECAL MOBILE',
|
||||||
|
RECAL_MOBILEDUAL: 'RECAL MOBILEDUAL'
|
||||||
});
|
});
|
||||||
|
|
||||||
export default partNumberStrings;
|
export default partNumberStrings;
|
||||||
|
|
|
||||||
|
|
@ -1998,7 +1998,7 @@ export const useMainStore = defineStore({
|
||||||
|
|
||||||
updateMobileFee(fee) {
|
updateMobileFee(fee) {
|
||||||
const isMobileFeeHidden = getExperimentSettingValue(this.experimentSettings, experimentSettings.ISS_FEATURE_TOGGLE_IS_MOBILE_FEE_HIDDEN) === 'true';
|
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
|
// Mobile Fee is only added for NO COMP or ITAC and is NOT hidden
|
||||||
// MSR Fee is added for all orders
|
// MSR Fee is added for all orders
|
||||||
if ((fee && this.isVerified && (this.isNoComp || this.isITAC) && !isMobileFeeHidden) || isMSRFee) {
|
if ((fee && this.isVerified && (this.isNoComp || this.isITAC) && !isMobileFeeHidden) || isMSRFee) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue