use currentDeductible for pricing call
This commit is contained in:
parent
5a77edcc86
commit
a9dcbe0120
1 changed files with 1 additions and 2 deletions
|
|
@ -897,8 +897,7 @@ export const useMainStore = defineStore({
|
||||||
}
|
}
|
||||||
const ctuToUse = this.order.serviceLocation.zipCodeCtu;
|
const ctuToUse = this.order.serviceLocation.zipCodeCtu;
|
||||||
const availableLineItemsFormattedForRequest = getLineItemQueryStringForPricing(availableLineItems);
|
const availableLineItemsFormattedForRequest = getLineItemQueryStringForPricing(availableLineItems);
|
||||||
const { policy } = this.order;
|
const deductibleToUse = this.order.currentDeductible;
|
||||||
const deductibleToUse = this.damage.isRepair ? policy.deductible.repair : policy.deductible.replace;
|
|
||||||
|
|
||||||
let queryString =
|
let queryString =
|
||||||
`ParentAccountNumber=${this.order.accountNumber}`
|
`ParentAccountNumber=${this.order.accountNumber}`
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue