Using order parent account number

This commit is contained in:
Michaela Brydon 2024-11-25 16:08:47 -05:00
parent b253d3d78e
commit 7e5938510e

View file

@ -1554,15 +1554,14 @@ export const useMainStore = defineStore({
}); });
}, },
async loadSession(duplicate) { async loadSession(duplicate) {
const { order, issConfig } = this; const { order } = this;
const response = await globalMethods.callHttpClient({ const response = await globalMethods.callHttpClient({
method: endpoints.LoadSession.method, method: endpoints.LoadSession.method,
endpoint: endpoints.LoadSession.url, endpoint: endpoints.LoadSession.url,
payload: { payload: {
referralNumber: duplicate.referralNumber, referralNumber: duplicate.referralNumber,
referralDate: duplicate.responseDate, referralDate: duplicate.responseDate,
// TODO confirm this is right to use here parentAccountNumber: order.parentAccountNumber,
parentAccountNumber: issConfig.parentAccountNumber,
referralCorrelationId: duplicate.correlationId referralCorrelationId: duplicate.correlationId
} }
}); });