Merge branch 'develop' into feature/SSR-795

This commit is contained in:
Katie Kroell 2024-01-31 15:11:34 -05:00
commit d9b3860135
2 changed files with 2 additions and 2 deletions

View file

@ -172,7 +172,7 @@ const endpoints = Object.freeze({
},
DuplicateSearch: {
// eslint-disable-next-line max-len
url: (accountNumber, policyNumber, phoneNumber) => `/order/api/v1/order/duplicate-check/${accountNumber}/${policyNumber}/${phoneNumber}`,
url: (accountNumber, policyNumber, dateOfLoss) => `/order/api/v1/order/duplicate-check/${accountNumber}/${policyNumber}/${dateOfLoss}`,
method: 'GET'
},
FinalDeductible: {

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 ?? [];