CASH-1550: Allow Afterpay breakout on recal vehicles

This commit is contained in:
Chris Redelinghuys 2025-09-26 09:07:09 -04:00
parent c469be54f1
commit fe58c1e1c3
2 changed files with 2 additions and 2 deletions

View file

@ -836,7 +836,7 @@ export default {
isAfterpayBreakoutDisplay() { isAfterpayBreakoutDisplay() {
return ( return (
this.showInsuranceCoverageAs !== coverageStatus.PENDING && this.showInsuranceCoverageAs !== coverageStatus.PENDING &&
(!this.isRecalPriceRemove || !this.isRecalibrationOnOrder) && !this.isRecalPriceRemove &&
this.hasSettingEqualTo(experimentSettings.DISPLAY_AFTERPAY_BREAKOUT_DISPLAY, "true") this.hasSettingEqualTo(experimentSettings.DISPLAY_AFTERPAY_BREAKOUT_DISPLAY, "true")
); );
}, },

View file

@ -246,7 +246,7 @@ export default {
}, },
isAfterpayBreakoutDisplay() { isAfterpayBreakoutDisplay() {
return ( return (
(!this.shouldHideRecalibration || !this.isRecalibrationOnOrder) && !this.shouldHideRecalibration &&
experimentMixin.methods.hasSettingEqualTo( experimentMixin.methods.hasSettingEqualTo(
experimentSettings.DISPLAY_AFTERPAY_BREAKOUT_DISPLAY, experimentSettings.DISPLAY_AFTERPAY_BREAKOUT_DISPLAY,
"true" "true"