Merge pull request #2170 from Safelite/rlsmerge/12.12toDev
Rlsmerge/12.12to dev
This commit is contained in:
commit
2e7fe97b64
2 changed files with 11 additions and 5 deletions
|
|
@ -693,10 +693,6 @@ export const mutations = {
|
||||||
!sessionInformation.order.payment.isInsurance &&
|
!sessionInformation.order.payment.isInsurance &&
|
||||||
!sessionInformation.order.serviceLocation.provider?.providerNumber
|
!sessionInformation.order.serviceLocation.provider?.providerNumber
|
||||||
) {
|
) {
|
||||||
console.log(
|
|
||||||
"------------- updateStateWithOrderInformation reset isInsurance -----------------"
|
|
||||||
);
|
|
||||||
console.log(new Date() + " sessionInformation: " + JSON.stringify(sessionInformation));
|
|
||||||
state.order.payment.isInsurance = null;
|
state.order.payment.isInsurance = null;
|
||||||
} else {
|
} else {
|
||||||
state.order.payment.isInsurance = sessionInformation.order.payment.isInsurance;
|
state.order.payment.isInsurance = sessionInformation.order.payment.isInsurance;
|
||||||
|
|
@ -2104,6 +2100,13 @@ export const actions = {
|
||||||
) {
|
) {
|
||||||
const order = context.state.order;
|
const order = context.state.order;
|
||||||
|
|
||||||
|
var dtParts = referralDate.split("-");
|
||||||
|
const year = dtParts[0];
|
||||||
|
const month = dtParts[1];
|
||||||
|
const day = dtParts[2].substring(0, 2);
|
||||||
|
|
||||||
|
const loadDate = `${year}-${month}-${day}`;
|
||||||
|
|
||||||
return globalMethods
|
return globalMethods
|
||||||
.callHttpClient({
|
.callHttpClient({
|
||||||
method: endpoints.LoadSession.method,
|
method: endpoints.LoadSession.method,
|
||||||
|
|
@ -2111,7 +2114,7 @@ export const actions = {
|
||||||
payload: {
|
payload: {
|
||||||
savedSessionId: savedSessionId?.toString(),
|
savedSessionId: savedSessionId?.toString(),
|
||||||
referralNumber: referralNumber?.toString(),
|
referralNumber: referralNumber?.toString(),
|
||||||
referralDate: referralDate?.toString(),
|
referralDate: loadDate,
|
||||||
parentAccountNumber: parentAccountNumber?.toString(),
|
parentAccountNumber: parentAccountNumber?.toString(),
|
||||||
referralCorrelationId: referralCorrelationId,
|
referralCorrelationId: referralCorrelationId,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -784,6 +784,7 @@ describe("Actions", () => {
|
||||||
const response = await actions.loadSession(context, {
|
const response = await actions.loadSession(context, {
|
||||||
payload: {
|
payload: {
|
||||||
savedSessionId: "",
|
savedSessionId: "",
|
||||||
|
referralDate: "2024-12-11T00:29:41.967",
|
||||||
},
|
},
|
||||||
pageNameToLog: "test",
|
pageNameToLog: "test",
|
||||||
});
|
});
|
||||||
|
|
@ -813,6 +814,7 @@ describe("Actions", () => {
|
||||||
const response = await actions.loadSession(context, {
|
const response = await actions.loadSession(context, {
|
||||||
payload: {
|
payload: {
|
||||||
savedSessionId: "",
|
savedSessionId: "",
|
||||||
|
referralDate: "2024-12-11T00:29:41.967",
|
||||||
},
|
},
|
||||||
pageNameToLog: "test",
|
pageNameToLog: "test",
|
||||||
});
|
});
|
||||||
|
|
@ -841,6 +843,7 @@ describe("Actions", () => {
|
||||||
const response = await actions.loadSession(context, {
|
const response = await actions.loadSession(context, {
|
||||||
payload: {
|
payload: {
|
||||||
savedSessionId: "",
|
savedSessionId: "",
|
||||||
|
referralDate: "2024-12-11T00:29:41.967",
|
||||||
},
|
},
|
||||||
pageNameToLog: "test",
|
pageNameToLog: "test",
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue