Merge remote-tracking branch 'origin/nation/CASH-2399' into nation/CASH-2399
This commit is contained in:
commit
d5fd13c3fe
3 changed files with 12 additions and 3 deletions
|
|
@ -962,7 +962,8 @@ export default {
|
|||
return this.supportingItems.find(
|
||||
(lineItem) =>
|
||||
lineItem.partType == partTypeStrings.MOBILE_FEE &&
|
||||
lineItem.partNumber == partNumberStrings.MOBILE_STATIC_RECAL_FEE
|
||||
(lineItem.partNumber == partNumberStrings.MOBILE_STATIC_RECAL_FEE ||
|
||||
lineItem.partNumber == partNumberStrings.MOBILE_DUAL_RECAL_FEE)
|
||||
);
|
||||
},
|
||||
msrFeeCartItem() {
|
||||
|
|
|
|||
|
|
@ -108,7 +108,9 @@ export async function getPricingByDayPartWithPrice(pageNameToLog) {
|
|||
export function getMSRFeePartPrice(supportingItems, includeTax) {
|
||||
let msrFeePrice = 0;
|
||||
const msrFeeLineItem = supportingItems?.find(
|
||||
(lineItem) => lineItem.partNumber === partNumberStrings.MOBILE_STATIC_RECAL_FEE
|
||||
(lineItem) =>
|
||||
lineItem.partNumber === partNumberStrings.MOBILE_STATIC_RECAL_FEE ||
|
||||
lineItem.partNumber === partNumberStrings.MOBILE_DUAL_RECAL_FEE
|
||||
);
|
||||
if (msrFeeLineItem) {
|
||||
msrFeePrice = baseMixin?.methods?.getTotalPriceOfAllLineItemsAndChildParts(
|
||||
|
|
|
|||
|
|
@ -706,10 +706,16 @@ export default {
|
|||
isMobileStaticRecalibrationApplicable() {
|
||||
return (
|
||||
this.displayMSR &&
|
||||
this.mobileFeePart?.partNumber == partNumberStrings.MOBILE_STATIC_RECAL_FEE &&
|
||||
this.isMSRFeePartNumber &&
|
||||
(this.enableMSRSplitPay || this.isCashItacNoComp || this.mobileFeePart?.isInsurable)
|
||||
);
|
||||
},
|
||||
isMSRFeePartNumber() {
|
||||
return (
|
||||
this.mobileFeePart?.partNumber === partNumberStrings.MOBILE_STATIC_RECAL_FEE ||
|
||||
this.mobileFeePart?.partNumber === partNumberStrings.MOBILE_DUAL_RECAL_FEE
|
||||
);
|
||||
},
|
||||
displayMSR() {
|
||||
return (
|
||||
experimentMixin.methods
|
||||
|
|
|
|||
Loading…
Reference in a new issue