@silexpert/core 1.1.365 → 1.1.366
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/dist/cjs/types/Enum/BalanceSheet.d.ts +1 -1
- package/dist/cjs/types/Enum/BalanceSheet.js +1 -1
- package/dist/cjs/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/cjs/types/Enum/PaymentReason.d.ts +2 -1
- package/dist/cjs/types/Enum/PaymentReason.d.ts.map +1 -1
- package/dist/cjs/types/Enum/PaymentReason.js +5 -0
- package/dist/cjs/types/Enum/PaymentReason.js.map +1 -1
- package/dist/cjs/types/Enum/ReasonTerminationType.d.ts +6 -1
- package/dist/cjs/types/Enum/ReasonTerminationType.d.ts.map +1 -1
- package/dist/cjs/types/Enum/ReasonTerminationType.js +40 -0
- package/dist/cjs/types/Enum/ReasonTerminationType.js.map +1 -1
- package/dist/cjs/types/Enum/RefundReason.d.ts +17 -3
- package/dist/cjs/types/Enum/RefundReason.d.ts.map +1 -1
- package/dist/cjs/types/Enum/RefundReason.js +17 -2
- package/dist/cjs/types/Enum/RefundReason.js.map +1 -1
- package/dist/cjs/types/Enum/TerminationList.d.ts +12 -1
- package/dist/cjs/types/Enum/TerminationList.d.ts.map +1 -1
- package/dist/cjs/types/Enum/TerminationList.js +31 -1
- package/dist/cjs/types/Enum/TerminationList.js.map +1 -1
- package/dist/cjs/types/Interface/api/terminationList/CreateTerminationList.d.ts +5 -2
- package/dist/cjs/types/Interface/api/terminationList/CreateTerminationList.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/terminationList/CreateTerminationList.js +26 -4
- package/dist/cjs/types/Interface/api/terminationList/CreateTerminationList.js.map +1 -1
- package/dist/cjs/types/Interface/models/IRefund.d.ts +1 -3
- package/dist/cjs/types/Interface/models/IRefund.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IRefund.js.map +1 -1
- package/dist/cjs/types/Interface/models/IRefundMotif.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IRefundMotif.js.map +1 -1
- package/dist/cjs/types/Interface/models/ITerminationList.d.ts +3 -3
- package/dist/cjs/types/Interface/models/ITerminationList.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/ITerminationList.js.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheet.d.ts +1 -1
- package/dist/mjs/types/Enum/BalanceSheet.js +1 -1
- package/dist/mjs/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/mjs/types/Enum/PaymentReason.d.ts +2 -1
- package/dist/mjs/types/Enum/PaymentReason.d.ts.map +1 -1
- package/dist/mjs/types/Enum/PaymentReason.js +5 -0
- package/dist/mjs/types/Enum/PaymentReason.js.map +1 -1
- package/dist/mjs/types/Enum/ReasonTerminationType.d.ts +6 -1
- package/dist/mjs/types/Enum/ReasonTerminationType.d.ts.map +1 -1
- package/dist/mjs/types/Enum/ReasonTerminationType.js +40 -0
- package/dist/mjs/types/Enum/ReasonTerminationType.js.map +1 -1
- package/dist/mjs/types/Enum/RefundReason.d.ts +17 -3
- package/dist/mjs/types/Enum/RefundReason.d.ts.map +1 -1
- package/dist/mjs/types/Enum/RefundReason.js +17 -2
- package/dist/mjs/types/Enum/RefundReason.js.map +1 -1
- package/dist/mjs/types/Enum/TerminationList.d.ts +12 -1
- package/dist/mjs/types/Enum/TerminationList.d.ts.map +1 -1
- package/dist/mjs/types/Enum/TerminationList.js +30 -0
- package/dist/mjs/types/Enum/TerminationList.js.map +1 -1
- package/dist/mjs/types/Interface/api/terminationList/CreateTerminationList.d.ts +5 -2
- package/dist/mjs/types/Interface/api/terminationList/CreateTerminationList.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/terminationList/CreateTerminationList.js +29 -4
- package/dist/mjs/types/Interface/api/terminationList/CreateTerminationList.js.map +1 -1
- package/dist/mjs/types/Interface/models/IRefund.d.ts +1 -3
- package/dist/mjs/types/Interface/models/IRefund.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IRefund.js.map +1 -1
- package/dist/mjs/types/Interface/models/IRefundMotif.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IRefundMotif.js.map +1 -1
- package/dist/mjs/types/Interface/models/ITerminationList.d.ts +3 -3
- package/dist/mjs/types/Interface/models/ITerminationList.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/ITerminationList.js.map +1 -1
- package/package.json +1 -1
- package/ts/types/Enum/BalanceSheet.ts +1 -1
- package/ts/types/Enum/PaymentReason.ts +5 -0
- package/ts/types/Enum/ReasonTerminationType.ts +40 -0
- package/ts/types/Enum/RefundReason.ts +17 -2
- package/ts/types/Enum/TerminationList.ts +31 -0
- package/ts/types/Interface/api/terminationList/CreateTerminationList.ts +23 -4
- package/ts/types/Interface/models/IRefund.ts +1 -3
- package/ts/types/Interface/models/IRefundMotif.ts +1 -0
- package/ts/types/Interface/models/ITerminationList.ts +3 -3
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TerminationListStateDetail = exports.TerminationListState = exports.TerminationListTypeDetail = exports.TerminationListType = void 0;
|
|
3
|
+
exports.ConclusionTerminationDetail = exports.ConclusionTermination = exports.TerminationListStateDetail = exports.TerminationListState = exports.TerminationListTypeDetail = exports.TerminationListType = void 0;
|
|
4
4
|
var TerminationListType;
|
|
5
5
|
(function (TerminationListType) {
|
|
6
6
|
TerminationListType[TerminationListType["REGULAR"] = 1] = "REGULAR";
|
|
7
7
|
TerminationListType[TerminationListType["OUT_OF_TIME"] = 2] = "OUT_OF_TIME";
|
|
8
|
+
TerminationListType[TerminationListType["RETRACTION"] = 3] = "RETRACTION";
|
|
9
|
+
TerminationListType[TerminationListType["SATISFIED_REFUNDED"] = 4] = "SATISFIED_REFUNDED";
|
|
8
10
|
})(TerminationListType || (exports.TerminationListType = TerminationListType = {}));
|
|
9
11
|
exports.TerminationListTypeDetail = [
|
|
10
12
|
{
|
|
@@ -15,6 +17,14 @@ exports.TerminationListTypeDetail = [
|
|
|
15
17
|
id: TerminationListType.OUT_OF_TIME,
|
|
16
18
|
label: 'Hors délai',
|
|
17
19
|
},
|
|
20
|
+
{
|
|
21
|
+
id: TerminationListType.RETRACTION,
|
|
22
|
+
label: 'Rétractation',
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
id: TerminationListType.SATISFIED_REFUNDED,
|
|
26
|
+
label: 'Satisfait / Remboursé',
|
|
27
|
+
},
|
|
18
28
|
];
|
|
19
29
|
var TerminationListState;
|
|
20
30
|
(function (TerminationListState) {
|
|
@@ -36,4 +46,24 @@ exports.TerminationListStateDetail = [
|
|
|
36
46
|
label: 'Refusée',
|
|
37
47
|
},
|
|
38
48
|
];
|
|
49
|
+
var ConclusionTermination;
|
|
50
|
+
(function (ConclusionTermination) {
|
|
51
|
+
ConclusionTermination[ConclusionTermination["CHANGE_EC_ONLINE"] = 1] = "CHANGE_EC_ONLINE";
|
|
52
|
+
ConclusionTermination[ConclusionTermination["CHANGE_EC_CLASSIC"] = 2] = "CHANGE_EC_CLASSIC";
|
|
53
|
+
ConclusionTermination[ConclusionTermination["PERSONAL_MANAGEMENT"] = 3] = "PERSONAL_MANAGEMENT";
|
|
54
|
+
})(ConclusionTermination || (exports.ConclusionTermination = ConclusionTermination = {}));
|
|
55
|
+
exports.ConclusionTerminationDetail = [
|
|
56
|
+
{
|
|
57
|
+
id: ConclusionTermination.CHANGE_EC_ONLINE,
|
|
58
|
+
label: 'Changement EC en ligne',
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
id: ConclusionTermination.CHANGE_EC_CLASSIC,
|
|
62
|
+
label: 'Changement EC classique',
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
id: ConclusionTermination.PERSONAL_MANAGEMENT,
|
|
66
|
+
label: 'Gestion personnelle',
|
|
67
|
+
},
|
|
68
|
+
];
|
|
39
69
|
//# sourceMappingURL=TerminationList.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TerminationList.js","sourceRoot":"","sources":["../../../../ts/types/Enum/TerminationList.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"TerminationList.js","sourceRoot":"","sources":["../../../../ts/types/Enum/TerminationList.ts"],"names":[],"mappings":";;;AAAA,IAAY,mBAKX;AALD,WAAY,mBAAmB;IAC7B,mEAAW,CAAA;IACX,2EAAe,CAAA;IACf,yEAAc,CAAA;IACd,yFAAsB,CAAA;AACxB,CAAC,EALW,mBAAmB,mCAAnB,mBAAmB,QAK9B;AAEY,QAAA,yBAAyB,GAAG;IACvC;QACE,EAAE,EAAE,mBAAmB,CAAC,OAAO;QAC/B,KAAK,EAAE,WAAW;KACnB;IACD;QACE,EAAE,EAAE,mBAAmB,CAAC,WAAW;QACnC,KAAK,EAAE,YAAY;KACpB;IACD;QACE,EAAE,EAAE,mBAAmB,CAAC,UAAU;QAClC,KAAK,EAAE,cAAc;KACtB;IACD;QACE,EAAE,EAAE,mBAAmB,CAAC,kBAAkB;QAC1C,KAAK,EAAE,uBAAuB;KAC/B;CACF,CAAC;AAEF,IAAY,oBAIX;AAJD,WAAY,oBAAoB;IAC9B,6EAAe,CAAA;IACf,uEAAY,CAAA;IACZ,qEAAW,CAAA;AACb,CAAC,EAJW,oBAAoB,oCAApB,oBAAoB,QAI/B;AAEY,QAAA,0BAA0B,GAAG;IACxC;QACE,EAAE,EAAE,oBAAoB,CAAC,WAAW;QACpC,KAAK,EAAE,yBAAyB;KACjC;IACD;QACE,EAAE,EAAE,oBAAoB,CAAC,QAAQ;QACjC,KAAK,EAAE,UAAU;KAClB;IACD;QACE,EAAE,EAAE,oBAAoB,CAAC,OAAO;QAChC,KAAK,EAAE,SAAS;KACjB;CACF,CAAC;AAEF,IAAY,qBAIX;AAJD,WAAY,qBAAqB;IAC/B,yFAAoB,CAAA;IACpB,2FAAqB,CAAA;IACrB,+FAAuB,CAAA;AACzB,CAAC,EAJW,qBAAqB,qCAArB,qBAAqB,QAIhC;AAEY,QAAA,2BAA2B,GAAG;IACzC;QACE,EAAE,EAAE,qBAAqB,CAAC,gBAAgB;QAC1C,KAAK,EAAE,wBAAwB;KAChC;IACD;QACE,EAAE,EAAE,qBAAqB,CAAC,iBAAiB;QAC3C,KAAK,EAAE,yBAAyB;KACjC;IACD;QACE,EAAE,EAAE,qBAAqB,CAAC,mBAAmB;QAC7C,KAAK,EAAE,qBAAqB;KAC7B;CACF,CAAC","sourcesContent":["export enum TerminationListType {\n REGULAR = 1,\n OUT_OF_TIME = 2,\n RETRACTION = 3,\n SATISFIED_REFUNDED = 4,\n}\n\nexport const TerminationListTypeDetail = [\n {\n id: TerminationListType.REGULAR,\n label: 'Régulière',\n },\n {\n id: TerminationListType.OUT_OF_TIME,\n label: 'Hors délai',\n },\n {\n id: TerminationListType.RETRACTION,\n label: 'Rétractation',\n },\n {\n id: TerminationListType.SATISFIED_REFUNDED,\n label: 'Satisfait / Remboursé',\n },\n];\n\nexport enum TerminationListState {\n IN_PROGRESS = 1,\n ACCEPTED = 2,\n REFUSED = 3,\n}\n\nexport const TerminationListStateDetail = [\n {\n id: TerminationListState.IN_PROGRESS,\n label: 'En cours d\\'instruction',\n },\n {\n id: TerminationListState.ACCEPTED,\n label: 'Acceptée',\n },\n {\n id: TerminationListState.REFUSED,\n label: 'Refusée',\n },\n];\n\nexport enum ConclusionTermination {\n CHANGE_EC_ONLINE = 1,\n CHANGE_EC_CLASSIC = 2,\n PERSONAL_MANAGEMENT = 3,\n}\n\nexport const ConclusionTerminationDetail = [\n {\n id: ConclusionTermination.CHANGE_EC_ONLINE,\n label: 'Changement EC en ligne',\n },\n {\n id: ConclusionTermination.CHANGE_EC_CLASSIC,\n label: 'Changement EC classique',\n },\n {\n id: ConclusionTermination.PERSONAL_MANAGEMENT,\n label: 'Gestion personnelle',\n },\n];"]}
|
|
@@ -5,15 +5,18 @@ export declare class CreateTerminationList {
|
|
|
5
5
|
recalledCustomer?: Date;
|
|
6
6
|
recalledCustomerBySupervisor?: Date;
|
|
7
7
|
effectiveDate: Date;
|
|
8
|
-
idExercice: number;
|
|
8
|
+
idExercice: number | null;
|
|
9
9
|
endContractDate?: Date;
|
|
10
10
|
refund?: boolean;
|
|
11
|
+
refundAmount?: number;
|
|
11
12
|
monthlyPrice: number;
|
|
12
13
|
monthNumber: number;
|
|
13
14
|
monthOffer: number;
|
|
14
|
-
idReasonTermination?: number;
|
|
15
|
+
idReasonTermination?: number[];
|
|
15
16
|
idSociety: number;
|
|
16
17
|
idPrestation: number[];
|
|
17
18
|
idCollaborateur?: number;
|
|
19
|
+
needPaymentLink?: boolean;
|
|
20
|
+
totalAmount?: number;
|
|
18
21
|
}
|
|
19
22
|
//# sourceMappingURL=CreateTerminationList.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateTerminationList.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/terminationList/CreateTerminationList.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CreateTerminationList.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/terminationList/CreateTerminationList.ts"],"names":[],"mappings":"AAQA,qBAAa,qBAAqB;IAI9B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAK3B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAK5B,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,gBAAgB,CAAC,EAAE,IAAI,CAAC;IAKxB,4BAA4B,CAAC,EAAE,IAAI,CAAC;IAIpC,aAAa,EAAE,IAAI,CAAC;IAKpB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAK1B,eAAe,CAAC,EAAE,IAAI,CAAC;IAMvB,MAAM,CAAC,EAAE,OAAO,CAAC;IAKjB,YAAY,CAAC,EAAE,MAAM,CAAC;IAKtB,YAAY,EAAE,MAAM,CAAC;IAKrB,WAAW,EAAE,MAAM,CAAC;IAKpB,UAAU,EAAE,MAAM,CAAC;IAKnB,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;IAI/B,SAAS,EAAE,MAAM,CAAC;IAIlB,YAAY,EAAE,MAAM,EAAE,CAAC;IAKvB,eAAe,CAAC,EAAE,MAAM,CAAC;IAMzB,eAAe,CAAC,EAAE,OAAO,CAAC;IAK1B,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB"}
|
|
@@ -12,6 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.CreateTerminationList = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
const utils_1 = require("../../../../utils");
|
|
15
|
+
const boolean_transform_1 = require("../../../../utils/transforms/boolean.transform");
|
|
15
16
|
class CreateTerminationList {
|
|
16
17
|
}
|
|
17
18
|
exports.CreateTerminationList = CreateTerminationList;
|
|
@@ -51,9 +52,10 @@ __decorate([
|
|
|
51
52
|
__metadata("design:type", Date)
|
|
52
53
|
], CreateTerminationList.prototype, "effectiveDate", void 0);
|
|
53
54
|
__decorate([
|
|
54
|
-
(0, utils_1.
|
|
55
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
56
|
+
(0, class_validator_1.IsOptional)(),
|
|
55
57
|
(0, class_validator_1.IsInt)(),
|
|
56
|
-
__metadata("design:type",
|
|
58
|
+
__metadata("design:type", Object)
|
|
57
59
|
], CreateTerminationList.prototype, "idExercice", void 0);
|
|
58
60
|
__decorate([
|
|
59
61
|
(0, utils_1.ApiPropertyOptional)(),
|
|
@@ -65,8 +67,15 @@ __decorate([
|
|
|
65
67
|
(0, utils_1.ApiPropertyOptional)(),
|
|
66
68
|
(0, class_validator_1.IsOptional)(),
|
|
67
69
|
(0, class_validator_1.IsBoolean)(),
|
|
70
|
+
(0, boolean_transform_1.ToBoolean)(),
|
|
68
71
|
__metadata("design:type", Boolean)
|
|
69
72
|
], CreateTerminationList.prototype, "refund", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
75
|
+
(0, class_validator_1.IsOptional)(),
|
|
76
|
+
(0, class_validator_1.IsInt)(),
|
|
77
|
+
__metadata("design:type", Number)
|
|
78
|
+
], CreateTerminationList.prototype, "refundAmount", void 0);
|
|
70
79
|
__decorate([
|
|
71
80
|
(0, utils_1.ApiPropertyOptional)(),
|
|
72
81
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -88,8 +97,8 @@ __decorate([
|
|
|
88
97
|
__decorate([
|
|
89
98
|
(0, utils_1.ApiPropertyOptional)(),
|
|
90
99
|
(0, class_validator_1.IsOptional)(),
|
|
91
|
-
(0, class_validator_1.IsInt)(),
|
|
92
|
-
__metadata("design:type",
|
|
100
|
+
(0, class_validator_1.IsInt)({ each: true }),
|
|
101
|
+
__metadata("design:type", Array)
|
|
93
102
|
], CreateTerminationList.prototype, "idReasonTermination", void 0);
|
|
94
103
|
__decorate([
|
|
95
104
|
(0, utils_1.ApiProperty)(),
|
|
@@ -107,4 +116,17 @@ __decorate([
|
|
|
107
116
|
(0, class_validator_1.IsInt)(),
|
|
108
117
|
__metadata("design:type", Number)
|
|
109
118
|
], CreateTerminationList.prototype, "idCollaborateur", void 0);
|
|
119
|
+
__decorate([
|
|
120
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
121
|
+
(0, class_validator_1.IsOptional)(),
|
|
122
|
+
(0, class_validator_1.IsBoolean)(),
|
|
123
|
+
(0, boolean_transform_1.ToBoolean)(),
|
|
124
|
+
__metadata("design:type", Boolean)
|
|
125
|
+
], CreateTerminationList.prototype, "needPaymentLink", void 0);
|
|
126
|
+
__decorate([
|
|
127
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
128
|
+
(0, class_validator_1.IsOptional)(),
|
|
129
|
+
(0, class_validator_1.IsNumber)(),
|
|
130
|
+
__metadata("design:type", Number)
|
|
131
|
+
], CreateTerminationList.prototype, "totalAmount", void 0);
|
|
110
132
|
//# sourceMappingURL=CreateTerminationList.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateTerminationList.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/terminationList/CreateTerminationList.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAIyB;AACzB,6CAAqE;
|
|
1
|
+
{"version":3,"file":"CreateTerminationList.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/terminationList/CreateTerminationList.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAIyB;AACzB,6CAAqE;AACrE,sFAA2E;AAE3E,MAAa,qBAAqB;CA8FjC;AA9FD,sDA8FC;AA1FG;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;gEACqB;AAK3B;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;iEACsB;AAK5B;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;sDACQ;AAKjB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;8BACY,IAAI;+DAAC;AAKxB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;8BACwB,IAAI;2EAAC;AAIpC;IAFD,IAAA,mBAAW,GAAE;IACb,IAAA,wBAAM,GAAE;8BACQ,IAAI;4DAAC;AAKpB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;yDACoB;AAK1B;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;8BACW,IAAI;8DAAC;AAMvB;IAJD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;qDACO;AAKjB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;2DACgB;AAKtB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2DACY;AAKrB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;0DACc;AAKpB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;yDACa;AAKnB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;kEACW;AAI/B;IAFD,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;wDACY;AAIlB;IAFD,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;2DACG;AAKvB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;8DACmB;AAMzB;IAJD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;8DACgB;AAK1B;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;0DACY","sourcesContent":["import {\n IsBoolean,\n IsDate,\n IsInt, IsOptional, IsString, IsNumber,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class CreateTerminationList {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idTerminationType?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idTerminationState?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n comment?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n recalledCustomer?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n recalledCustomerBySupervisor?: Date;\n\n @ApiProperty()\n @IsDate()\n effectiveDate: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n endContractDate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n refund?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n refundAmount?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n monthlyPrice: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n monthNumber: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n monthOffer: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt({ each: true })\n idReasonTermination?: number[];\n\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiProperty()\n @IsInt({ each: true })\n idPrestation: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idCollaborateur?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n needPaymentLink?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n totalAmount?: number;\n}"]}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { IRefundMotif } from './IRefundMotif';
|
|
2
1
|
import { ISociety } from './ISociety';
|
|
3
2
|
import { IFile } from './IFile';
|
|
4
3
|
import { IUser } from './IUser';
|
|
@@ -11,10 +10,9 @@ export interface IRefund {
|
|
|
11
10
|
idRefundMotif: number;
|
|
12
11
|
idSociety: number;
|
|
13
12
|
idUserDemand: number;
|
|
14
|
-
idFile
|
|
13
|
+
idFile?: number | null;
|
|
15
14
|
createdAt?: Date | null;
|
|
16
15
|
updatedAt?: Date | null;
|
|
17
|
-
refundsMotif?: IRefundMotif;
|
|
18
16
|
society?: ISociety;
|
|
19
17
|
file?: IFile;
|
|
20
18
|
userDemand?: IUser;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IRefund.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IRefund.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"IRefund.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IRefund.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAGhC,MAAM,WAAW,OAAO;IACtB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,EAAE,OAAO,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,IAAI,CAAC,EAAE,KAAK,CAAC;IACb,UAAU,CAAC,EAAE,KAAK,CAAC;CACpB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IRefund.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IRefund.ts"],"names":[],"mappings":"","sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"IRefund.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IRefund.ts"],"names":[],"mappings":"","sourcesContent":["import { ISociety } from './ISociety';\nimport { IFile } from './IFile';\nimport { IUser } from './IUser';\n\n// refunds\nexport interface IRefund {\n id?: number;\n amount: number | null;\n comment: string | null;\n refundDate: Date | null;\n processed: boolean;\n idRefundMotif: number;\n idSociety: number;\n idUserDemand: number;\n idFile?: number | null; //non obligatoire désormais, utilisé avant pour rattacher le RIB\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n society?: ISociety;\n file?: IFile;\n userDemand?: IUser;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IRefundMotif.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IRefundMotif.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"IRefundMotif.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IRefundMotif.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,YAAY;IAC3B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;CACzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IRefundMotif.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IRefundMotif.ts"],"names":[],"mappings":"","sourcesContent":["// refundsMotif\nexport interface IRefundMotif {\n id?: number;\n name: string;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"IRefundMotif.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IRefundMotif.ts"],"names":[],"mappings":"","sourcesContent":["// refundsMotif\n// @deprecated\nexport interface IRefundMotif {\n id?: number;\n name: string;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n}\n"]}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { IReasonTermination } from './IReasonTermination';
|
|
2
1
|
import { ISociety } from './ISociety';
|
|
3
2
|
import { IExercice } from './IExercice';
|
|
4
3
|
import { IUser } from './IUser';
|
|
5
4
|
import { IPrestation } from './IPrestation';
|
|
5
|
+
import { ConclusionTermination } from '../../Enum/TerminationList';
|
|
6
6
|
export interface ITerminationList {
|
|
7
7
|
id?: number;
|
|
8
8
|
idTerminationType?: number | null;
|
|
9
9
|
idTerminationState?: number | null;
|
|
10
|
+
idTerminationConclusion?: ConclusionTermination | null;
|
|
10
11
|
comment?: string | null;
|
|
11
12
|
recalledCustomer?: Date | null;
|
|
12
13
|
recalledCustomerBySupervisor?: Date | null;
|
|
@@ -17,13 +18,12 @@ export interface ITerminationList {
|
|
|
17
18
|
monthlyPrice?: number | null;
|
|
18
19
|
monthNumber?: number | null;
|
|
19
20
|
monthOffer?: number | null;
|
|
20
|
-
idReasonTermination?: number | null;
|
|
21
|
+
idReasonTermination?: number[] | null;
|
|
21
22
|
idSociety?: number | null;
|
|
22
23
|
idPrestation?: number | null;
|
|
23
24
|
idCollaborateur?: number | null;
|
|
24
25
|
createdAt?: Date | null;
|
|
25
26
|
updatedAt?: Date | null;
|
|
26
|
-
reasonTermination?: IReasonTermination;
|
|
27
27
|
societiesTerminations?: ISociety;
|
|
28
28
|
exercice?: IExercice;
|
|
29
29
|
user?: IUser;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ITerminationList.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ITerminationList.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"ITerminationList.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ITerminationList.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,KAAK,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AAK,CAAC;IACb,UAAU,CAAC,EAAE,WAAW,CAAC;CAC1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ITerminationList.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ITerminationList.ts"],"names":[],"mappings":"","sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"ITerminationList.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ITerminationList.ts"],"names":[],"mappings":"","sourcesContent":["import { ISociety } from './ISociety';\nimport { IExercice } from './IExercice';\nimport { IUser } from './IUser';\nimport { IPrestation } from './IPrestation';\nimport { ConclusionTermination } from '../../Enum/TerminationList';\n\n// terminitionsList\nexport interface ITerminationList {\n id?: number;\n idTerminationType?: number | null;\n idTerminationState?: number | null;\n idTerminationConclusion?: ConclusionTermination | null;\n comment?: string | null;\n recalledCustomer?: Date | null;\n recalledCustomerBySupervisor?: Date | null;\n effectiveDate?: Date | null;\n idExercice?: number | null;\n endContractDate?: Date | null;\n refund?: boolean;\n monthlyPrice?: number | null;\n monthNumber?: number | null;\n monthOffer?: number | null;\n idReasonTermination?: number[] | null;\n idSociety?: number | null;\n idPrestation?: number | null;\n idCollaborateur?: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n societiesTerminations?: ISociety;\n exercice?: IExercice;\n user?: IUser;\n prestation?: IPrestation;\n}\n"]}
|
|
@@ -66,7 +66,7 @@ export declare const BalanceSheetDetails: readonly [{
|
|
|
66
66
|
readonly textColor: "red--text red--lighten-3";
|
|
67
67
|
readonly forRoles: readonly [readonly ["front_office", "manager"], readonly ["front_office_express", "manager"], readonly ["expert"]];
|
|
68
68
|
}, {
|
|
69
|
-
readonly text: "À
|
|
69
|
+
readonly text: "À superviser";
|
|
70
70
|
readonly value: BalanceSheetState.TO_SUPERVISE;
|
|
71
71
|
readonly color: "teal";
|
|
72
72
|
readonly textColor: "teal--text";
|
|
@@ -73,7 +73,7 @@ export const BalanceSheetDetails = [
|
|
|
73
73
|
forRoles: [['front_office', 'manager'], ['front_office_express', 'manager'], ['expert']],
|
|
74
74
|
},
|
|
75
75
|
{
|
|
76
|
-
text: 'À
|
|
76
|
+
text: 'À superviser',
|
|
77
77
|
value: BalanceSheetState.TO_SUPERVISE,
|
|
78
78
|
color: 'teal',
|
|
79
79
|
textColor: 'teal--text',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BalanceSheet.js","sourceRoot":"","sources":["../../../../ts/types/Enum/BalanceSheet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAE1C,MAAM,CAAN,IAAY,iBA+BX;AA/BD,WAAY,iBAAiB;IAC3B,2DAAS,CAAA;IACT,+EAAmB,CAAA;IACnB,6EAAkB,CAAA;IAClB,iFAAoB,CAAA;IACpB,2EAAiB,CAAA;IACjB,6EAAkB,CAAA;IAClB,yEAAgB,CAAA;IAChB,qFAAsB,CAAA;IACtB,yEAAgB,CAAA;IAChB,+DAAW,CAAA;IACX,oEAAc,CAAA;IACd,sEAAe,CAAA;IACf,8EAAmB,CAAA;IACnB,wGAAgC,CAAA;IAChC,8DAAW,CAAA;IACX,sFAAuB,CAAA;IACvB,4FAA0B,CAAA;IAC1B,oFAAsB,CAAA;IACtB,oFAAsB,CAAA;IACtB,sGAA+B,CAAA;IAC/B,gGAA4B,CAAA;IAC5B,4FAA0B,CAAA;IAC1B,8FAA2B,CAAA;IAC3B,gFAAoB,CAAA;IACpB,kGAA6B,CAAA;IAC7B,4FAA0B,CAAA;IAC1B,8FAA2B,CAAA;IAC3B,0GAAiC,CAAA;IACjC,sFAAuB,CAAA;IACvB,oFAAsB,CAAA;AACxB,CAAC,EA/BW,iBAAiB,KAAjB,iBAAiB,QA+B5B;AAED,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC;QACE,KAAK,EAAE,iBAAiB,CAAC,KAAK;Q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,EAAE,CAAC;QACR,IAAI,EAAE,SAAS;KAChB;IACD;QACE,IAAI,EAAE,iCAAiC;QACvC,QAAQ,EAAE,CAAC,MAAM,CAAC;QAClB,KAAK,EAAE,CAAC;QACR,IAAI,EAAE,SAAS;KAChB;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC;QACE,EAAE,EAAE,CAAC;QACL,KAAK,EAAE,SAAS;QAChB,QAAQ,EAAE,CAAC;QACX,SAAS,EAAE,KAAK;KACjB;IACD;QACE,EAAE,EAAE,CAAC;QACL,KAAK,EAAE,cAAc;QACrB,QAAQ,EAAE,KAAK;QACf,SAAS,EAAE,MAAM;KAClB;IACD;QACE,EAAE,EAAE,CAAC;QACL,KAAK,EAAE,eAAe;QACtB,QAAQ,EAAE,MAAM;QAChB,SAAS,EAAE,MAAM;KAClB;IACD;QACE,EAAE,EAAE,CAAC;QACL,KAAK,EAAE,UAAU;QACjB,QAAQ,EAAE,MAAM;QAChB,SAAS,EAAE,QAAQ;KACpB;CACO,CAAC","sourcesContent":["import { ThirdPartyType } from './ThirdPartyType';\nimport { MathematicalSign } from './Util';\n\nexport enum BalanceSheetState {\n TO_DO = 0,\n ACCEPTED_BY_SIE = 1,\n NOT_SUBJECT_TO = 2,\n SENDED_TO_CLIENT = 3,\n SENDED_TO_SIE = 4,\n WAITING_CLIENT = 5,\n TO_SUPERVISE = 6,\n ACCEPTED_BY_CLIENT = 7,\n IN_PRODUCING = 8,\n TO_SEND = 9,\n TO_REVISE = 10,\n TO_CORRECT = 11,\n REFUSED_BY_SIE = 12,\n SENDED_PROVISIONALLY_TO_SIE = 13,\n UNPAID = 14,\n INVOICING_ACCEPTED = 15,\n INVOICING_IN_PROGRESS = 16,\n INVOICING_REFUSED = 17,\n REFUSED_BY_CLIENT = 18,\n ACCEPTED_BY_CLIENT_DEFAULT = 19,\n ACCEPTED_BY_SIE_DEFAULT = 20,\n SENDED_TO_SIE_DEFAULT = 21,\n REFUSED_BY_SIE_DEFAULT = 22,\n FIX_IN_PROGRESS = 23,\n ACCEPTED_BY_SIE_IN_STATE = 24,\n SENDING_QUESTIONNAIRE = 25,\n COMPLETE_QUESTIONNAIRE = 26,\n PROCESSING_ITEMS_IN_PROGRESS = 27,\n ABANDONED_FORECAST = 28,\n ESTABLISH_REFUSED = 29,\n}\n\nexport const BalanceSheetDetails = [\n {\n value: BalanceSheetState.TO_DO,\n text: 'À faire',\n color: 'grey',\n textColor: 'grey--text',\n forRoles: [['front_office'], ['expert'], ['customer_success'], ['on_boarder'], ['termination'], ['litige'], ['facturation']],\n },\n {\n text: 'En cours de prod.',\n value: BalanceSheetState.IN_PRODUCING,\n alias: 'ENC',\n color: 'grey',\n textColor: 'grey--text ',\n forRoles: [['front_office'], ['expert']],\n },\n {\n text: 'Att. retour client',\n value: BalanceSheetState.WAITING_CLIENT,\n alias: 'ARC',\n color: 'cyan',\n textColor: 'cyan--text',\n forRoles: [['front_office'], ['expert']],\n },\n {\n text: 'À réviser',\n value: BalanceSheetState.TO_REVISE,\n color: 'purple lighten-2',\n textColor: 'purple--text',\n forRoles: [['front_office'], ['expert']],\n },\n {\n text: 'À revoir',\n value: BalanceSheetState.TO_CORRECT,\n icon: 'close',\n color: 'red lighten-2',\n textColor: 'red--text red--lighten-3',\n forRoles: [['front_office', 'manager'], ['front_office_express', 'manager'], ['expert']],\n },\n {\n text: 'À _admnviser',\n value: BalanceSheetState.TO_SUPERVISE,\n color: 'teal',\n textColor: 'teal--text',\n forRoles: [['front_office'], ['expert']],\n },\n {\n text: 'À envoyer au client',\n value: BalanceSheetState.TO_SEND,\n color: 'blue lighten-3',\n textColor: 'blue--text text--lighten-3',\n forRoles: [['expert'], ['facturation']],\n },\n {\n text: 'Envoyé au client',\n value: BalanceSheetState.SENDED_TO_CLIENT,\n color: 'blue',\n textColor: 'blue--text',\n forRoles: [['front_office'], ['expert']],\n },\n {\n text: 'Accepté par le client',\n value: BalanceSheetState.ACCEPTED_BY_CLIENT,\n color: 'blue darken-2',\n textColor: 'blue--text ',\n alias: 'APC',\n forRoles: [['front_office'], ['expert']],\n },\n {\n text: 'Refusé par le client',\n value: BalanceSheetState.REFUSED_BY_CLIENT,\n color: 'red darken-3',\n textColor: 'error--text text--darken-2',\n forRoles: [['front_office'], ['expert']],\n },\n {\n text: 'Envoyé au SIE',\n value: BalanceSheetState.SENDED_TO_SIE,\n color: 'blue darken-4',\n textColor: 'blue--text',\n forRoles: [['front_office'], ['expert']],\n },\n {\n value: BalanceSheetState.ACCEPTED_BY_SIE,\n text: 'Accepté au SIE',\n color: 'green darken-1',\n textColor: 'green--text',\n forRoles: [['front_office'], ['expert']],\n },\n {\n text: 'Refus SIE',\n value: BalanceSheetState.REFUSED_BY_SIE,\n color: 'red darken-3',\n textColor: 'green--text ',\n forRoles: [['front_office'], ['expert']],\n },\n {\n text: 'Envoi provisoire SIE',\n value: BalanceSheetState.SENDED_PROVISIONALLY_TO_SIE,\n color: 'green darken-4',\n textColor: 'green--text ',\n forRoles: [['front_office'], ['expert']],\n },\n {\n value: BalanceSheetState.NOT_SUBJECT_TO,\n text: 'N/A',\n color: 'grey lighten-2',\n textColor: 'grey--text',\n forRoles: [['customer_success', 'manager'], ['on_boarder', 'manager'], ['termination', 'manager'], ['litige', 'manager'], ['facturation', 'manager']],\n },\n {\n text: 'Impayé',\n value: BalanceSheetState.UNPAID,\n color: 'error darken-2',\n textColor: 'error--text text--darken-2',\n key: 'unpaid',\n forRoles: [['front_office', 'manager'], ['front_office_express', 'manager'], ['customer_success'], ['on_boarder'], ['termination'], ['litige'], ['facturation']],\n },\n {\n text: 'Facturation en cours',\n value: BalanceSheetState.INVOICING_IN_PROGRESS,\n color: 'blue lighten-3',\n textColor: 'blue--text text--lighten-3',\n forRoles: [['facturation']],\n },\n {\n text: 'Revalorisation Refusée',\n value: BalanceSheetState.INVOICING_REFUSED,\n color: 'error darken-2',\n textColor: 'error--text text--darken-2',\n forRoles: [['facturation']],\n },\n {\n text: 'Accepté client par défaut',\n value: BalanceSheetState.ACCEPTED_BY_CLIENT_DEFAULT,\n color: 'green darken-2',\n textColor: 'green--text',\n forRoles: [['front_office'], ['expert']],\n },\n {\n text: 'Accepté SIE par défaut',\n value: BalanceSheetState.ACCEPTED_BY_SIE_DEFAULT,\n color: 'green darken-2',\n colorText: 'green--text',\n forRoles: [['front_office'], ['expert']],\n },\n {\n text: 'Envoyé SIE par défaut',\n value: BalanceSheetState.SENDED_TO_SIE_DEFAULT,\n color: 'blue lighten-3',\n textColor: 'blue--text text--lighten-3',\n forRoles: [['front_office'], ['expert']],\n },\n {\n text: 'Refus SIE par défaut',\n value: BalanceSheetState.REFUSED_BY_SIE_DEFAULT,\n color: 'error darken-2',\n colorText: 'error--text text--darken-2',\n forRoles: [['front_office'], ['expert']],\n },\n {\n text: 'Correctif en cours',\n value: BalanceSheetState.FIX_IN_PROGRESS,\n color: 'blue darken-4',\n textColor: 'blue--text',\n forRoles: [['front_office'], ['expert']],\n },\n {\n text: 'Accepté SIE en l\\'état',\n value: BalanceSheetState.ACCEPTED_BY_SIE_IN_STATE,\n color: 'green darken-3',\n colorText: 'green--text',\n forRoles: [['front_office'], ['expert']],\n },\n {\n text: 'Refus d\\'établir',\n value: BalanceSheetState.ESTABLISH_REFUSED,\n color: 'orange darken-1',\n colorText: 'orange--text text--darken-1',\n forRoles: [['super_admin'], ['controle_interne']],\n },\n] as const;\n\nexport const ForecastBalanceSheetDetails = [\n {\n text: 'Envoi du questionnaire',\n value: BalanceSheetState.SENDING_QUESTIONNAIRE,\n color: 'green darken-3',\n colorText: 'green--text',\n forRoles: [['front_office'], ['expert']],\n },\n {\n text: 'Questionnaire complet',\n value: BalanceSheetState.COMPLETE_QUESTIONNAIRE,\n color: 'green darken-3',\n colorText: 'green--text',\n forRoles: [['front_office'], ['expert']],\n },\n {\n text: 'Traitement éléments en cours',\n value: BalanceSheetState.PROCESSING_ITEMS_IN_PROGRESS,\n color: 'green darken-3',\n colorText: 'green--text',\n forRoles: [['front_office'], ['expert']],\n },\n {\n text: 'Prévisionnel abandonné',\n value: BalanceSheetState.ABANDONED_FORECAST,\n color: 'green darken-3',\n colorText: 'green--text',\n forRoles: [['front_office'], ['expert']],\n },\n];\n\nexport type BalanceSheetType = 'active' | 'passive';\n\nexport type BalanceSheetField = {\n name: string;\n key?: string;\n fields?: BalanceSheetField[];\n\n total?: number;\n totalDeducted?: number;\n\n accounts?: string[];\n accountsDeducted?: string[]; // Liste des comptes pour la colonne \"Amortissements et provisions\"\n\n isCategory?: boolean; // Ne calcule pas le total, affiché en gras sur le PDF\n isSubcategory?: boolean; // Ne calcule pas de montant\n isTotal?: boolean; // Affiche le total, affiché comme une catégorie\n\n calculation?: boolean; // Doit être calculé avec calculationAdd & calculationSubtract\n calculationAdd?: string[]; // Tableau des keys à additionner pour obtenir le total\n\n type?: BalanceSheetType; // Permet de calculer par somme de compte, créditeur ou débiteur\n idThirdPartyTypeToAdd?: [ThirdPartyType, MathematicalSign] // Type de tiers à additionner, uniquement au crédit / débit / tous\n};\n\nexport type BalanceSheetList = BalanceSheetField[];\n\nexport const BALANCE_SHEET_LIST_ACTIVE: BalanceSheetList = [\n {\n name: 'Capital souscrit - non appelé',\n key: 'subscribedCapital',\n accounts: ['109'],\n isSubcategory: true,\n total: 0,\n totalDeducted: 0,\n },\n {\n name: 'Actif immobilisé',\n key: 'fixedAsset',\n total: 0,\n totalDeducted: 0,\n isCategory: true,\n fields: [\n {\n name: 'Immobilisations incorporelles',\n isSubcategory: true,\n fields: [\n {\n name: 'Frais d\\'établissement',\n accounts: ['201'],\n accountsDeducted: ['2801'],\n total: 0,\n totalDeducted: 0,\n },\n {\n name: 'Frais de recherche et de développement',\n accounts: ['203'],\n accountsDeducted: ['2803'],\n },\n {\n name: 'Concessions, brevets, licences, marques, procédés, logiciels, droits et valeurs similaires',\n accounts: ['205'],\n accountsDeducted: ['2805', '2905'],\n },\n {\n name: 'Fonds commercial',\n accounts: ['206', '207'],\n accountsDeducted: ['2806', '2807', '2906', '2907'],\n },\n {\n name: 'Autres',\n accounts: ['200', '208'],\n accountsDeducted: ['2808', '2908'],\n },\n {\n name: 'Immobilisations incorporelles en cours',\n accounts: ['232'],\n accountsDeducted: ['2932'],\n },\n {\n name: 'Avances et acomptes',\n accounts: ['237'],\n },\n ],\n },\n {\n name: 'Immobilisations corporelles',\n key: 'tangibleFixedAssets',\n isSubcategory: true,\n fields: [\n {\n name: 'Terrains',\n accounts: ['211', '212'],\n accountsDeducted: ['2811', '2812', '2911'],\n },\n {\n name: 'Constructions',\n accounts: ['213', '214'],\n accountsDeducted: ['2813', '2814'],\n },\n {\n name: 'Installations techniques, matériels, et outillage industriels',\n accounts: ['215'],\n accountsDeducted: ['2815'],\n },\n {\n name: 'Autres',\n accounts: ['218', '22'],\n accountsDeducted: ['2818', '282', '292'],\n },\n {\n name: 'Immobilisations corporelles en cours',\n accounts: ['231'],\n accountsDeducted: ['2931'],\n },\n {\n name: 'Avances et acomptes',\n accounts: ['238'],\n },\n ],\n },\n {\n name: 'Immobilisations financières',\n key: 'financialFixedAssets',\n isSubcategory: true,\n fields: [\n {\n name: 'Participations',\n accounts: ['261', '266'],\n accountsDeducted: ['2691', '2966'],\n },\n {\n name: 'Créances rattachées à des participations',\n accounts: ['267', '268'],\n accountsDeducted: ['2967', '2968'],\n },\n {\n name: 'Titres immobilisés de l\\'activité de portefeuille',\n accounts: ['273'],\n accountsDeducted: ['2973'],\n },\n {\n name: 'Autres titres immobilisés',\n accounts: ['271', '272'],\n accountsDeducted: ['2971', '2972'],\n },\n {\n name: 'Prêts',\n accounts: ['274'],\n accountsDeducted: ['2974'],\n },\n {\n name: 'Autres',\n accounts: ['236', '275', '276', '277'],\n accountsDeducted: ['2975', '2976'],\n },\n ],\n },\n ],\n },\n {\n name: 'Total (I)',\n key: 'total1',\n total: 0,\n totalDeducted: 0,\n calculation: true,\n calculationAdd: ['fixedAsset'],\n isTotal: true,\n },\n {\n name: 'Actif circulant',\n key: 'circulatingActive',\n total: 0,\n totalDeducted: 0,\n isCategory: true,\n fields: [\n {\n name: 'Stocks et en-cours',\n isSubcategory: true,\n fields: [\n {\n name: 'Matières premières et autres approvisionnements',\n accounts: ['31', '32'],\n accountsDeducted: ['391', '392'],\n },\n {\n name: 'En cours de production (biens et services)',\n accounts: ['33', '34'],\n accountsDeducted: ['393', '394'],\n },\n {\n name: 'Produits intermédiaires et finis',\n accounts: ['35', '36'],\n accountsDeducted: ['395', '396'],\n },\n {\n name: 'Marchandises',\n accounts: ['37'],\n accountsDeducted: ['397'],\n },\n ],\n },\n {\n name: 'Avances et acomptes versés sur commandes',\n key: 'advancesAndDeposits',\n accounts: ['4091'],\n },\n {\n name: 'Créances',\n key: 'financialFixedAssets',\n isSubcategory: true,\n fields: [\n {\n // créance client = lorsque les clients te doivent de l'argent = somme débit > crédit\n name: 'Créances clients et comptes rattachés',\n accounts: ['411', '413', '416', '418'],\n idThirdPartyTypeToAdd: [ThirdPartyType.CUSTOMER, MathematicalSign.PLUS],\n accountsDeducted: ['491'],\n type: 'active',\n },\n {\n // autres = lorsque les fournisseurs te doivent de l'argent = somme débit > crédit\n name: 'Autres',\n accounts: ['401', '408', '4096', '4097', '4098', '42', '43', '44', '451', '452', '453', '454', '455', '4561', '4563', '4564', '4565', '4566', '4567', '4568', '4569', '457', '458', '459', '46', '471', '472', '481'],\n idThirdPartyTypeToAdd: [ThirdPartyType.PROVIDER, MathematicalSign.PLUS],\n accountsDeducted: ['495', '496'], // Actif : On compte dedans que ceux qui sont positifs que 4\n type: 'active',\n },\n {\n name: 'Capital souscrit - appelé, non versé',\n accounts: ['4562'],\n },\n ],\n },\n {\n name: 'Valeurs mobilières de placement',\n key: 'securities',\n isSubcategory: true,\n fields: [\n {\n name: 'Actions propres',\n accounts: ['502'],\n accountsDeducted: ['5902'],\n },\n {\n name: 'Autres titres',\n accounts: ['503', '504', '505', '506', '507', '508'],\n accountsDeducted: ['5903', '5904', '5905', '5906', '5907', '5908'],\n },\n ],\n },\n {\n name: 'Instruments de trésorerie',\n key: 'treasuryInstruments',\n accounts: ['52'],\n type: 'active',\n },\n {\n name: 'Disponibilités',\n key: 'availabilities',\n accounts: ['511', '512', '514', '515', '516', '517', '5181', '5187', '53', '54', '58'],\n type: 'active',\n },\n {\n name: 'Charges constatées d\\'avance',\n key: 'establishedInAdvance',\n accounts: ['486'],\n },\n ],\n },\n {\n name: 'Total (II)',\n key: 'total2',\n total: 0,\n totalDeducted: 0,\n calculation: true,\n isTotal: true,\n calculationAdd: ['circulatingActive'],\n },\n {\n name: 'Charges à répartir sur plusieurs exercices (III)',\n key: 'total3',\n accounts: ['481'],\n isTotal: true,\n total: 0,\n totalDeducted: 0,\n },\n {\n name: 'Primes de remboursement des emprunts (IV)',\n key: 'total4',\n accounts: ['169'],\n isTotal: true,\n total: 0,\n totalDeducted: 0,\n },\n {\n name: 'Ecarts de conversion Actif (V)',\n key: 'total5',\n total: 0,\n totalDeducted: 0,\n accounts: ['476'],\n isTotal: true,\n },\n {\n name: 'Total général (I+II+III+IV+V)',\n key: 'total6',\n total: 0,\n totalDeducted: 0,\n calculation: true,\n calculationAdd: ['fixedAsset', 'subscribedCapital', 'circulatingActive', 'total3', 'total4', 'total3', 'total4', 'total5'],\n isTotal: true,\n },\n];\n\nexport const BALANCE_SHEET_LIST_PASSIVE: BalanceSheetList = [\n {\n name: 'Capital (dont versé...)',\n key: 'subscribedCapital',\n accounts: ['101', '108'],\n isSubcategory: true,\n total: 0,\n },\n {\n name: 'Primes d\\'émission, de fusion, d\\'apport',\n key: 'issuePremiums',\n accounts: ['104'],\n isSubcategory: true,\n total: 0,\n },\n {\n name: 'Ecart de réévaluation',\n key: 'revaluationGap',\n accounts: ['105'],\n isSubcategory: true,\n total: 0,\n },\n {\n name: 'Ecart d\\'équivalence',\n key: 'equivalenceGap',\n accounts: ['107'],\n isSubcategory: true,\n total: 0,\n },\n {\n name: 'Réserves',\n key: 'reservations',\n total: 0,\n isCategory: true,\n fields: [\n {\n name: 'Réserve légale',\n accounts: ['1061'],\n total: 0,\n totalDeducted: 0,\n },\n {\n name: 'Réserves statutaires ou contractuelles',\n accounts: ['1063'],\n },\n {\n name: 'Réserves réglementées',\n accounts: ['1062', '1064'],\n },\n {\n name: 'Autres',\n accounts: ['1068'],\n },\n ],\n },\n {\n name: 'Report à nouveau',\n key: 'postponement',\n accounts: ['11', '12'],\n isSubcategory: true,\n total: 0,\n },\n {\n name: 'Résultat de l\\'exercice (bénéfice ou perte)',\n key: 'resultExercice',\n accounts: ['12'], // comptes 6 - 7\n isSubcategory: true,\n total: 0,\n },\n {\n name: 'Subventions d\\'investissement',\n key: 'subsidies',\n accounts: ['13'],\n isSubcategory: true,\n total: 0,\n },\n {\n name: 'Provisions réglementées',\n key: 'subsidiesRegulated',\n accounts: ['14'],\n isSubcategory: true,\n total: 0,\n },\n {\n name: 'Total (I)',\n key: 'total1',\n calculation: true,\n calculationAdd: ['subscribedCapital', 'issuePremiums', 'equivalenceGap', 'revaluationGap', 'reservations', 'postponement', 'resultExercice', 'subsidies', 'subsidiesRegulated'],\n isTotal: true,\n total: 0,\n },\n {\n name: 'Provisions pour risques et charges',\n key: 'provisions',\n isCategory: true,\n fields: [\n {\n name: 'Provisions pour risques',\n accounts: ['151'],\n isSubcategory: true,\n total: 0,\n },\n {\n name: 'Provisions pour charges',\n accounts: ['153', '155', '156', '157', '158'],\n isSubcategory: true,\n total: 0,\n },\n ],\n },\n {\n name: 'Total (II)',\n key: 'total2',\n total: 0,\n calculation: true,\n calculationAdd: ['provisions'],\n isTotal: true,\n },\n {\n name: 'Dettes',\n isCategory: true,\n key: 'debts',\n fields: [\n {\n name: 'Emprunts obligataires convertibles',\n key: 'convertibleBonds',\n accounts: ['161', '16881'],\n isSubcategory: true,\n total: 0,\n },\n {\n name: 'Autres emprunts obligataires',\n key: 'convertibleBonds',\n accounts: ['163', '16883'],\n isSubcategory: true,\n total: 0,\n },\n {\n name: 'Emprunts et dettes auprès établissements de crédits (1)',\n key: 'loansCredits',\n accounts: ['164', '16884', '512', '514', '517', '5186', '519', '53', '58'],\n isSubcategory: true,\n total: 0,\n type: 'passive',\n },\n {\n name: 'Emprunts et dettes financières diverses (2)',\n key: 'loans',\n // accounts: ['165', '166', '167', '168', '16885', '16886', '16887', '16888', '17', '426', '451', '455', '4563', '4564', '4567', '457', '458'],\n accounts: ['165', '166', '167', '168', '17', '426', '451', '455', '4563', '4564', '4567', '457', '458'],\n isSubcategory: true,\n total: 0,\n type: 'passive',\n },\n {\n name: 'Avances et acomptes reçues sur commandes en cours',\n key: 'advancesAndDeposits',\n accounts: ['4191'],\n isSubcategory: true,\n total: 0,\n type: 'passive',\n },\n {\n name: 'Dettes Fournisseurs et Comptes rattachés',\n key: 'payables',\n accounts: ['401', '403', '4081', '4083', '4088'],\n // PASSIF dette fournisseurs = lorsque l'entreprise doit de l'argent au fournisseurs = somme crédit > débit\n idThirdPartyTypeToAdd: [ThirdPartyType.PROVIDER, MathematicalSign.LESS],\n isSubcategory: true,\n total: 0,\n type: 'passive',\n },\n {\n name: 'Dettes fiscales et sociales',\n key: 'taxDebts',\n accounts: ['42', '43', '44'],\n isSubcategory: true,\n total: 0,\n type: 'passive',\n },\n {\n name: 'Dettes sur immobilisations et Comptes rattachés',\n key: 'immobilizationDebts',\n accounts: ['269', '279', '404', '405', '4084'],\n isSubcategory: true,\n total: 0,\n type: 'passive',\n },\n {\n name: 'Autres dettes',\n key: 'OtherDebts',\n accounts: ['411', '418', '4196', '4197', '4198', '464', '467', '4686', '471', '472', '478', '509'],\n // PASSIF Autres = lorsque l'entreprise doit de l'argent au client = somme débit > crédit (modifié)\n idThirdPartyTypeToAdd: [ThirdPartyType.CUSTOMER, MathematicalSign.LESS],\n isSubcategory: true,\n total: 0,\n type: 'passive',\n },\n {\n name: 'Instruments de trésorerie',\n key: 'treasuryInstruments',\n accounts: ['52'],\n isSubcategory: true,\n total: 0,\n type: 'passive',\n },\n {\n name: 'Produits constatés d\\'avance',\n key: 'advanceProducts',\n accounts: ['487', '489'],\n isSubcategory: true,\n total: 0,\n },\n ],\n },\n {\n name: 'Total (III)',\n key: 'total3',\n total: 0,\n calculation: true,\n calculationAdd: ['debts'],\n isTotal: true,\n },\n {\n name: 'Ecarts de conversion passif (IV)',\n key: 'total4',\n total: 0,\n accounts: ['477'],\n isTotal: true,\n },\n {\n name: 'Total général (I+II+III+IV)',\n key: 'total5',\n total: 0,\n calculation: true,\n calculationAdd: ['subscribedCapital', 'issuePremiums', 'equivalenceGap', 'revaluationGap', 'reservations', 'postponement', 'resultExercice', 'subsidies', 'subsidiesRegulated', 'provisions', 'debts', 'total4'],\n isTotal: true,\n },\n];\n\nexport const BALANCE_SHEET_LIST_PASSIVE_DETAILS: BalanceSheetField[] = [\n {\n name: '(1) Dont concours bancaires courants et soldes créditeurs de banques',\n accounts: ['51'],\n total: 0,\n type: 'passive',\n },\n {\n name: '(2) Dont emprunts participatifs',\n accounts: ['1675'],\n total: 0,\n type: 'passive',\n },\n];\n\nexport const balanceSheetTotalRanges = [\n {\n id: 1,\n label: '< 80k €',\n lowValue: 0,\n highValue: 80000,\n },\n {\n id: 2,\n label: '81k - 160k €',\n lowValue: 80000,\n highValue: 160000,\n },\n {\n id: 3,\n label: '161k - 250k €',\n lowValue: 160000,\n highValue: 250000,\n },\n {\n id: 4,\n label: '> 251k €',\n lowValue: 250000,\n highValue: 10000000,\n },\n] as const;"]}
|
|
1
|
+
{"version":3,"file":"BalanceSheet.js","sourceRoot":"","sources":["../../../../ts/types/Enum/BalanceSheet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAE1C,MAAM,CAAN,IAAY,iBA+BX;AA/BD,WAAY,iBAAiB;IAC3B,2DAAS,CAAA;IACT,+EAAmB,CAAA;IACnB,6EAAkB,CAAA;IAClB,iFAAoB,CAAA;IACpB,2EAAiB,CAAA;IACjB,6EAAkB,CAAA;IAClB,yEA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AAE,QAAQ;KACpB;CACO,CAAC","sourcesContent":["import { ThirdPartyType } from './ThirdPartyType';\nimport { MathematicalSign } from './Util';\n\nexport enum BalanceSheetState {\n TO_DO = 0,\n ACCEPTED_BY_SIE = 1,\n NOT_SUBJECT_TO = 2,\n SENDED_TO_CLIENT = 3,\n SENDED_TO_SIE = 4,\n WAITING_CLIENT = 5,\n TO_SUPERVISE = 6,\n ACCEPTED_BY_CLIENT = 7,\n IN_PRODUCING = 8,\n TO_SEND = 9,\n TO_REVISE = 10,\n TO_CORRECT = 11,\n REFUSED_BY_SIE = 12,\n SENDED_PROVISIONALLY_TO_SIE = 13,\n UNPAID = 14,\n INVOICING_ACCEPTED = 15,\n INVOICING_IN_PROGRESS = 16,\n INVOICING_REFUSED = 17,\n REFUSED_BY_CLIENT = 18,\n ACCEPTED_BY_CLIENT_DEFAULT = 19,\n ACCEPTED_BY_SIE_DEFAULT = 20,\n SENDED_TO_SIE_DEFAULT = 21,\n REFUSED_BY_SIE_DEFAULT = 22,\n FIX_IN_PROGRESS = 23,\n ACCEPTED_BY_SIE_IN_STATE = 24,\n SENDING_QUESTIONNAIRE = 25,\n COMPLETE_QUESTIONNAIRE = 26,\n PROCESSING_ITEMS_IN_PROGRESS = 27,\n ABANDONED_FORECAST = 28,\n ESTABLISH_REFUSED = 29,\n}\n\nexport const BalanceSheetDetails = [\n {\n value: BalanceSheetState.TO_DO,\n text: 'À faire',\n color: 'grey',\n textColor: 'grey--text',\n forRoles: [['front_office'], ['expert'], ['customer_success'], ['on_boarder'], ['termination'], ['litige'], ['facturation']],\n },\n {\n text: 'En cours de prod.',\n value: BalanceSheetState.IN_PRODUCING,\n alias: 'ENC',\n color: 'grey',\n textColor: 'grey--text ',\n forRoles: [['front_office'], ['expert']],\n },\n {\n text: 'Att. retour client',\n value: BalanceSheetState.WAITING_CLIENT,\n alias: 'ARC',\n color: 'cyan',\n textColor: 'cyan--text',\n forRoles: [['front_office'], ['expert']],\n },\n {\n text: 'À réviser',\n value: BalanceSheetState.TO_REVISE,\n color: 'purple lighten-2',\n textColor: 'purple--text',\n forRoles: [['front_office'], ['expert']],\n },\n {\n text: 'À revoir',\n value: BalanceSheetState.TO_CORRECT,\n icon: 'close',\n color: 'red lighten-2',\n textColor: 'red--text red--lighten-3',\n forRoles: [['front_office', 'manager'], ['front_office_express', 'manager'], ['expert']],\n },\n {\n text: 'À superviser',\n value: BalanceSheetState.TO_SUPERVISE,\n color: 'teal',\n textColor: 'teal--text',\n forRoles: [['front_office'], ['expert']],\n },\n {\n text: 'À envoyer au client',\n value: BalanceSheetState.TO_SEND,\n color: 'blue lighten-3',\n textColor: 'blue--text text--lighten-3',\n forRoles: [['expert'], ['facturation']],\n },\n {\n text: 'Envoyé au client',\n value: BalanceSheetState.SENDED_TO_CLIENT,\n color: 'blue',\n textColor: 'blue--text',\n forRoles: [['front_office'], ['expert']],\n },\n {\n text: 'Accepté par le client',\n value: BalanceSheetState.ACCEPTED_BY_CLIENT,\n color: 'blue darken-2',\n textColor: 'blue--text ',\n alias: 'APC',\n forRoles: [['front_office'], ['expert']],\n },\n {\n text: 'Refusé par le client',\n value: BalanceSheetState.REFUSED_BY_CLIENT,\n color: 'red darken-3',\n textColor: 'error--text text--darken-2',\n forRoles: [['front_office'], ['expert']],\n },\n {\n text: 'Envoyé au SIE',\n value: BalanceSheetState.SENDED_TO_SIE,\n color: 'blue darken-4',\n textColor: 'blue--text',\n forRoles: [['front_office'], ['expert']],\n },\n {\n value: BalanceSheetState.ACCEPTED_BY_SIE,\n text: 'Accepté au SIE',\n color: 'green darken-1',\n textColor: 'green--text',\n forRoles: [['front_office'], ['expert']],\n },\n {\n text: 'Refus SIE',\n value: BalanceSheetState.REFUSED_BY_SIE,\n color: 'red darken-3',\n textColor: 'green--text ',\n forRoles: [['front_office'], ['expert']],\n },\n {\n text: 'Envoi provisoire SIE',\n value: BalanceSheetState.SENDED_PROVISIONALLY_TO_SIE,\n color: 'green darken-4',\n textColor: 'green--text ',\n forRoles: [['front_office'], ['expert']],\n },\n {\n value: BalanceSheetState.NOT_SUBJECT_TO,\n text: 'N/A',\n color: 'grey lighten-2',\n textColor: 'grey--text',\n forRoles: [['customer_success', 'manager'], ['on_boarder', 'manager'], ['termination', 'manager'], ['litige', 'manager'], ['facturation', 'manager']],\n },\n {\n text: 'Impayé',\n value: BalanceSheetState.UNPAID,\n color: 'error darken-2',\n textColor: 'error--text text--darken-2',\n key: 'unpaid',\n forRoles: [['front_office', 'manager'], ['front_office_express', 'manager'], ['customer_success'], ['on_boarder'], ['termination'], ['litige'], ['facturation']],\n },\n {\n text: 'Facturation en cours',\n value: BalanceSheetState.INVOICING_IN_PROGRESS,\n color: 'blue lighten-3',\n textColor: 'blue--text text--lighten-3',\n forRoles: [['facturation']],\n },\n {\n text: 'Revalorisation Refusée',\n value: BalanceSheetState.INVOICING_REFUSED,\n color: 'error darken-2',\n textColor: 'error--text text--darken-2',\n forRoles: [['facturation']],\n },\n {\n text: 'Accepté client par défaut',\n value: BalanceSheetState.ACCEPTED_BY_CLIENT_DEFAULT,\n color: 'green darken-2',\n textColor: 'green--text',\n forRoles: [['front_office'], ['expert']],\n },\n {\n text: 'Accepté SIE par défaut',\n value: BalanceSheetState.ACCEPTED_BY_SIE_DEFAULT,\n color: 'green darken-2',\n colorText: 'green--text',\n forRoles: [['front_office'], ['expert']],\n },\n {\n text: 'Envoyé SIE par défaut',\n value: BalanceSheetState.SENDED_TO_SIE_DEFAULT,\n color: 'blue lighten-3',\n textColor: 'blue--text text--lighten-3',\n forRoles: [['front_office'], ['expert']],\n },\n {\n text: 'Refus SIE par défaut',\n value: BalanceSheetState.REFUSED_BY_SIE_DEFAULT,\n color: 'error darken-2',\n colorText: 'error--text text--darken-2',\n forRoles: [['front_office'], ['expert']],\n },\n {\n text: 'Correctif en cours',\n value: BalanceSheetState.FIX_IN_PROGRESS,\n color: 'blue darken-4',\n textColor: 'blue--text',\n forRoles: [['front_office'], ['expert']],\n },\n {\n text: 'Accepté SIE en l\\'état',\n value: BalanceSheetState.ACCEPTED_BY_SIE_IN_STATE,\n color: 'green darken-3',\n colorText: 'green--text',\n forRoles: [['front_office'], ['expert']],\n },\n {\n text: 'Refus d\\'établir',\n value: BalanceSheetState.ESTABLISH_REFUSED,\n color: 'orange darken-1',\n colorText: 'orange--text text--darken-1',\n forRoles: [['super_admin'], ['controle_interne']],\n },\n] as const;\n\nexport const ForecastBalanceSheetDetails = [\n {\n text: 'Envoi du questionnaire',\n value: BalanceSheetState.SENDING_QUESTIONNAIRE,\n color: 'green darken-3',\n colorText: 'green--text',\n forRoles: [['front_office'], ['expert']],\n },\n {\n text: 'Questionnaire complet',\n value: BalanceSheetState.COMPLETE_QUESTIONNAIRE,\n color: 'green darken-3',\n colorText: 'green--text',\n forRoles: [['front_office'], ['expert']],\n },\n {\n text: 'Traitement éléments en cours',\n value: BalanceSheetState.PROCESSING_ITEMS_IN_PROGRESS,\n color: 'green darken-3',\n colorText: 'green--text',\n forRoles: [['front_office'], ['expert']],\n },\n {\n text: 'Prévisionnel abandonné',\n value: BalanceSheetState.ABANDONED_FORECAST,\n color: 'green darken-3',\n colorText: 'green--text',\n forRoles: [['front_office'], ['expert']],\n },\n];\n\nexport type BalanceSheetType = 'active' | 'passive';\n\nexport type BalanceSheetField = {\n name: string;\n key?: string;\n fields?: BalanceSheetField[];\n\n total?: number;\n totalDeducted?: number;\n\n accounts?: string[];\n accountsDeducted?: string[]; // Liste des comptes pour la colonne \"Amortissements et provisions\"\n\n isCategory?: boolean; // Ne calcule pas le total, affiché en gras sur le PDF\n isSubcategory?: boolean; // Ne calcule pas de montant\n isTotal?: boolean; // Affiche le total, affiché comme une catégorie\n\n calculation?: boolean; // Doit être calculé avec calculationAdd & calculationSubtract\n calculationAdd?: string[]; // Tableau des keys à additionner pour obtenir le total\n\n type?: BalanceSheetType; // Permet de calculer par somme de compte, créditeur ou débiteur\n idThirdPartyTypeToAdd?: [ThirdPartyType, MathematicalSign] // Type de tiers à additionner, uniquement au crédit / débit / tous\n};\n\nexport type BalanceSheetList = BalanceSheetField[];\n\nexport const BALANCE_SHEET_LIST_ACTIVE: BalanceSheetList = [\n {\n name: 'Capital souscrit - non appelé',\n key: 'subscribedCapital',\n accounts: ['109'],\n isSubcategory: true,\n total: 0,\n totalDeducted: 0,\n },\n {\n name: 'Actif immobilisé',\n key: 'fixedAsset',\n total: 0,\n totalDeducted: 0,\n isCategory: true,\n fields: [\n {\n name: 'Immobilisations incorporelles',\n isSubcategory: true,\n fields: [\n {\n name: 'Frais d\\'établissement',\n accounts: ['201'],\n accountsDeducted: ['2801'],\n total: 0,\n totalDeducted: 0,\n },\n {\n name: 'Frais de recherche et de développement',\n accounts: ['203'],\n accountsDeducted: ['2803'],\n },\n {\n name: 'Concessions, brevets, licences, marques, procédés, logiciels, droits et valeurs similaires',\n accounts: ['205'],\n accountsDeducted: ['2805', '2905'],\n },\n {\n name: 'Fonds commercial',\n accounts: ['206', '207'],\n accountsDeducted: ['2806', '2807', '2906', '2907'],\n },\n {\n name: 'Autres',\n accounts: ['200', '208'],\n accountsDeducted: ['2808', '2908'],\n },\n {\n name: 'Immobilisations incorporelles en cours',\n accounts: ['232'],\n accountsDeducted: ['2932'],\n },\n {\n name: 'Avances et acomptes',\n accounts: ['237'],\n },\n ],\n },\n {\n name: 'Immobilisations corporelles',\n key: 'tangibleFixedAssets',\n isSubcategory: true,\n fields: [\n {\n name: 'Terrains',\n accounts: ['211', '212'],\n accountsDeducted: ['2811', '2812', '2911'],\n },\n {\n name: 'Constructions',\n accounts: ['213', '214'],\n accountsDeducted: ['2813', '2814'],\n },\n {\n name: 'Installations techniques, matériels, et outillage industriels',\n accounts: ['215'],\n accountsDeducted: ['2815'],\n },\n {\n name: 'Autres',\n accounts: ['218', '22'],\n accountsDeducted: ['2818', '282', '292'],\n },\n {\n name: 'Immobilisations corporelles en cours',\n accounts: ['231'],\n accountsDeducted: ['2931'],\n },\n {\n name: 'Avances et acomptes',\n accounts: ['238'],\n },\n ],\n },\n {\n name: 'Immobilisations financières',\n key: 'financialFixedAssets',\n isSubcategory: true,\n fields: [\n {\n name: 'Participations',\n accounts: ['261', '266'],\n accountsDeducted: ['2691', '2966'],\n },\n {\n name: 'Créances rattachées à des participations',\n accounts: ['267', '268'],\n accountsDeducted: ['2967', '2968'],\n },\n {\n name: 'Titres immobilisés de l\\'activité de portefeuille',\n accounts: ['273'],\n accountsDeducted: ['2973'],\n },\n {\n name: 'Autres titres immobilisés',\n accounts: ['271', '272'],\n accountsDeducted: ['2971', '2972'],\n },\n {\n name: 'Prêts',\n accounts: ['274'],\n accountsDeducted: ['2974'],\n },\n {\n name: 'Autres',\n accounts: ['236', '275', '276', '277'],\n accountsDeducted: ['2975', '2976'],\n },\n ],\n },\n ],\n },\n {\n name: 'Total (I)',\n key: 'total1',\n total: 0,\n totalDeducted: 0,\n calculation: true,\n calculationAdd: ['fixedAsset'],\n isTotal: true,\n },\n {\n name: 'Actif circulant',\n key: 'circulatingActive',\n total: 0,\n totalDeducted: 0,\n isCategory: true,\n fields: [\n {\n name: 'Stocks et en-cours',\n isSubcategory: true,\n fields: [\n {\n name: 'Matières premières et autres approvisionnements',\n accounts: ['31', '32'],\n accountsDeducted: ['391', '392'],\n },\n {\n name: 'En cours de production (biens et services)',\n accounts: ['33', '34'],\n accountsDeducted: ['393', '394'],\n },\n {\n name: 'Produits intermédiaires et finis',\n accounts: ['35', '36'],\n accountsDeducted: ['395', '396'],\n },\n {\n name: 'Marchandises',\n accounts: ['37'],\n accountsDeducted: ['397'],\n },\n ],\n },\n {\n name: 'Avances et acomptes versés sur commandes',\n key: 'advancesAndDeposits',\n accounts: ['4091'],\n },\n {\n name: 'Créances',\n key: 'financialFixedAssets',\n isSubcategory: true,\n fields: [\n {\n // créance client = lorsque les clients te doivent de l'argent = somme débit > crédit\n name: 'Créances clients et comptes rattachés',\n accounts: ['411', '413', '416', '418'],\n idThirdPartyTypeToAdd: [ThirdPartyType.CUSTOMER, MathematicalSign.PLUS],\n accountsDeducted: ['491'],\n type: 'active',\n },\n {\n // autres = lorsque les fournisseurs te doivent de l'argent = somme débit > crédit\n name: 'Autres',\n accounts: ['401', '408', '4096', '4097', '4098', '42', '43', '44', '451', '452', '453', '454', '455', '4561', '4563', '4564', '4565', '4566', '4567', '4568', '4569', '457', '458', '459', '46', '471', '472', '481'],\n idThirdPartyTypeToAdd: [ThirdPartyType.PROVIDER, MathematicalSign.PLUS],\n accountsDeducted: ['495', '496'], // Actif : On compte dedans que ceux qui sont positifs que 4\n type: 'active',\n },\n {\n name: 'Capital souscrit - appelé, non versé',\n accounts: ['4562'],\n },\n ],\n },\n {\n name: 'Valeurs mobilières de placement',\n key: 'securities',\n isSubcategory: true,\n fields: [\n {\n name: 'Actions propres',\n accounts: ['502'],\n accountsDeducted: ['5902'],\n },\n {\n name: 'Autres titres',\n accounts: ['503', '504', '505', '506', '507', '508'],\n accountsDeducted: ['5903', '5904', '5905', '5906', '5907', '5908'],\n },\n ],\n },\n {\n name: 'Instruments de trésorerie',\n key: 'treasuryInstruments',\n accounts: ['52'],\n type: 'active',\n },\n {\n name: 'Disponibilités',\n key: 'availabilities',\n accounts: ['511', '512', '514', '515', '516', '517', '5181', '5187', '53', '54', '58'],\n type: 'active',\n },\n {\n name: 'Charges constatées d\\'avance',\n key: 'establishedInAdvance',\n accounts: ['486'],\n },\n ],\n },\n {\n name: 'Total (II)',\n key: 'total2',\n total: 0,\n totalDeducted: 0,\n calculation: true,\n isTotal: true,\n calculationAdd: ['circulatingActive'],\n },\n {\n name: 'Charges à répartir sur plusieurs exercices (III)',\n key: 'total3',\n accounts: ['481'],\n isTotal: true,\n total: 0,\n totalDeducted: 0,\n },\n {\n name: 'Primes de remboursement des emprunts (IV)',\n key: 'total4',\n accounts: ['169'],\n isTotal: true,\n total: 0,\n totalDeducted: 0,\n },\n {\n name: 'Ecarts de conversion Actif (V)',\n key: 'total5',\n total: 0,\n totalDeducted: 0,\n accounts: ['476'],\n isTotal: true,\n },\n {\n name: 'Total général (I+II+III+IV+V)',\n key: 'total6',\n total: 0,\n totalDeducted: 0,\n calculation: true,\n calculationAdd: ['fixedAsset', 'subscribedCapital', 'circulatingActive', 'total3', 'total4', 'total3', 'total4', 'total5'],\n isTotal: true,\n },\n];\n\nexport const BALANCE_SHEET_LIST_PASSIVE: BalanceSheetList = [\n {\n name: 'Capital (dont versé...)',\n key: 'subscribedCapital',\n accounts: ['101', '108'],\n isSubcategory: true,\n total: 0,\n },\n {\n name: 'Primes d\\'émission, de fusion, d\\'apport',\n key: 'issuePremiums',\n accounts: ['104'],\n isSubcategory: true,\n total: 0,\n },\n {\n name: 'Ecart de réévaluation',\n key: 'revaluationGap',\n accounts: ['105'],\n isSubcategory: true,\n total: 0,\n },\n {\n name: 'Ecart d\\'équivalence',\n key: 'equivalenceGap',\n accounts: ['107'],\n isSubcategory: true,\n total: 0,\n },\n {\n name: 'Réserves',\n key: 'reservations',\n total: 0,\n isCategory: true,\n fields: [\n {\n name: 'Réserve légale',\n accounts: ['1061'],\n total: 0,\n totalDeducted: 0,\n },\n {\n name: 'Réserves statutaires ou contractuelles',\n accounts: ['1063'],\n },\n {\n name: 'Réserves réglementées',\n accounts: ['1062', '1064'],\n },\n {\n name: 'Autres',\n accounts: ['1068'],\n },\n ],\n },\n {\n name: 'Report à nouveau',\n key: 'postponement',\n accounts: ['11', '12'],\n isSubcategory: true,\n total: 0,\n },\n {\n name: 'Résultat de l\\'exercice (bénéfice ou perte)',\n key: 'resultExercice',\n accounts: ['12'], // comptes 6 - 7\n isSubcategory: true,\n total: 0,\n },\n {\n name: 'Subventions d\\'investissement',\n key: 'subsidies',\n accounts: ['13'],\n isSubcategory: true,\n total: 0,\n },\n {\n name: 'Provisions réglementées',\n key: 'subsidiesRegulated',\n accounts: ['14'],\n isSubcategory: true,\n total: 0,\n },\n {\n name: 'Total (I)',\n key: 'total1',\n calculation: true,\n calculationAdd: ['subscribedCapital', 'issuePremiums', 'equivalenceGap', 'revaluationGap', 'reservations', 'postponement', 'resultExercice', 'subsidies', 'subsidiesRegulated'],\n isTotal: true,\n total: 0,\n },\n {\n name: 'Provisions pour risques et charges',\n key: 'provisions',\n isCategory: true,\n fields: [\n {\n name: 'Provisions pour risques',\n accounts: ['151'],\n isSubcategory: true,\n total: 0,\n },\n {\n name: 'Provisions pour charges',\n accounts: ['153', '155', '156', '157', '158'],\n isSubcategory: true,\n total: 0,\n },\n ],\n },\n {\n name: 'Total (II)',\n key: 'total2',\n total: 0,\n calculation: true,\n calculationAdd: ['provisions'],\n isTotal: true,\n },\n {\n name: 'Dettes',\n isCategory: true,\n key: 'debts',\n fields: [\n {\n name: 'Emprunts obligataires convertibles',\n key: 'convertibleBonds',\n accounts: ['161', '16881'],\n isSubcategory: true,\n total: 0,\n },\n {\n name: 'Autres emprunts obligataires',\n key: 'convertibleBonds',\n accounts: ['163', '16883'],\n isSubcategory: true,\n total: 0,\n },\n {\n name: 'Emprunts et dettes auprès établissements de crédits (1)',\n key: 'loansCredits',\n accounts: ['164', '16884', '512', '514', '517', '5186', '519', '53', '58'],\n isSubcategory: true,\n total: 0,\n type: 'passive',\n },\n {\n name: 'Emprunts et dettes financières diverses (2)',\n key: 'loans',\n // accounts: ['165', '166', '167', '168', '16885', '16886', '16887', '16888', '17', '426', '451', '455', '4563', '4564', '4567', '457', '458'],\n accounts: ['165', '166', '167', '168', '17', '426', '451', '455', '4563', '4564', '4567', '457', '458'],\n isSubcategory: true,\n total: 0,\n type: 'passive',\n },\n {\n name: 'Avances et acomptes reçues sur commandes en cours',\n key: 'advancesAndDeposits',\n accounts: ['4191'],\n isSubcategory: true,\n total: 0,\n type: 'passive',\n },\n {\n name: 'Dettes Fournisseurs et Comptes rattachés',\n key: 'payables',\n accounts: ['401', '403', '4081', '4083', '4088'],\n // PASSIF dette fournisseurs = lorsque l'entreprise doit de l'argent au fournisseurs = somme crédit > débit\n idThirdPartyTypeToAdd: [ThirdPartyType.PROVIDER, MathematicalSign.LESS],\n isSubcategory: true,\n total: 0,\n type: 'passive',\n },\n {\n name: 'Dettes fiscales et sociales',\n key: 'taxDebts',\n accounts: ['42', '43', '44'],\n isSubcategory: true,\n total: 0,\n type: 'passive',\n },\n {\n name: 'Dettes sur immobilisations et Comptes rattachés',\n key: 'immobilizationDebts',\n accounts: ['269', '279', '404', '405', '4084'],\n isSubcategory: true,\n total: 0,\n type: 'passive',\n },\n {\n name: 'Autres dettes',\n key: 'OtherDebts',\n accounts: ['411', '418', '4196', '4197', '4198', '464', '467', '4686', '471', '472', '478', '509'],\n // PASSIF Autres = lorsque l'entreprise doit de l'argent au client = somme débit > crédit (modifié)\n idThirdPartyTypeToAdd: [ThirdPartyType.CUSTOMER, MathematicalSign.LESS],\n isSubcategory: true,\n total: 0,\n type: 'passive',\n },\n {\n name: 'Instruments de trésorerie',\n key: 'treasuryInstruments',\n accounts: ['52'],\n isSubcategory: true,\n total: 0,\n type: 'passive',\n },\n {\n name: 'Produits constatés d\\'avance',\n key: 'advanceProducts',\n accounts: ['487', '489'],\n isSubcategory: true,\n total: 0,\n },\n ],\n },\n {\n name: 'Total (III)',\n key: 'total3',\n total: 0,\n calculation: true,\n calculationAdd: ['debts'],\n isTotal: true,\n },\n {\n name: 'Ecarts de conversion passif (IV)',\n key: 'total4',\n total: 0,\n accounts: ['477'],\n isTotal: true,\n },\n {\n name: 'Total général (I+II+III+IV)',\n key: 'total5',\n total: 0,\n calculation: true,\n calculationAdd: ['subscribedCapital', 'issuePremiums', 'equivalenceGap', 'revaluationGap', 'reservations', 'postponement', 'resultExercice', 'subsidies', 'subsidiesRegulated', 'provisions', 'debts', 'total4'],\n isTotal: true,\n },\n];\n\nexport const BALANCE_SHEET_LIST_PASSIVE_DETAILS: BalanceSheetField[] = [\n {\n name: '(1) Dont concours bancaires courants et soldes créditeurs de banques',\n accounts: ['51'],\n total: 0,\n type: 'passive',\n },\n {\n name: '(2) Dont emprunts participatifs',\n accounts: ['1675'],\n total: 0,\n type: 'passive',\n },\n];\n\nexport const balanceSheetTotalRanges = [\n {\n id: 1,\n label: '< 80k €',\n lowValue: 0,\n highValue: 80000,\n },\n {\n id: 2,\n label: '81k - 160k €',\n lowValue: 80000,\n highValue: 160000,\n },\n {\n id: 3,\n label: '161k - 250k €',\n lowValue: 160000,\n highValue: 250000,\n },\n {\n id: 4,\n label: '> 251k €',\n lowValue: 250000,\n highValue: 10000000,\n },\n] as const;"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaymentReason.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/PaymentReason.ts"],"names":[],"mappings":"AAAA,oBAAY,aAAa;IACvB,aAAa,IAAI;IACjB,4BAA4B,IAAI;IAChC,cAAc,IAAI;IAClB,QAAQ,IAAI;IACZ,UAAU,IAAI;IACd,OAAO,IAAI;IACX,WAAW,IAAI;IACf,iBAAiB,IAAI;IACrB,YAAY,IAAI;IAChB,MAAM,KAAK;
|
|
1
|
+
{"version":3,"file":"PaymentReason.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/PaymentReason.ts"],"names":[],"mappings":"AAAA,oBAAY,aAAa;IACvB,aAAa,IAAI;IACjB,4BAA4B,IAAI;IAChC,cAAc,IAAI;IAClB,QAAQ,IAAI;IACZ,UAAU,IAAI;IACd,OAAO,IAAI;IACX,WAAW,IAAI;IACf,iBAAiB,IAAI;IACrB,YAAY,IAAI;IAChB,MAAM,KAAK;IACX,WAAW,KAAK;CACjB;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC;IAAE,KAAK,EAAE,aAAa,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CA6C3E,CAAC"}
|
|
@@ -10,6 +10,7 @@ export var PaymentReason;
|
|
|
10
10
|
PaymentReason[PaymentReason["ADDITIONAL_PRESTA"] = 8] = "ADDITIONAL_PRESTA";
|
|
11
11
|
PaymentReason[PaymentReason["ATTESTATIONS"] = 9] = "ATTESTATIONS";
|
|
12
12
|
PaymentReason[PaymentReason["UNPAID"] = 10] = "UNPAID";
|
|
13
|
+
PaymentReason[PaymentReason["TERMINATION"] = 11] = "TERMINATION";
|
|
13
14
|
})(PaymentReason || (PaymentReason = {}));
|
|
14
15
|
export const PaymentReasonList = [
|
|
15
16
|
{
|
|
@@ -52,5 +53,9 @@ export const PaymentReasonList = [
|
|
|
52
53
|
value: PaymentReason.UNPAID,
|
|
53
54
|
text: 'Impayé',
|
|
54
55
|
},
|
|
56
|
+
{
|
|
57
|
+
value: PaymentReason.TERMINATION,
|
|
58
|
+
text: 'Résiliation',
|
|
59
|
+
},
|
|
55
60
|
];
|
|
56
61
|
//# sourceMappingURL=PaymentReason.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaymentReason.js","sourceRoot":"","sources":["../../../../ts/types/Enum/PaymentReason.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,
|
|
1
|
+
{"version":3,"file":"PaymentReason.js","sourceRoot":"","sources":["../../../../ts/types/Enum/PaymentReason.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,aAYX;AAZD,WAAY,aAAa;IACvB,mEAAiB,CAAA;IACjB,iGAAgC,CAAA;IAChC,qEAAkB,CAAA;IAClB,yDAAY,CAAA;IACZ,6DAAc,CAAA;IACd,uDAAW,CAAA;IACX,+DAAe,CAAA;IACf,2EAAqB,CAAA;IACrB,iEAAgB,CAAA;IAChB,sDAAW,CAAA;IACX,gEAAgB,CAAA;AAClB,CAAC,EAZW,aAAa,KAAb,aAAa,QAYxB;AAED,MAAM,CAAC,MAAM,iBAAiB,GAAkD;IAC9E;QACE,KAAK,EAAE,aAAa,CAAC,aAAa;QAClC,IAAI,EAAE,kBAAkB;KACzB;IACD;QACE,KAAK,EAAE,aAAa,CAAC,4BAA4B;QACjD,IAAI,EAAE,+BAA+B;KACtC;IACD;QACE,KAAK,EAAE,aAAa,CAAC,cAAc;QACnC,IAAI,EAAE,kBAAkB;KACzB;IACD;QACE,KAAK,EAAE,aAAa,CAAC,QAAQ;QAC7B,IAAI,EAAE,cAAc;KACrB;IACD;QACE,KAAK,EAAE,aAAa,CAAC,UAAU;QAC/B,IAAI,EAAE,QAAQ;KACf;IACD;QACE,KAAK,EAAE,aAAa,CAAC,OAAO;QAC5B,IAAI,EAAE,WAAW;KAClB;IACD;QACE,KAAK,EAAE,aAAa,CAAC,WAAW;QAChC,IAAI,EAAE,cAAc;KACrB;IACD;QACE,KAAK,EAAE,aAAa,CAAC,iBAAiB;QACtC,IAAI,EAAE,2BAA2B;KAClC;IACD;QACE,KAAK,EAAE,aAAa,CAAC,YAAY;QACjC,IAAI,EAAE,cAAc;KACrB;IACD;QACE,KAAK,EAAE,aAAa,CAAC,MAAM;QAC3B,IAAI,EAAE,QAAQ;KACf;IACD;QACE,KAAK,EAAE,aAAa,CAAC,WAAW;QAChC,IAAI,EAAE,aAAa;KACpB;CACF,CAAC","sourcesContent":["export enum PaymentReason {\n FIRST_PAYMENT = 1,\n REGULATES_SAMPLING_REJECTION = 2,\n ANNONCE_LEGALE = 3,\n FORECAST = 4,\n ACCOUNTING = 5,\n JURIDIC = 6,\n EXCEPTIONAL = 7,\n ADDITIONAL_PRESTA = 8,\n ATTESTATIONS = 9,\n UNPAID = 10,\n TERMINATION = 11,\n}\n\nexport const PaymentReasonList: Array<{ value: PaymentReason; text: string }> = [\n {\n value: PaymentReason.FIRST_PAYMENT,\n text: 'Premier paiement',\n },\n {\n value: PaymentReason.REGULATES_SAMPLING_REJECTION,\n text: 'Régule rejet de prélévement 1',\n },\n {\n value: PaymentReason.ANNONCE_LEGALE,\n text: 'Annonces Légales',\n },\n {\n value: PaymentReason.FORECAST,\n text: 'Prévisionnel',\n },\n {\n value: PaymentReason.ACCOUNTING,\n text: 'Compta',\n },\n {\n value: PaymentReason.JURIDIC,\n text: 'Juridique',\n },\n {\n value: PaymentReason.EXCEPTIONAL,\n text: 'Exceptionnel',\n },\n {\n value: PaymentReason.ADDITIONAL_PRESTA,\n text: 'Prestation complémentaire',\n },\n {\n value: PaymentReason.ATTESTATIONS,\n text: 'Attestations',\n },\n {\n value: PaymentReason.UNPAID,\n text: 'Impayé',\n },\n {\n value: PaymentReason.TERMINATION,\n text: 'Résiliation',\n },\n];\n"]}
|
|
@@ -14,10 +14,15 @@ export declare enum ReasonTerminationType {
|
|
|
14
14
|
NO_RESPONSE = 13,
|
|
15
15
|
DISCONTINUED = 14,
|
|
16
16
|
UPDATE = 15,
|
|
17
|
-
ACTIVITY_CESSATION = 16
|
|
17
|
+
ACTIVITY_CESSATION = 16,
|
|
18
|
+
INADEQUATE_FUNCTIONING = 17,
|
|
19
|
+
BRAND_CHANGE = 18,
|
|
20
|
+
SERVICE_DELAYS = 19,
|
|
21
|
+
LACK_OF_ADVICE = 20
|
|
18
22
|
}
|
|
19
23
|
export declare const ReasonTerminationTypeDetail: {
|
|
20
24
|
id: ReasonTerminationType;
|
|
21
25
|
label: string;
|
|
26
|
+
active: boolean;
|
|
22
27
|
}[];
|
|
23
28
|
//# sourceMappingURL=ReasonTerminationType.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReasonTerminationType.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/ReasonTerminationType.ts"],"names":[],"mappings":"AAAA,oBAAY,qBAAqB;IAC/B,WAAW,IAAI;IACf,KAAK,IAAI;IACT,gBAAgB,IAAI;IACpB,iBAAiB,IAAI;IACrB,UAAU,IAAI;IACd,IAAI,IAAI;IACR,QAAQ,IAAI;IACZ,OAAO,IAAI;IACX,QAAQ,IAAI;IACZ,4BAA4B,KAAK;IACjC,SAAS,KAAK;IACd,aAAa,KAAK;IAClB,WAAW,KAAK;IAChB,YAAY,KAAK;IACjB,MAAM,KAAK;IACX,kBAAkB,KAAK;
|
|
1
|
+
{"version":3,"file":"ReasonTerminationType.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/ReasonTerminationType.ts"],"names":[],"mappings":"AAAA,oBAAY,qBAAqB;IAC/B,WAAW,IAAI;IACf,KAAK,IAAI;IACT,gBAAgB,IAAI;IACpB,iBAAiB,IAAI;IACrB,UAAU,IAAI;IACd,IAAI,IAAI;IACR,QAAQ,IAAI;IACZ,OAAO,IAAI;IACX,QAAQ,IAAI;IACZ,4BAA4B,KAAK;IACjC,SAAS,KAAK;IACd,aAAa,KAAK;IAClB,WAAW,KAAK;IAChB,YAAY,KAAK;IACjB,MAAM,KAAK;IACX,kBAAkB,KAAK;IACvB,sBAAsB,KAAK;IAC3B,YAAY,KAAK;IACjB,cAAc,KAAK;IACnB,cAAc,KAAK;CACpB;AAED,eAAO,MAAM,2BAA2B;;;;GAqGvC,CAAC"}
|