From a9dcbe0120888f4526d9098f2a2e9d14cda2f02c Mon Sep 17 00:00:00 2001 From: Katie Kroell Date: Mon, 4 Dec 2023 15:47:33 -0500 Subject: [PATCH] use currentDeductible for pricing call --- src/store/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/store/index.js b/src/store/index.js index 1f771d55..6e73f08a 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -897,8 +897,7 @@ export const useMainStore = defineStore({ } const ctuToUse = this.order.serviceLocation.zipCodeCtu; const availableLineItemsFormattedForRequest = getLineItemQueryStringForPricing(availableLineItems); - const { policy } = this.order; - const deductibleToUse = this.damage.isRepair ? policy.deductible.repair : policy.deductible.replace; + const deductibleToUse = this.order.currentDeductible; let queryString = `ParentAccountNumber=${this.order.accountNumber}`