diff --git a/src/store/index.js b/src/store/index.js index cff4c71ea..70ee5a8b3 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -124,6 +124,7 @@ const getDefaultState = () => { currentDeductible: 0, policyNumber: null, dateOfLoss: null, + lossCause: null, isItac: false, additionalAuthFlag: null, }, @@ -591,6 +592,13 @@ export const mutations = { state.order.schedule.routeCode = sessionInformation.order.schedule?.routeCode; state.order.schedule.jobMaxMinutes = sessionInformation.order.schedule?.jobMaxMinutes; state.order.schedule.jobMinMinutes = sessionInformation.order.schedule?.jobMinMinutes; + + state.order.policy.currentDeductible = sessionInformation.order.policy?.currentDeductible; + state.order.policy.additionalAuthFlag = sessionInformation.order.policy?.additionalAuthFlag; + state.order.policy.isItac = sessionInformation.order.policy?.isItac; + state.order.policy.policyNumber = sessionInformation.order.policy?.policyNumber; + state.order.policy.dateOfLoss = sessionInformation.order.policy?.lossDate; + state.order.policy.lossCause = sessionInformation.order.policy?.lossCause; }, updateExperiments(state, experiments) { state.applicationUser.experiments = experiments;