Adding content to save session request
This commit is contained in:
parent
0ba2a79d5f
commit
20ca807c37
1 changed files with 10 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue