@movalib/movalib-commons 1.59.25 → 1.59.26
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.
|
@@ -68,7 +68,6 @@ var ScheduleFields = function (_a) {
|
|
|
68
68
|
Logger_1.default.info(mergedSchedules);
|
|
69
69
|
return mergedSchedules;
|
|
70
70
|
};
|
|
71
|
-
console.log('build componetns');
|
|
72
71
|
/**
|
|
73
72
|
* Cette fonction renvoie une liste de DaySchedule depuis une liste de Schedule
|
|
74
73
|
* @returns
|
|
@@ -96,7 +95,6 @@ var ScheduleFields = function (_a) {
|
|
|
96
95
|
// Chargement initial des données du garage
|
|
97
96
|
(0, react_1.useEffect)(function () {
|
|
98
97
|
if (schedules && schedules.length > 0) {
|
|
99
|
-
console.log('trouver le coupable');
|
|
100
98
|
setSchedule(mergeSchedules(schedules));
|
|
101
99
|
}
|
|
102
100
|
}, [schedules]); // Exécute le hook à chaque fois que les schedules transmis en props changent
|
|
@@ -15,6 +15,8 @@ interface roiInterface {
|
|
|
15
15
|
comment: string;
|
|
16
16
|
workforce: number;
|
|
17
17
|
workingTimePerEmployee: number;
|
|
18
|
+
partialWorkforce: number;
|
|
19
|
+
workingTimePerPartialEmployee: number;
|
|
18
20
|
}
|
|
19
21
|
export default class Subscription {
|
|
20
22
|
id: string;
|
|
@@ -35,10 +37,11 @@ export default class Subscription {
|
|
|
35
37
|
additionalFormationQuantity: number;
|
|
36
38
|
additionalFormationFree: boolean;
|
|
37
39
|
webPage: boolean;
|
|
40
|
+
webcam: boolean;
|
|
38
41
|
plvQuantity: number;
|
|
39
42
|
plvFree: boolean;
|
|
40
43
|
trainingOptionalOne: Date;
|
|
41
44
|
trainingOptionalTwo: Date;
|
|
42
|
-
constructor(id: string, garageId: string, type: SubscriptionType, state: SubscriptionState, companyName: string, companyEmail: string, companySiren: string, companyLegalForm: string, trialDays: number, startDate: Date, activationDate: Date, cancellationDate: Date, paymentInterval: SubscriptionPaymentInterval, paymentIban: string, roi: roiInterface, additionalFormationQuantity: number, additionalFormationFree: boolean, webPage: boolean, plvQuantity: number, plvFree: boolean, trainingOptionalOne: Date, trainingOptionalTwo: Date);
|
|
45
|
+
constructor(id: string, garageId: string, type: SubscriptionType, state: SubscriptionState, companyName: string, companyEmail: string, companySiren: string, companyLegalForm: string, trialDays: number, startDate: Date, activationDate: Date, cancellationDate: Date, paymentInterval: SubscriptionPaymentInterval, paymentIban: string, roi: roiInterface, additionalFormationQuantity: number, additionalFormationFree: boolean, webPage: boolean, plvQuantity: number, plvFree: boolean, trainingOptionalOne: Date, trainingOptionalTwo: Date, webcam: boolean);
|
|
43
46
|
}
|
|
44
47
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
var Subscription = /** @class */ (function () {
|
|
4
|
-
function Subscription(id, garageId, type, state, companyName, companyEmail, companySiren, companyLegalForm, trialDays, startDate, activationDate, cancellationDate, paymentInterval, paymentIban, roi, additionalFormationQuantity, additionalFormationFree, webPage, plvQuantity, plvFree, trainingOptionalOne, trainingOptionalTwo) {
|
|
4
|
+
function Subscription(id, garageId, type, state, companyName, companyEmail, companySiren, companyLegalForm, trialDays, startDate, activationDate, cancellationDate, paymentInterval, paymentIban, roi, additionalFormationQuantity, additionalFormationFree, webPage, plvQuantity, plvFree, trainingOptionalOne, trainingOptionalTwo, webcam) {
|
|
5
5
|
this.id = id;
|
|
6
6
|
this.garageId = garageId;
|
|
7
7
|
this.type = type;
|
|
@@ -22,6 +22,7 @@ var Subscription = /** @class */ (function () {
|
|
|
22
22
|
this.additionalFormationFree = additionalFormationFree;
|
|
23
23
|
this.plvQuantity = plvQuantity;
|
|
24
24
|
this.plvFree = plvFree;
|
|
25
|
+
this.webcam = webcam;
|
|
25
26
|
this.trainingOptionalOne = trainingOptionalOne;
|
|
26
27
|
this.trainingOptionalTwo = trainingOptionalTwo;
|
|
27
28
|
}
|
package/package.json
CHANGED
|
@@ -14,7 +14,9 @@ interface roiInterface {
|
|
|
14
14
|
moThree: number,
|
|
15
15
|
comment: string,
|
|
16
16
|
workforce: number,
|
|
17
|
-
workingTimePerEmployee: number
|
|
17
|
+
workingTimePerEmployee: number,
|
|
18
|
+
partialWorkforce:number,
|
|
19
|
+
workingTimePerPartialEmployee: number
|
|
18
20
|
}
|
|
19
21
|
export default class Subscription {
|
|
20
22
|
|
|
@@ -38,6 +40,7 @@ export default class Subscription {
|
|
|
38
40
|
additionalFormationQuantity: number;
|
|
39
41
|
additionalFormationFree: boolean;
|
|
40
42
|
webPage: boolean;
|
|
43
|
+
webcam: boolean;
|
|
41
44
|
plvQuantity: number;
|
|
42
45
|
plvFree: boolean;
|
|
43
46
|
trainingOptionalOne: Date;
|
|
@@ -51,7 +54,8 @@ export default class Subscription {
|
|
|
51
54
|
plvQuantity: number,
|
|
52
55
|
plvFree: boolean,
|
|
53
56
|
trainingOptionalOne: Date,
|
|
54
|
-
trainingOptionalTwo: Date
|
|
57
|
+
trainingOptionalTwo: Date,
|
|
58
|
+
webcam: boolean
|
|
55
59
|
) {
|
|
56
60
|
this.id = id;
|
|
57
61
|
this.garageId = garageId;
|
|
@@ -73,6 +77,7 @@ export default class Subscription {
|
|
|
73
77
|
this.additionalFormationFree = additionalFormationFree;
|
|
74
78
|
this.plvQuantity = plvQuantity;
|
|
75
79
|
this.plvFree = plvFree;
|
|
80
|
+
this.webcam = webcam;
|
|
76
81
|
this.trainingOptionalOne = trainingOptionalOne;
|
|
77
82
|
this.trainingOptionalTwo = trainingOptionalTwo;
|
|
78
83
|
}
|