@axelor/aos-mobile-intervention 8.2.5 → 8.2.6
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/lib/api/client-and-prospect-api.d.ts +2 -1
- package/lib/api/client-and-prospect-api.js +4 -2
- package/lib/api/client-and-prospect-api.js.map +1 -1
- package/lib/api/contract-api.d.ts +2 -1
- package/lib/api/contract-api.js +3 -2
- package/lib/api/contract-api.js.map +1 -1
- package/lib/api/equipment-api.js +1 -1
- package/lib/api/equipment-family-api.js +1 -1
- package/lib/api/equipment-line-api.js +1 -1
- package/lib/api/equipment-picture-api.js +1 -1
- package/lib/api/index.js +1 -1
- package/lib/api/intervention-api.d.ts +6 -3
- package/lib/api/intervention-api.js +7 -4
- package/lib/api/intervention-api.js.map +1 -1
- package/lib/api/intervention-note-api.js +1 -1
- package/lib/api/question-api.js +1 -1
- package/lib/components/atoms/EquipmentCard/EquipmentCard.js +1 -1
- package/lib/components/atoms/EquipmentLineCard/EquipmentLineCard.js +1 -1
- package/lib/components/atoms/InterventionCard/InterventionCard.js +1 -1
- package/lib/components/atoms/NoteCard/NoteCard.js +1 -1
- package/lib/components/atoms/PictureCard/PictureCard.js +1 -1
- package/lib/components/atoms/QuestionCard/QuestionCard.js +1 -1
- package/lib/components/atoms/index.js +1 -1
- package/lib/components/index.js +1 -1
- package/lib/components/molecules/DropdownGeneralView/DropdownGeneralView.js +1 -1
- package/lib/components/molecules/EquipmentActionCard/EquipmentActionCard.js +1 -1
- package/lib/components/molecules/EquipmentDetailsHeader/EquipmentDetailsHeader.js +1 -1
- package/lib/components/molecules/GtCard/GtCard.js +1 -1
- package/lib/components/molecules/InterventionDetailCard/InterventionDetailCard.js +1 -1
- package/lib/components/molecules/InterventionHeader/InterventionHeader.js +1 -1
- package/lib/components/molecules/NoteDetailCard/NoteDetailCard.js +1 -1
- package/lib/components/molecules/PicturesRow/PicturesRow.js +1 -1
- package/lib/components/molecules/QuestionAdvancedMonitoring/QuestionAdvancedMonitoring.js +1 -1
- package/lib/components/molecules/QuestionCheckbox/QuestionCheckbox.js +1 -1
- package/lib/components/molecules/QuestionList/QuestionList.js +1 -1
- package/lib/components/molecules/QuestionMeasure/QuestionMeasure.js +1 -1
- package/lib/components/molecules/index.js +1 -1
- package/lib/components/organisms/ClientProspectSearchBar/ClientProspectSearchBar.js +8 -3
- package/lib/components/organisms/ClientProspectSearchBar/ClientProspectSearchBar.js.map +1 -1
- package/lib/components/organisms/ContractSearchBar/ContractSearchBar.js +9 -3
- package/lib/components/organisms/ContractSearchBar/ContractSearchBar.js.map +1 -1
- package/lib/components/organisms/DropdownCards/DropdownCards.js +1 -1
- package/lib/components/organisms/EquipmentFamilySearchBar/EquipmentFamilySearchBar.js +1 -1
- package/lib/components/organisms/EquipmentModeSwitch/EquipmentModeSwitch.js +1 -1
- package/lib/components/organisms/InterventionNoteTypePicker/InterventionNoteTypePicker.js +1 -1
- package/lib/components/organisms/PlaceEquipmentSearchBar/PlaceEquipmentSearchBar.js +1 -1
- package/lib/components/organisms/TypePicker/TypePicker.js +1 -1
- package/lib/components/organisms/index.js +1 -1
- package/lib/components/pages/EquipmentView/EquipmentView.js +1 -1
- package/lib/components/pages/GeneralInformationView/GeneralInformationView.js +1 -1
- package/lib/components/pages/HistoryView/HistoryView.js +8 -2
- package/lib/components/pages/HistoryView/HistoryView.js.map +1 -1
- package/lib/components/pages/NoteView/NoteView.js +1 -1
- package/lib/components/pages/SurveyView/SurveyView.js +1 -1
- package/lib/components/pages/index.js +1 -1
- package/lib/components/templates/InterventionsListView/InterventionsListView.js +5 -4
- package/lib/components/templates/InterventionsListView/InterventionsListView.js.map +1 -1
- package/lib/components/templates/LinkEquipmentPopup/LinkEquipmentPopup.js +1 -1
- package/lib/components/templates/SurveyRangeNavigation/SurveyRangeNavigation.js +1 -1
- package/lib/components/templates/index.js +1 -1
- package/lib/features/asyncFunctions-index.js +1 -1
- package/lib/features/clientAndProspectSlice.js +1 -1
- package/lib/features/contractSlice.js +1 -1
- package/lib/features/equipmentFamilySlice.js +1 -1
- package/lib/features/equipmentLineSlice.js +1 -1
- package/lib/features/equipmentPictureSlice.js +1 -1
- package/lib/features/equipmentSlice.js +1 -1
- package/lib/features/index.js +1 -1
- package/lib/features/interventionNoteSlice.js +1 -1
- package/lib/features/interventionSlice.js +1 -1
- package/lib/features/questionSlice.js +1 -1
- package/lib/hooks/use-intervention-header-actions.js +1 -1
- package/lib/index.js +1 -1
- package/lib/models/forms.js +1 -1
- package/lib/models/index.js +1 -1
- package/lib/models/objectFields.js +1 -1
- package/lib/models/searchFields.js +1 -1
- package/lib/models/sortFields.js +1 -1
- package/lib/models/typeObjects.js +1 -1
- package/lib/screens/equipment/CustomerParkScreen.js +1 -1
- package/lib/screens/equipment/EquipmentFormView.js +1 -1
- package/lib/screens/equipment/EquipmentInterventionListScreen.js +10 -2
- package/lib/screens/equipment/EquipmentInterventionListScreen.js.map +1 -1
- package/lib/screens/equipment/EquipmentLineListScreen.js +1 -1
- package/lib/screens/equipment/EquipmentPictureScreen.js +1 -1
- package/lib/screens/equipment/index.js +1 -1
- package/lib/screens/intervention/ActiveInterventionScreen.js +8 -4
- package/lib/screens/intervention/ActiveInterventionScreen.js.map +1 -1
- package/lib/screens/intervention/DayInterventionsScreen.js +1 -1
- package/lib/screens/intervention/InterventionDetailsScreen.js +1 -1
- package/lib/screens/intervention/InterventionNoteFormScreen.js +1 -1
- package/lib/screens/intervention/InterventionQuestionFormScreen.js +1 -1
- package/lib/screens/intervention/InterventionsHistoryScreen.js +1 -1
- package/lib/screens/intervention/PlannedInterventionsScreen.js +1 -1
- package/lib/screens/intervention/index.js +1 -1
- package/lib/types/equipment.js +1 -1
- package/lib/types/index.js +1 -1
- package/lib/types/intervention.js +1 -1
- package/lib/types/question.js +1 -1
- package/lib/utils/form-types.js +1 -1
- package/lib/utils/index.js +1 -1
- package/package.json +4 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2025 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -46,13 +46,15 @@ const createClientAndProspectCriteria = searchValue => {
|
|
|
46
46
|
getSearchCriterias('intervention_partner', searchValue),
|
|
47
47
|
];
|
|
48
48
|
};
|
|
49
|
-
export async function searchClientAndProspect({ searchValue, page = 0 }) {
|
|
49
|
+
export async function searchClientAndProspect({ searchValue, page = 0, companyId, }) {
|
|
50
50
|
return createStandardSearch({
|
|
51
51
|
model: 'com.axelor.apps.base.db.Partner',
|
|
52
52
|
criteria: createClientAndProspectCriteria(searchValue),
|
|
53
53
|
fieldKey: 'intervention_partner',
|
|
54
54
|
page,
|
|
55
55
|
provider: 'model',
|
|
56
|
+
companyId,
|
|
57
|
+
isCompanyM2M: true,
|
|
56
58
|
});
|
|
57
59
|
}
|
|
58
60
|
//# sourceMappingURL=client-and-prospect-api.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client-and-prospect-api.js","sourceRoot":"","sources":["../../src/api/client-and-prospect-api.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EACL,oBAAoB,EACpB,kBAAkB,GACnB,MAAM,yBAAyB,CAAC;AAEjC,MAAM,+BAA+B,GAAG,WAAW,CAAC,EAAE;IACpD,OAAO;QACL;YACE,QAAQ,EAAE,KAAK;YACf,QAAQ,EAAE;gBACR;oBACE,SAAS,EAAE,WAAW;oBACtB,QAAQ,EAAE,GAAG;oBACb,KAAK,EAAE,KAAK;iBACb;gBACD;oBACE,QAAQ,EAAE,IAAI;oBACd,QAAQ,EAAE;wBACR;4BACE,SAAS,EAAE,YAAY;4BACvB,QAAQ,EAAE,GAAG;4BACb,KAAK,EAAE,IAAI;yBACZ;wBACD;4BACE,SAAS,EAAE,YAAY;4BACvB,QAAQ,EAAE,GAAG;4BACb,KAAK,EAAE,IAAI;yBACZ;qBACF;iBACF;aACF;SACF;QACD,kBAAkB,CAAC,sBAAsB,EAAE,WAAW,CAAC;KACxD,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,KAAK,UAAU,uBAAuB,CAAC,
|
|
1
|
+
{"version":3,"file":"client-and-prospect-api.js","sourceRoot":"","sources":["../../src/api/client-and-prospect-api.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EACL,oBAAoB,EACpB,kBAAkB,GACnB,MAAM,yBAAyB,CAAC;AAEjC,MAAM,+BAA+B,GAAG,WAAW,CAAC,EAAE;IACpD,OAAO;QACL;YACE,QAAQ,EAAE,KAAK;YACf,QAAQ,EAAE;gBACR;oBACE,SAAS,EAAE,WAAW;oBACtB,QAAQ,EAAE,GAAG;oBACb,KAAK,EAAE,KAAK;iBACb;gBACD;oBACE,QAAQ,EAAE,IAAI;oBACd,QAAQ,EAAE;wBACR;4BACE,SAAS,EAAE,YAAY;4BACvB,QAAQ,EAAE,GAAG;4BACb,KAAK,EAAE,IAAI;yBACZ;wBACD;4BACE,SAAS,EAAE,YAAY;4BACvB,QAAQ,EAAE,GAAG;4BACb,KAAK,EAAE,IAAI;yBACZ;qBACF;iBACF;aACF;SACF;QACD,kBAAkB,CAAC,sBAAsB,EAAE,WAAW,CAAC;KACxD,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,KAAK,UAAU,uBAAuB,CAAC,EAC5C,WAAW,EACX,IAAI,GAAG,CAAC,EACR,SAAS,GACV;IACC,OAAO,oBAAoB,CAAC;QAC1B,KAAK,EAAE,iCAAiC;QACxC,QAAQ,EAAE,+BAA+B,CAAC,WAAW,CAAC;QACtD,QAAQ,EAAE,sBAAsB;QAChC,IAAI;QACJ,QAAQ,EAAE,OAAO;QACjB,SAAS;QACT,YAAY,EAAE,IAAI;KACnB,CAAC,CAAC;AACL,CAAC"}
|
package/lib/api/contract-api.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2025 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -33,8 +33,9 @@ const createContractCriteria = ({ partnerId, searchValue }) => {
|
|
|
33
33
|
];
|
|
34
34
|
return criteria;
|
|
35
35
|
};
|
|
36
|
-
export async function searchContract({ page, partnerId, searchValue }) {
|
|
36
|
+
export async function searchContract({ page, partnerId, searchValue, companyId, }) {
|
|
37
37
|
return createStandardSearch({
|
|
38
|
+
companyId,
|
|
38
39
|
model: 'com.axelor.apps.contract.db.Contract',
|
|
39
40
|
criteria: createContractCriteria({ partnerId, searchValue }),
|
|
40
41
|
fieldKey: 'intervention_contract',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contract-api.js","sourceRoot":"","sources":["../../src/api/contract-api.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EACL,oBAAoB,EACpB,kBAAkB,GACnB,MAAM,yBAAyB,CAAC;AAEjC,MAAM,yBAAyB,GAAG,CAAC,CAAC;AAEpC,MAAM,sBAAsB,GAAG,CAAC,EAAC,SAAS,EAAE,WAAW,EAAC,EAAE,EAAE;IAC1D,MAAM,QAAQ,GAAG;QACf,kBAAkB,CAAC,uBAAuB,EAAE,WAAW,CAAC;QACxD;YACE,SAAS,EAAE,qCAAqC;YAChD,QAAQ,EAAE,GAAG;YACb,KAAK,EAAE,yBAAyB;SACjC;QACD;YACE,SAAS,EAAE,YAAY;YACvB,QAAQ,EAAE,GAAG;YACb,KAAK,EAAE,SAAS;SACjB;KACF,CAAC;IAEF,OAAO,QAAQ,CAAC;AAClB,CAAC,CAAC;AAEF,MAAM,CAAC,KAAK,UAAU,cAAc,CAAC,
|
|
1
|
+
{"version":3,"file":"contract-api.js","sourceRoot":"","sources":["../../src/api/contract-api.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EACL,oBAAoB,EACpB,kBAAkB,GACnB,MAAM,yBAAyB,CAAC;AAEjC,MAAM,yBAAyB,GAAG,CAAC,CAAC;AAEpC,MAAM,sBAAsB,GAAG,CAAC,EAAC,SAAS,EAAE,WAAW,EAAC,EAAE,EAAE;IAC1D,MAAM,QAAQ,GAAG;QACf,kBAAkB,CAAC,uBAAuB,EAAE,WAAW,CAAC;QACxD;YACE,SAAS,EAAE,qCAAqC;YAChD,QAAQ,EAAE,GAAG;YACb,KAAK,EAAE,yBAAyB;SACjC;QACD;YACE,SAAS,EAAE,YAAY;YACvB,QAAQ,EAAE,GAAG;YACb,KAAK,EAAE,SAAS;SACjB;KACF,CAAC;IAEF,OAAO,QAAQ,CAAC;AAClB,CAAC,CAAC;AAEF,MAAM,CAAC,KAAK,UAAU,cAAc,CAAC,EACnC,IAAI,EACJ,SAAS,EACT,WAAW,EACX,SAAS,GACV;IACC,OAAO,oBAAoB,CAAC;QAC1B,SAAS;QACT,KAAK,EAAE,sCAAsC;QAC7C,QAAQ,EAAE,sBAAsB,CAAC,EAAC,SAAS,EAAE,WAAW,EAAC,CAAC;QAC1D,QAAQ,EAAE,uBAAuB;QACjC,OAAO,EAAE,uBAAuB;QAChC,IAAI,EAAE,IAAI;QACV,QAAQ,EAAE,OAAO;KAClB,CAAC,CAAC;AACL,CAAC"}
|
package/lib/api/equipment-api.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2025 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2025 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2025 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2025 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
package/lib/api/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2025 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,21 +1,24 @@
|
|
|
1
|
-
export function fetchIntervention({ searchValue, userId, deliveredPartnerId, date, statusList, page, }: {
|
|
1
|
+
export function fetchIntervention({ searchValue, userId, deliveredPartnerId, date, statusList, page, companyId, }: {
|
|
2
2
|
searchValue: any;
|
|
3
3
|
userId: any;
|
|
4
4
|
deliveredPartnerId: any;
|
|
5
5
|
date: any;
|
|
6
6
|
statusList: any;
|
|
7
7
|
page?: number;
|
|
8
|
+
companyId: any;
|
|
8
9
|
}): Promise<any>;
|
|
9
10
|
export function fetchInterventionById({ interventionId }: {
|
|
10
11
|
interventionId: any;
|
|
11
12
|
}): Promise<any>;
|
|
12
|
-
export function searchHistoryInterventionByEquipment({ page, statusList, equipmentId, }: {
|
|
13
|
+
export function searchHistoryInterventionByEquipment({ page, statusList, equipmentId, companyId, }: {
|
|
13
14
|
page: any;
|
|
14
15
|
statusList: any;
|
|
15
16
|
equipmentId: any;
|
|
17
|
+
companyId: any;
|
|
16
18
|
}): Promise<any>;
|
|
17
|
-
export function fetchActiveIntervention({ userId }: {
|
|
19
|
+
export function fetchActiveIntervention({ userId, companyId }: {
|
|
18
20
|
userId: any;
|
|
21
|
+
companyId: any;
|
|
19
22
|
}): Promise<any>;
|
|
20
23
|
export function updateInterventionStatus({ interventionId, version, targetStatus, }: {
|
|
21
24
|
interventionId: any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2025 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -79,9 +79,10 @@ const createInterventionHistoryCriteria = (statusList, equipmentId) => {
|
|
|
79
79
|
}
|
|
80
80
|
return criteria;
|
|
81
81
|
};
|
|
82
|
-
export async function fetchIntervention({ searchValue, userId, deliveredPartnerId, date, statusList, page = 0, }) {
|
|
82
|
+
export async function fetchIntervention({ searchValue, userId, deliveredPartnerId, date, statusList, page = 0, companyId, }) {
|
|
83
83
|
return createStandardSearch({
|
|
84
84
|
model: 'com.axelor.apps.intervention.db.Intervention',
|
|
85
|
+
companyId,
|
|
85
86
|
criteria: createInterventionCriteria(searchValue, userId, deliveredPartnerId, date, statusList),
|
|
86
87
|
fieldKey: 'intervention_intervention',
|
|
87
88
|
sortKey: 'intervention_intervention',
|
|
@@ -97,8 +98,9 @@ export async function fetchInterventionById({ interventionId }) {
|
|
|
97
98
|
provider: 'model',
|
|
98
99
|
});
|
|
99
100
|
}
|
|
100
|
-
export async function searchHistoryInterventionByEquipment({ page, statusList, equipmentId, }) {
|
|
101
|
+
export async function searchHistoryInterventionByEquipment({ page, statusList, equipmentId, companyId, }) {
|
|
101
102
|
return createStandardSearch({
|
|
103
|
+
companyId,
|
|
102
104
|
model: 'com.axelor.apps.intervention.db.Intervention',
|
|
103
105
|
criteria: createInterventionHistoryCriteria(statusList, equipmentId),
|
|
104
106
|
domain: ':equipment MEMBER OF self.equipmentSet',
|
|
@@ -113,9 +115,10 @@ export async function searchHistoryInterventionByEquipment({ page, statusList, e
|
|
|
113
115
|
provider: 'model',
|
|
114
116
|
});
|
|
115
117
|
}
|
|
116
|
-
export async function fetchActiveIntervention({ userId }) {
|
|
118
|
+
export async function fetchActiveIntervention({ userId, companyId }) {
|
|
117
119
|
const Intervention = getTypes().Intervention;
|
|
118
120
|
return createStandardSearch({
|
|
121
|
+
companyId,
|
|
119
122
|
model: 'com.axelor.apps.intervention.db.Intervention',
|
|
120
123
|
criteria: createInterventionCriteria(null, userId, null, null, [
|
|
121
124
|
Intervention?.statusSelect.Started,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"intervention-api.js","sourceRoot":"","sources":["../../src/api/intervention-api.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EACL,mBAAmB,EACnB,oBAAoB,EACpB,YAAY,EACZ,WAAW,EACX,wBAAwB,EACxB,kBAAkB,EAClB,aAAa,EACb,QAAQ,GACT,MAAM,yBAAyB,CAAC;AAEjC,MAAM,0BAA0B,GAAG,CACjC,WAAW,EACX,MAAM,EACN,kBAAkB,EAClB,IAAI,EACJ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AI,CAAC;QACzB,GAAG,EAAE,sCAAsC,cAAc,EAAE;QAC3D,MAAM,EAAE,KAAK;QACb,IAAI,EAAE;YACJ,WAAW;YACX,OAAO,EAAE,mBAAmB;SAC7B;QACD,WAAW,EAAE,gBAAgB;KAC9B,CAAC,CAAC;AACL,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,eAAe,CAAC,EACpC,cAAc,EACd,mBAAmB,EACnB,WAAW,GACZ;IACC,OAAO,YAAY,EAAE,CAAC,IAAI,CAAC;QACzB,GAAG,EAAE,yCAAyC,cAAc,EAAE;QAC9D,MAAM,EAAE,KAAK;QACb,IAAI,EAAE;YACJ,WAAW;YACX,OAAO,EAAE,mBAAmB;SAC7B;QACD,WAAW,EAAE,kBAAkB;KAChC,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2025 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
package/lib/api/question-api.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2025 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2025 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2025 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2025 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2025 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2025 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2025 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2025 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
package/lib/components/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2025 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2025 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2025 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2025 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2025 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2025 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2025 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2025 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2025 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2025 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2025 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2025 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2025 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2025 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2025 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -22,10 +22,15 @@ import { searchClientAndProspect } from '../../../features/clientAndProspectSlic
|
|
|
22
22
|
const ClientProspectSearchBar = ({ style = null, title = 'Intervention_Customer', defaultValue = null, onChange = () => { }, readonly = false, required = false, showDetailsPopup = true, navigate = false, oneFilter = false, showTitle = false, }) => {
|
|
23
23
|
const I18n = useTranslator();
|
|
24
24
|
const dispatch = useDispatch();
|
|
25
|
+
const { user } = useSelector(state => state.user);
|
|
25
26
|
const { loadingList, moreLoading, isListEnd, clientAndProspectList } = useSelector((state) => state.intervention_clientAndProspect);
|
|
26
27
|
const searchClientAndProspectAPI = useCallback(({ page = 0, searchValue }) => {
|
|
27
|
-
dispatch(searchClientAndProspect({
|
|
28
|
-
|
|
28
|
+
dispatch(searchClientAndProspect({
|
|
29
|
+
page,
|
|
30
|
+
searchValue,
|
|
31
|
+
companyId: user.activeCompany?.id,
|
|
32
|
+
}));
|
|
33
|
+
}, [dispatch, user.activeCompany?.id]);
|
|
29
34
|
return (<AutoCompleteSearch title={showTitle && I18n.t(title)} objectList={clientAndProspectList} value={defaultValue} required={required} readonly={readonly} onChangeValue={onChange} fetchData={searchClientAndProspectAPI} displayValue={displayItemFullname} placeholder={I18n.t(title)} showDetailsPopup={showDetailsPopup} loadingList={loadingList} moreLoading={moreLoading} isListEnd={isListEnd} navigate={navigate} oneFilter={oneFilter} style={style}/>);
|
|
30
35
|
};
|
|
31
36
|
export default ClientProspectSearchBar;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClientProspectSearchBar.js","sourceRoot":"","sources":["../../../../src/components/organisms/ClientProspectSearchBar/ClientProspectSearchBar.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,EAAC,WAAW,EAAC,MAAM,OAAO,CAAC;AACzC,OAAO,EACL,mBAAmB,EACnB,WAAW,EACX,WAAW,EACX,aAAa,GACd,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAC,kBAAkB,EAAC,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAC,uBAAuB,EAAC,MAAM,0CAA0C,CAAC;AAGjF,MAAM,uBAAuB,GAAG,CAAC,EAC/B,KAAK,GAAG,IAAI,EACZ,KAAK,GAAG,uBAAuB,EAC/B,YAAY,GAAG,IAAI,EACnB,QAAQ,GAAG,GAAG,EAAE,GAAE,CAAC,EACnB,QAAQ,GAAG,KAAK,EAChB,QAAQ,GAAG,KAAK,EAChB,gBAAgB,GAAG,IAAI,EACvB,QAAQ,GAAG,KAAK,EAChB,SAAS,GAAG,KAAK,EACjB,SAAS,GAAG,KAAK,GACI,EAAE,EAAE;IACzB,MAAM,IAAI,GAAG,aAAa,EAAE,CAAC;IAC7B,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAC;IAE/B,MAAM,EAAC,WAAW,EAAE,WAAW,EAAE,SAAS,EAAE,qBAAqB,EAAC,GAChE,WAAW,CAAC,CAAC,KAAU,EAAE,EAAE,CAAC,KAAK,CAAC,8BAA8B,CAAC,CAAC;IAEpE,MAAM,0BAA0B,GAAG,WAAW,CAC5C,CAAC,EAAC,IAAI,GAAG,CAAC,EAAE,WAAW,EAAC,EAAE,EAAE;QAC1B,QAAQ,
|
|
1
|
+
{"version":3,"file":"ClientProspectSearchBar.js","sourceRoot":"","sources":["../../../../src/components/organisms/ClientProspectSearchBar/ClientProspectSearchBar.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,EAAC,WAAW,EAAC,MAAM,OAAO,CAAC;AACzC,OAAO,EACL,mBAAmB,EACnB,WAAW,EACX,WAAW,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UAAU,CAAC,CAAC,qBAAqB,CAAC,CAClC,KAAK,CAAC,CAAC,YAAY,CAAC,CACpB,QAAQ,CAAC,CAAC,QAAQ,CAAC,CACnB,QAAQ,CAAC,CAAC,QAAQ,CAAC,CACnB,aAAa,CAAC,CAAC,QAAQ,CAAC,CACxB,SAAS,CAAC,CAAC,0BAA0B,CAAC,CACtC,YAAY,CAAC,CAAC,mBAAmB,CAAC,CAClC,WAAW,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAC3B,gBAAgB,CAAC,CAAC,gBAAgB,CAAC,CACnC,WAAW,CAAC,CAAC,WAAW,CAAC,CACzB,WAAW,CAAC,CAAC,WAAW,CAAC,CACzB,SAAS,CAAC,CAAC,SAAS,CAAC,CACrB,QAAQ,CAAC,CAAC,QAAQ,CAAC,CACnB,SAAS,CAAC,CAAC,SAAS,CAAC,CACrB,KAAK,CAAC,CAAC,KAAK,CAAC,EACb,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2025 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -22,10 +22,16 @@ import { searchContract } from '../../../features/contractSlice';
|
|
|
22
22
|
const ContractSearchBarAux = ({ style = null, title = 'Intervention_Contract', defaultValue = null, onChange = () => { }, readonly = false, required = false, showDetailsPopup = true, navigate = false, oneFilter = false, showTitle = true, customerId = null, }) => {
|
|
23
23
|
const I18n = useTranslator();
|
|
24
24
|
const dispatch = useDispatch();
|
|
25
|
+
const { user } = useSelector(state => state.user);
|
|
25
26
|
const { loadingList, moreLoading, isListEnd, contractList } = useSelector((state) => state.intervention_contract);
|
|
26
27
|
const searchContractAPI = useCallback(({ page = 0, searchValue }) => {
|
|
27
|
-
dispatch(searchContract({
|
|
28
|
-
|
|
28
|
+
dispatch(searchContract({
|
|
29
|
+
page,
|
|
30
|
+
partnerId: customerId,
|
|
31
|
+
searchValue,
|
|
32
|
+
companyId: user.activeCompany?.id,
|
|
33
|
+
}));
|
|
34
|
+
}, [dispatch, customerId, user.activeCompany?.id]);
|
|
29
35
|
return (<AutoCompleteSearch title={showTitle && I18n.t(title)} objectList={contractList} value={defaultValue} required={required} readonly={readonly} onChangeValue={onChange} fetchData={searchContractAPI} displayValue={displayItemName} placeholder={I18n.t(title)} showDetailsPopup={showDetailsPopup} loadingList={loadingList} moreLoading={moreLoading} isListEnd={isListEnd} navigate={navigate} oneFilter={oneFilter} style={style}/>);
|
|
30
36
|
};
|
|
31
37
|
const ContractSearchBar = ({ style = null, title = 'Intervention_Contract', defaultValue = null, onChange = () => { }, readonly = false, required = false, showDetailsPopup = true, navigate = false, oneFilter = false, showTitle = true, customerId = null, }) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContractSearchBar.js","sourceRoot":"","sources":["../../../../src/components/organisms/ContractSearchBar/ContractSearchBar.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,EAAC,WAAW,EAAC,MAAM,OAAO,CAAC;AACzC,OAAO,EACL,eAAe,EACf,WAAW,EACX,WAAW,EACX,aAAa,GACd,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAC,kBAAkB,EAAC,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAC,cAAc,EAAC,MAAM,iCAAiC,CAAC;AAG/D,MAAM,oBAAoB,GAAG,CAAC,EAC5B,KAAK,GAAG,IAAI,EACZ,KAAK,GAAG,uBAAuB,EAC/B,YAAY,GAAG,IAAI,EACnB,QAAQ,GAAG,GAAG,EAAE,GAAE,CAAC,EACnB,QAAQ,GAAG,KAAK,EAChB,QAAQ,GAAG,KAAK,EAChB,gBAAgB,GAAG,IAAI,EACvB,QAAQ,GAAG,KAAK,EAChB,SAAS,GAAG,KAAK,EACjB,SAAS,GAAG,IAAI,EAChB,UAAU,GAAG,IAAI,GACI,EAAE,EAAE;IACzB,MAAM,IAAI,GAAG,aAAa,EAAE,CAAC;IAC7B,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAC;IAE/B,MAAM,EAAC,WAAW,EAAE,WAAW,EAAE,SAAS,EAAE,YAAY,EAAC,GAAG,WAAW,CACrE,CAAC,KAAU,EAAE,EAAE,CAAC,KAAK,CAAC,qBAAqB,CAC5C,CAAC;IAEF,MAAM,iBAAiB,GAAG,WAAW,CACnC,CAAC,EAAC,IAAI,GAAG,CAAC,EAAE,WAAW,EAAC,EAAE,EAAE;QAC1B,QAAQ,CACL,cAAsB,CAAC,
|
|
1
|
+
{"version":3,"file":"ContractSearchBar.js","sourceRoot":"","sources":["../../../../src/components/organisms/ContractSearchBar/ContractSearchBar.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,EAAC,WAAW,EAAC,MAAM,OAAO,CAAC;AACzC,OAAO,EACL,eAAe,EACf,WAAW,EACX,WAAW,EACX,aAAa,GACd,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAC,kBAAkB,EAAC,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAC,cAAc,EAAC,MAAM,iCAAiC,CAAC;AAG/D,MAAM,oBAAoB,GAAG,CAAC,EAC5B,KAAK,GAAG,IAAI,EACZ,KAAK,GAAG,uBAAuB,EAC/B,YAAY,GAAG,IAAI,EACnB,QAAQ,GAAG,GAAG,EAAE,GAAE,CAAC,EACnB,QAAQ,GAAG,KAAK,EAChB,QAAQ,GAAG,KAAK,EAChB,gBAAgB,GAAG,IAAI,EACvB,QAAQ,GAAG,KAAK,EAChB,SAAS,GAAG,KAAK,EACjB,SAAS,GAAG,IAAI,EAChB,UAAU,GAAG,I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|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2025 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2025 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2025 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2025 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2025 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2025 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|