use currentDeductible for pricing call

This commit is contained in:
Katie Kroell 2023-12-04 15:47:33 -05:00
parent 5a77edcc86
commit a9dcbe0120

View file

@ -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}`