project-booster-vue 9.8.1 → 9.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -31,9 +31,11 @@ export default defineComponent({
|
|
|
31
31
|
let url = `${baseUrl}{/leroy-merlin-${sessions.storeId}`;
|
|
32
32
|
url += `?calendar_id=${sessions.calendarId}`;
|
|
33
33
|
url += `&vevent[str5]=${currentAppointmentQualification.inhabitantProjectId}`;
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
34
|
+
if (currentUser) {
|
|
35
|
+
url += `&fiche[email]=${currentUser.email}`;
|
|
36
|
+
url += `&fiche[lastname]=${currentUser.lastName}`;
|
|
37
|
+
url += `&fiche[firstname]=${currentUser.firstName}`;
|
|
38
|
+
}
|
|
37
39
|
|
|
38
40
|
return url;
|
|
39
41
|
});
|
|
@@ -584,7 +584,7 @@
|
|
|
584
584
|
"component": "PbQuestion",
|
|
585
585
|
"payload": {
|
|
586
586
|
"viewModel": {
|
|
587
|
-
"label": "${
|
|
587
|
+
"label": "${answers.LMFR_QUESTION_PLAN[0].code === 'HAVE_PLAN' ? 'Sur votre plan, vérifiez que vous avez les bonnes mesures :' : 'Réalisez rapidement un plan avec les mesures de votre pièce en 3 étapes'}",
|
|
588
588
|
"subtitle": "${answers.LMFR_QUESTION_PLAN[0].code === 'HAVE_PLAN' ? 'Votre conseiller aura besoin de ces mesures pour créer votre plan de cuisine en 3D.' : 'Sur une feuille, dessinez la pièce et reportez les bonnes mesures, prenez une photo du plan et ajoutez la.'}",
|
|
589
589
|
"widthFromL": "1of3",
|
|
590
590
|
"forceOneCardPerLineOnMobile": true,
|
|
@@ -689,7 +689,7 @@
|
|
|
689
689
|
},
|
|
690
690
|
"mediaPayload": {
|
|
691
691
|
"viewModel": {
|
|
692
|
-
"type": "
|
|
692
|
+
"type": "documentsPlans",
|
|
693
693
|
"acceptedFileTypes": "image/jpeg, image/png, image/heif, image/heic, application/pdf",
|
|
694
694
|
"dialog": {
|
|
695
695
|
"hideCross": false,
|
|
@@ -97,7 +97,11 @@ export default {
|
|
|
97
97
|
state.sessions.appointmentId,
|
|
98
98
|
);
|
|
99
99
|
if (appointments.total === 0) {
|
|
100
|
-
|
|
100
|
+
if (state.sessions.inhabitantProjectId) {
|
|
101
|
+
await dispatch('linkProjectWithAppointment');
|
|
102
|
+
} else {
|
|
103
|
+
await dispatch('createDeclarationProjectWithAppointment', metadata);
|
|
104
|
+
}
|
|
101
105
|
} else {
|
|
102
106
|
commit('setCurrentAppointmentQualification', appointments.results[appointments.total - 1]);
|
|
103
107
|
commit('setIsLoadingProject', false);
|