pass in 0 if deductible is null

This commit is contained in:
Bill Richardson 2024-01-10 10:36:50 -05:00
parent f82585a497
commit 3025154e19

View file

@ -941,7 +941,7 @@ export const useMainStore = defineStore({
}
const ctuToUse = this.order.serviceLocation.zipCodeCtu;
const availableLineItemsFormattedForRequest = getLineItemQueryStringForPricing(availableLineItems);
const deductibleToUse = this.order.currentDeductible;
const deductibleToUse = this.order?.currentDeductible ?? 0;
let queryString =
`ParentAccountNumber=${this.order.accountNumber}`