SSR-861 Submit to mainframe when we have referral number

Renamed SubmitToMF to SubmitToMainframe
This commit is contained in:
Josh Dassinger 2023-11-20 10:21:17 -06:00
parent 93b985f9a6
commit a27ef12609

View file

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