Updates for account number population logic.

This commit is contained in:
Jeremy Zimmerman 2023-02-21 11:23:13 -05:00
parent 7709a1be64
commit 5fd6dfeff9
2 changed files with 14 additions and 9 deletions

View file

@ -80,14 +80,15 @@
this.mainStore.issConfig.accountNumber = resp.data.accountNumber; this.mainStore.issConfig.accountNumber = resp.data.accountNumber;
this.mainStore.issConfig.styleSheet = resp.data.styleSheet; this.mainStore.issConfig.styleSheet = resp.data.styleSheet;
} }
console.log("Client Name after-load: " + mainStore.issConfig.clientName);
//this.navigateForward();
//this.$router.push({ path: '/?issPage=welcome-page' });
window.location = "/?issPage=welcome-page";
} }
console.log("Client Name after-load: " + mainStore.issConfig.clientName);
//this.navigateForward();
//this.$router.push({ path: '/?issPage=welcome-page' });
// Forced full location redirect here. We do not want the entry page as part of the flow/path history.
window.location = "/?issPage=welcome-page";
}, },
}, },
computed:{ computed:{

View file

@ -188,7 +188,11 @@
setup() { setup() {
const mainStore = useMainStore(); const mainStore = useMainStore();
console.log(mainStore.issConfig.clientName); // Set order account number from the issConfig.
mainStore.order.accountNumber = mainStore.issConfig.accountNumber;
console.log("issConfig account number: " + mainStore.issConfig.accountNumber);
console.log("order account number: " + mainStore.order.accountNumber);
return { mainStore }; return { mainStore };
}, },