diff --git a/src/store/index.js b/src/store/index.js index b91c24fa..4c646b0a 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -909,11 +909,12 @@ 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; let queryString = `ParentAccountNumber=${this.order.accountNumber}` + `&CTU=${ctuToUse}` - + `&Deductible=${policy.deductible.repair}` + + `&Deductible=${deductibleToUse}` + `&ZipCode=${zipCodeToUse}` + `${availableLineItemsFormattedForRequest}`;