From 23a9c426a2b386b2d99c23196added4b6fb93edd Mon Sep 17 00:00:00 2001 From: CarlNation Date: Mon, 29 Jul 2024 14:29:59 -0400 Subject: [PATCH] CSR-2130 CSR-2130 exclude recal from the check when insurance order --- src/layouts/payment-method/payment-method.vue | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/layouts/payment-method/payment-method.vue b/src/layouts/payment-method/payment-method.vue index ae03d51fa..9ec9a833f 100644 --- a/src/layouts/payment-method/payment-method.vue +++ b/src/layouts/payment-method/payment-method.vue @@ -643,9 +643,16 @@ export default { } }, showPaymentMethodQuestions() { - if (this.isPiaEnabled && this.totalAmountDue > 0 && !this.hasRecal) { - return true; + if (this.isInsurance) { + if (this.isPiaEnabled && this.totalAmountDue > 0) { + return true; + } + } else { + if (this.isPiaEnabled && this.totalAmountDue > 0 && !this.hasRecal) { + return true; + } } + return false; }, totalAmountDue() {