Merge pull request #2876 from Safelite/feature/CASH-1072
Feature/CASH-1072
This commit is contained in:
commit
9a896923ed
1 changed files with 5 additions and 1 deletions
|
|
@ -805,7 +805,10 @@ export default {
|
||||||
const piaInsurance = this.getSettingValue(experimentSettings.PIA_INSURANCE);
|
const piaInsurance = this.getSettingValue(experimentSettings.PIA_INSURANCE);
|
||||||
|
|
||||||
if (this.isInsurance) {
|
if (this.isInsurance) {
|
||||||
return piaInsurance === "true" && this.currentDeductible > 0;
|
return (
|
||||||
|
piaInsurance === "true" &&
|
||||||
|
(this.currentDeductible > 0 || +this.totalAmountDue > 0)
|
||||||
|
);
|
||||||
} else {
|
} else {
|
||||||
return piaExperience === "PIA Optional" || piaExperience === "PIA Required";
|
return piaExperience === "PIA Optional" || piaExperience === "PIA Required";
|
||||||
}
|
}
|
||||||
|
|
@ -837,6 +840,7 @@ export default {
|
||||||
return (
|
return (
|
||||||
this.showInsuranceCoverageAs !== coverageStatus.PENDING &&
|
this.showInsuranceCoverageAs !== coverageStatus.PENDING &&
|
||||||
!this.isRecalPriceRemove &&
|
!this.isRecalPriceRemove &&
|
||||||
|
this.isPiaEnabled &&
|
||||||
this.hasSettingEqualTo(experimentSettings.DISPLAY_AFTERPAY_BREAKOUT_DISPLAY, "true")
|
this.hasSettingEqualTo(experimentSettings.DISPLAY_AFTERPAY_BREAKOUT_DISPLAY, "true")
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue