From 10ffe3eeff442714c93b31a5bc2727bc76d1992e Mon Sep 17 00:00:00 2001 From: Adam Caouette Date: Tue, 7 May 2024 11:31:51 -0400 Subject: [PATCH] CSR-1744: prevent PIA if deductible is -zsh --- src/layouts/payment-method/payment-method.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/layouts/payment-method/payment-method.vue b/src/layouts/payment-method/payment-method.vue index f3ada1154..4604c1f4c 100644 --- a/src/layouts/payment-method/payment-method.vue +++ b/src/layouts/payment-method/payment-method.vue @@ -560,9 +560,10 @@ export default { const piaInsurance = this.getSettingValue(experimentSettings.PIA_INSURANCE); const isEnabled = - piaExperience === "PIA Optional" || - piaExperience === "PIA Required" || - piaInsurance === "true"; + (piaExperience === "PIA Optional" || + piaExperience === "PIA Required" || + piaInsurance === "true") && + this.currentDeductible !== 0; return !isEnabled; },