This commit is contained in:
Jonathan Chevalier
2022-10-06 13:40:20 +02:00
parent c219e317b1
commit 206f766c69
14 changed files with 53 additions and 2253 deletions

View File

@@ -11,7 +11,7 @@ export const useMMCMStore = defineStore('counter', {
dateDelivery: null
}),
getters: {
fullAddress: (state) => state.street + ' ' + state.zipCode + '' + state.city,
fullAddress: (state) => state.street + ' ' + state.zipCode + ' ' + state.city,
deliveryMethod: (state) => state.productList.filter(p => p.id === state.idProduct)[0].name,
dateDeliveryString: (state) => new Date(state.dateDelivery).toLocaleDateString("fr-FR")
},