From 20ca807c37ae830802f4d81d104d1e77527bba6c Mon Sep 17 00:00:00 2001 From: brydon1 Date: Fri, 28 Jul 2023 16:00:37 -0400 Subject: [PATCH] Adding content to save session request --- src/store/index.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/store/index.js b/src/store/index.js index 67fad3d6..2ff0dc8a 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -734,6 +734,9 @@ export const useMainStore = defineStore({ model: vehicle.model, style: vehicle.style, vin: vehicle.vin, + imageUrl: vehicle.imageUrl, + imageVifColor: vehicle.imageColor, + imageVifNumber: vehicle.imageVifNumber, registration: { firstName: vehicle.registration.firstName, lastName: vehicle.registration.lastName, @@ -765,6 +768,13 @@ export const useMainStore = defineStore({ }, // TODO incorporate name and email contact details where appropriate customer: { + address: { + streetAddress: order.customer.address.streetAddress, + streetAddress2: order.customer.address.streetAddress2, + city: order.customer.address.city, + state: order.customer.address.state, + zipCode: order.customer.address.zipCode + }, emailAddress: order.customer.emailAddress, firstName: order.customer.firstName, lastName: order.customer.lastName,