project-booster-vue 9.44.7 → 9.44.9
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 +1 -1
- package/src/components/appointment/PbAppointment.stories.mdx +1 -1
- package/src/components/appointment/PbAppointmentForm.stories.mdx +1 -1
- package/src/components/appointment/PbAppointmentForm.vue +2 -2
- package/src/components/projects/project-item-save/PbProjectItemSaveProjectName.vue +3 -7
package/package.json
CHANGED
|
@@ -65,7 +65,7 @@ export const TemplateSandbox = (args, { argTypes }) => {
|
|
|
65
65
|
businessUnit: '001',
|
|
66
66
|
correlationId: uuidv4(),
|
|
67
67
|
groupId: 'groupId',
|
|
68
|
-
|
|
68
|
+
calendarId: 'calendarId',
|
|
69
69
|
appointmentId: 'appointmentId',
|
|
70
70
|
sourceDetail: 'Appointment_email',
|
|
71
71
|
});
|
|
@@ -55,7 +55,7 @@ export const TemplateSandbox = (args, { argTypes }) => ({
|
|
|
55
55
|
businessUnit: '001',
|
|
56
56
|
source: 'APPOINTMENT_QUALIFICATION',
|
|
57
57
|
sourceDetail: 'KITCHEN',
|
|
58
|
-
|
|
58
|
+
calendarId: '375615',
|
|
59
59
|
storeId: '006',
|
|
60
60
|
appointmentQualificationFormStructure: SCENARIO,
|
|
61
61
|
});
|
|
@@ -48,8 +48,8 @@ export default defineComponent({
|
|
|
48
48
|
if (props.payload?.viewModel?.calendarUrlPath) {
|
|
49
49
|
url = `${baseUrl}/${props.payload.viewModel.calendarUrlPath}?`;
|
|
50
50
|
} else {
|
|
51
|
-
url = `${baseUrl}/leroy-merlin-${sessions.storeId}
|
|
52
|
-
url += sessions.
|
|
51
|
+
url = `${baseUrl}/leroy-merlin-${sessions.storeId}`;
|
|
52
|
+
url += `?calendar_id=${sessions.calendarId}`;
|
|
53
53
|
url += `&vevent[str5]=${currentAppointmentQualification.inhabitantProjectId}`;
|
|
54
54
|
}
|
|
55
55
|
|
|
@@ -106,12 +106,8 @@ export default defineComponent({
|
|
|
106
106
|
store.dispatch('projects/loadTypologies');
|
|
107
107
|
};
|
|
108
108
|
|
|
109
|
-
const defineDefaultProjectName = (
|
|
110
|
-
|
|
111
|
-
name.value = 'Estimation pour ' + typologyName.toLowerCase();
|
|
112
|
-
} else {
|
|
113
|
-
name.value = 'Estimation pour la ' + typologyName.toLowerCase();
|
|
114
|
-
}
|
|
109
|
+
const defineDefaultProjectName = (typologyName: string) => {
|
|
110
|
+
name.value = 'Estimation ' + typologyName.toLowerCase();
|
|
115
111
|
};
|
|
116
112
|
|
|
117
113
|
const handleTyplologyClick = (typologyCode: string, typologyName: string) => {
|
|
@@ -119,7 +115,7 @@ export default defineComponent({
|
|
|
119
115
|
|
|
120
116
|
setTimeout(() => {
|
|
121
117
|
emitInputEvent(typologyCode);
|
|
122
|
-
defineDefaultProjectName(
|
|
118
|
+
defineDefaultProjectName(typologyName);
|
|
123
119
|
currentTypology.value = typologyCode;
|
|
124
120
|
});
|
|
125
121
|
};
|