Merge pull request #1778 from Safelite/feature/CSR-1072
Feature/csr 1072
This commit is contained in:
commit
43df7efcde
2 changed files with 13 additions and 8 deletions
|
|
@ -327,10 +327,15 @@ export default {
|
|||
|
||||
const payment = this.$store.getters.payment;
|
||||
if (payment.isInsurance) {
|
||||
this.$router.navigateWithSaving(
|
||||
this.navigationScenarios.CLICKED_FORWARD_WITH_INSURANCE,
|
||||
this.$route
|
||||
);
|
||||
navigateToHeritageFunnel({
|
||||
shouldSaveSession: true,
|
||||
pageNameToLog: "quote",
|
||||
loadingModal: this.$refs.loadingModal,
|
||||
});
|
||||
// this.$router.navigateWithSaving(
|
||||
// this.navigationScenarios.CLICKED_FORWARD_WITH_INSURANCE,
|
||||
// this.$route
|
||||
// );
|
||||
} else {
|
||||
this.$router.navigateWithSaving(
|
||||
this.navigationScenarios.CLICKED_FORWARD_WITH_CASH,
|
||||
|
|
|
|||
|
|
@ -84,6 +84,8 @@ const getDefaultState = () => {
|
|||
partQuestionAnswers: null,
|
||||
moldingQuestionAnswers: null,
|
||||
capabilityQuestionAnswers: null,
|
||||
dateOfLoss: null,
|
||||
damageCause: null,
|
||||
},
|
||||
lineItems: {
|
||||
glassParts: null,
|
||||
|
|
@ -123,8 +125,6 @@ const getDefaultState = () => {
|
|||
policy: {
|
||||
currentDeductible: 0,
|
||||
policyNumber: null,
|
||||
dateOfLoss: null,
|
||||
lossCause: null,
|
||||
isItac: false,
|
||||
additionalAuthFlag: null,
|
||||
isNoComp: false,
|
||||
|
|
@ -514,6 +514,8 @@ export const mutations = {
|
|||
state.order.damage.glassToReplace = sessionInformation.order.damage.glassToReplace;
|
||||
state.order.damage.isRepair = sessionInformation.order.damage.isRepair;
|
||||
state.order.damage.numberOfChips = sessionInformation.order.damage.numberOfChips;
|
||||
state.order.damage.dateOfLoss = sessionInformation.order.damage?.lossDate;
|
||||
state.order.damage.damageCause = sessionInformation.order.damage?.damageCause;
|
||||
|
||||
state.order.damage.partQuestionAnswers =
|
||||
sessionInformation.order.damage.partQuestionAnswers;
|
||||
|
|
@ -599,8 +601,6 @@ export const mutations = {
|
|||
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;
|
||||
state.order.policy.insuranceCompanyName =
|
||||
sessionInformation.order.policy?.insuranceCompanyName;
|
||||
state.order.policy.isNoComp = sessionInformation.order.policy?.noComprehensive;
|
||||
|
|
|
|||
Loading…
Reference in a new issue