Restored check for current deductable for ins PIA availability
This commit is contained in:
parent
85a8efe75d
commit
fc9fd857ef
1 changed files with 4 additions and 5 deletions
|
|
@ -47,12 +47,12 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<paymentMethodQuestion
|
<paymentMethodQuestion
|
||||||
v-if="isPiaEnabled && totalAmountDue > 0.0"
|
v-if="isPiaEnabled && totalAmountDue > 0"
|
||||||
v-model="paymentMethodInternalModel"
|
v-model="paymentMethodInternalModel"
|
||||||
validationRules="option-required" />
|
validationRules="option-required" />
|
||||||
|
|
||||||
<alert
|
<alert
|
||||||
v-if="!isPiaEnabled && totalAmountDue > 0.0"
|
v-if="!isPiaEnabled && totalAmountDue > 0"
|
||||||
:isDismissible="false"
|
:isDismissible="false"
|
||||||
alertClass="alert-info"
|
alertClass="alert-info"
|
||||||
cmsWidgetName="NoPiaDisclaimerWidget"
|
cmsWidgetName="NoPiaDisclaimerWidget"
|
||||||
|
|
@ -579,7 +579,6 @@ export default {
|
||||||
const piaExperience = this.getSettingValue(experimentSettings.PIA_EXPERIENCE);
|
const piaExperience = this.getSettingValue(experimentSettings.PIA_EXPERIENCE);
|
||||||
const piaInsurance = this.getSettingValue(experimentSettings.PIA_INSURANCE);
|
const piaInsurance = this.getSettingValue(experimentSettings.PIA_INSURANCE);
|
||||||
|
|
||||||
var isEnabled = false;
|
|
||||||
if (this.isInsurance) {
|
if (this.isInsurance) {
|
||||||
return piaInsurance === "true" && this.currentDeductible > 0;
|
return piaInsurance === "true" && this.currentDeductible > 0;
|
||||||
} else {
|
} else {
|
||||||
|
|
@ -587,7 +586,7 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
paymentMethod() {
|
paymentMethod() {
|
||||||
if (this.isPiaDisabled) {
|
if (!this.isPiaEnabled) {
|
||||||
return paymentMethods.LATER;
|
return paymentMethods.LATER;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue