SSR-861 Save Session to Mainframe

This commit is contained in:
Josh Dassinger 2023-11-17 14:18:35 -06:00
parent d6249dfed4
commit 93b985f9a6
2 changed files with 5 additions and 2 deletions

View file

@ -319,6 +319,7 @@ export default {
},
navigateForward() {
this.mainStore.order.submitToMF = true;
if (this.mainStore.applicationUser.duplicateOrders?.length > 0 ?? false) {
this.$router.navigate(
this.navigationScenarios.CLICKED_FORWARD_WITH_DUPLICATES,

View file

@ -155,7 +155,8 @@ const getDefaultState = () => ({
eon: null,
workOrderNumber: null,
originalDeductible: null,
currentDeductible: null
currentDeductible: null,
submitToMF: false
},
applicationUser: {
experiments: [],
@ -1165,7 +1166,8 @@ export const useMainStore = defineStore({
referralNumber: this.order.referralNumber?.toString(),
referralCorrelationId: this.order.referralCorrelationId,
referralSequenceNumber: this.order.referralSequenceNumber,
eon: this.order.eon
eon: this.order.eon,
submitToMF: this.order.submitToMF
},
additionalSuccessEventDataHandler: (response) =>
`Email provided: ${customer.emailAddress ? 'true' : 'false'}`