sending date of loss to dupe check instead of phone number

This commit is contained in:
Michaela Brydon 2024-01-26 15:35:31 -05:00
parent 0eb46c45c0
commit e81c2b7f21

View file

@ -621,7 +621,7 @@ export const useMainStore = defineStore({
endpoint: endpoints.DuplicateSearch.url(
this.issConfig.parentAccountNumber,
this.order.policy.policyNumber,
this.order.customer.phoneNumber?.replaceAll('-', '')
this.order.policy.dateOfLoss
)
}).then((r) => {
this.applicationUser.duplicateOrders = r.data ?? [];