INSR-7752: Undo some unintentional changes
This commit is contained in:
parent
d13c6ce552
commit
4b8646c334
1 changed files with 13 additions and 14 deletions
|
|
@ -354,19 +354,17 @@ export const useMainStore = defineStore({
|
|||
lastName: state.order.customer.lastName
|
||||
};
|
||||
},
|
||||
contactInfo: (s) => {
|
||||
return {
|
||||
firstName: s.order.customer.firstName,
|
||||
lastName: s.order.customer.lastName,
|
||||
emailAddress: s.order.customer.emailAddress,
|
||||
homePhone: s.order.contactInfo.homePhone,
|
||||
alternativePhone: s.order.contactInfo.alternativePhone,
|
||||
servicePhone: s.order.contactInfo.servicePhone,
|
||||
extension: s.order.contactInfo.extension,
|
||||
requestTextUpdates: s.order.contactInfo.requestTextUpdates ?? false,
|
||||
notesForTechnician: s.order.contactInfo.notesForTechnician
|
||||
};
|
||||
},
|
||||
contactInfo: (s) => ({
|
||||
firstName: s.order.customer.firstName,
|
||||
lastName: s.order.customer.lastName,
|
||||
emailAddress: s.order.customer.emailAddress,
|
||||
homePhone: s.order.contactInfo.homePhone,
|
||||
alternativePhone: s.order.contactInfo.alternativePhone,
|
||||
servicePhone: s.order.contactInfo.servicePhone,
|
||||
extension: s.order.contactInfo.extension,
|
||||
requestTextUpdates: s.order.contactInfo.requestTextUpdates ?? false,
|
||||
notesForTechnician: s.order.contactInfo.notesForTechnician
|
||||
}),
|
||||
scheduleDisplayText: (s) => {
|
||||
const dateModel = convertDateStringToDate(s.order.schedule.date);
|
||||
const readableDate = dateModel?.toLocaleDateString('en-us', {
|
||||
|
|
@ -2885,10 +2883,11 @@ export const useMainStore = defineStore({
|
|||
return JSON.parse(window.sessionStorage.getItem(webStorageConstants.SUBMITTED_ORDER));
|
||||
},
|
||||
|
||||
createSubmittedOrder(submitType) {
|
||||
async createSubmittedOrder(submitType) {
|
||||
if (this.hasSubmittedOrder()) {
|
||||
return;
|
||||
}
|
||||
await this.getCarrierAccountInfo();
|
||||
const submittedOrder = this.order;
|
||||
const { experiments } = this.applicationUser;
|
||||
const { issConfig } = this;
|
||||
|
|
|
|||
Loading…
Reference in a new issue