@silexpert/core 1.3.215 → 1.3.216
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/utils/checkup.d.ts +1 -20
- package/dist/cjs/utils/checkup.d.ts.map +1 -1
- package/dist/cjs/utils/checkup.js +59 -103
- package/dist/cjs/utils/checkup.js.map +1 -1
- package/dist/mjs/utils/checkup.d.ts +1 -20
- package/dist/mjs/utils/checkup.d.ts.map +1 -1
- package/dist/mjs/utils/checkup.js +30 -74
- package/dist/mjs/utils/checkup.js.map +1 -1
- package/package.json +1 -1
- package/ts/utils/checkup.ts +32 -74
|
@@ -85,7 +85,6 @@ brandName: string, bankList: {
|
|
|
85
85
|
suffix?: undefined;
|
|
86
86
|
};
|
|
87
87
|
lg: number;
|
|
88
|
-
condition?: undefined;
|
|
89
88
|
} | {
|
|
90
89
|
component: string;
|
|
91
90
|
text: string;
|
|
@@ -101,7 +100,6 @@ brandName: string, bankList: {
|
|
|
101
100
|
suffix?: undefined;
|
|
102
101
|
};
|
|
103
102
|
lg: number;
|
|
104
|
-
condition?: undefined;
|
|
105
103
|
} | {
|
|
106
104
|
component: string;
|
|
107
105
|
text: string;
|
|
@@ -114,23 +112,6 @@ brandName: string, bankList: {
|
|
|
114
112
|
multiple?: undefined;
|
|
115
113
|
};
|
|
116
114
|
lg: number;
|
|
117
|
-
condition?: undefined;
|
|
118
|
-
} | {
|
|
119
|
-
component: string;
|
|
120
|
-
text: string;
|
|
121
|
-
value: string;
|
|
122
|
-
required: boolean;
|
|
123
|
-
meta: {
|
|
124
|
-
items: {
|
|
125
|
-
value: string;
|
|
126
|
-
text: number;
|
|
127
|
-
}[];
|
|
128
|
-
hideDetails: boolean;
|
|
129
|
-
multiple?: undefined;
|
|
130
|
-
suffix?: undefined;
|
|
131
|
-
};
|
|
132
|
-
condition: boolean;
|
|
133
|
-
lg: number;
|
|
134
115
|
})[];
|
|
135
116
|
} | {
|
|
136
117
|
name: string;
|
|
@@ -142,7 +123,7 @@ brandName: string, bankList: {
|
|
|
142
123
|
meta: {
|
|
143
124
|
items: {
|
|
144
125
|
text: string;
|
|
145
|
-
value: import("../types/Enum/Quality").Quality;
|
|
126
|
+
value: import("../types/Enum/Quality.js").Quality;
|
|
146
127
|
}[];
|
|
147
128
|
hideDetails: boolean;
|
|
148
129
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkup.d.ts","sourceRoot":"","sources":["../../../ts/utils/checkup.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,aAAa,GAAI,UAAU,MAAM;;;GAO7C,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAC/B,eAAe,GAAG,EAAE,mBAAmB;AACvC,WAAW,MAAM,EACjB,UAAU;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,EAAE,EACxC,qBAAqB,IAAI,GAAG,IAAI,EAChC,eAAe,IAAI,GAAG,IAAI
|
|
1
|
+
{"version":3,"file":"checkup.d.ts","sourceRoot":"","sources":["../../../ts/utils/checkup.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,aAAa,GAAI,UAAU,MAAM;;;GAO7C,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAC/B,eAAe,GAAG,EAAE,mBAAmB;AACvC,WAAW,MAAM,EACjB,UAAU;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,EAAE,EACxC,qBAAqB,IAAI,GAAG,IAAI,EAChC,eAAe,IAAI,GAAG,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAuf3B,CAAC"}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable @typescript-eslint/no-unsafe-return */
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.getCheckupDetailForm = exports.setRangeItems = void 0;
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
5
|
+
const Constants_js_1 = require("../types/Enum/Constants.js");
|
|
6
|
+
const Quality_js_1 = require("../types/Enum/Quality.js");
|
|
7
|
+
const dayjs_1 = require("dayjs");
|
|
8
8
|
const setRangeItems = (maxRange) => {
|
|
9
9
|
const res = [];
|
|
10
10
|
for (let i = 0; i < maxRange; i += 1) {
|
|
@@ -20,13 +20,14 @@ brandName, bankList, dateOfRegistration, recoveryDate) => {
|
|
|
20
20
|
!dateOfRegistration ||
|
|
21
21
|
(recoveryDate &&
|
|
22
22
|
dateOfRegistration &&
|
|
23
|
-
|
|
23
|
+
// @ts-ignore
|
|
24
|
+
(0, dayjs_1.default)(dateOfRegistration).isBetween((0, dayjs_1.default)(recoveryDate).subtract(1, 'month'), (0, dayjs_1.default)(recoveryDate).add(1, 'month')))
|
|
24
25
|
? true
|
|
25
26
|
: false;
|
|
26
27
|
if (!isSocietyCreationCompute) {
|
|
27
28
|
return [
|
|
28
29
|
{
|
|
29
|
-
name:
|
|
30
|
+
name: 'Découverte de l\'entreprise (1/2)',
|
|
30
31
|
questions: [
|
|
31
32
|
{
|
|
32
33
|
value: 'detailActivity',
|
|
@@ -40,7 +41,7 @@ brandName, bankList, dateOfRegistration, recoveryDate) => {
|
|
|
40
41
|
},
|
|
41
42
|
{
|
|
42
43
|
component: 'FormInputSelect',
|
|
43
|
-
text:
|
|
44
|
+
text: 'Votre structure a-t-elle des participations dans d\'autres sociétés ?',
|
|
44
45
|
value: 'interestOtherCompanies',
|
|
45
46
|
required: true,
|
|
46
47
|
meta: {
|
|
@@ -55,7 +56,7 @@ brandName, bankList, dateOfRegistration, recoveryDate) => {
|
|
|
55
56
|
value: 'hasBillingSoftware',
|
|
56
57
|
required: true,
|
|
57
58
|
meta: {
|
|
58
|
-
items:
|
|
59
|
+
items: Constants_js_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
59
60
|
hideDetails: true,
|
|
60
61
|
},
|
|
61
62
|
lg: 12,
|
|
@@ -81,7 +82,7 @@ brandName, bankList, dateOfRegistration, recoveryDate) => {
|
|
|
81
82
|
],
|
|
82
83
|
},
|
|
83
84
|
{
|
|
84
|
-
name:
|
|
85
|
+
name: 'Découverte de l\'entreprise (2/2)',
|
|
85
86
|
questions: [
|
|
86
87
|
{
|
|
87
88
|
component: 'FormInputSelect',
|
|
@@ -89,7 +90,7 @@ brandName, bankList, dateOfRegistration, recoveryDate) => {
|
|
|
89
90
|
value: 'investissement',
|
|
90
91
|
required: true,
|
|
91
92
|
meta: {
|
|
92
|
-
items:
|
|
93
|
+
items: Constants_js_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
93
94
|
hideDetails: true,
|
|
94
95
|
},
|
|
95
96
|
lg: 12,
|
|
@@ -100,37 +101,14 @@ brandName, bankList, dateOfRegistration, recoveryDate) => {
|
|
|
100
101
|
value: 'fiscalControl',
|
|
101
102
|
required: true,
|
|
102
103
|
meta: {
|
|
103
|
-
items:
|
|
104
|
+
items: Constants_js_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
104
105
|
hideDetails: true,
|
|
105
106
|
},
|
|
106
107
|
lg: 12,
|
|
107
108
|
},
|
|
108
|
-
// {
|
|
109
|
-
// component: 'FormInputSelect',
|
|
110
|
-
// text: 'Avez-vous des emprunts?',
|
|
111
|
-
// value: 'hasBorrowing',
|
|
112
|
-
// required: true,
|
|
113
|
-
// meta: {
|
|
114
|
-
// items: SelectYesNoStatementBool.map((i) => ({ ...i, value: i.value.toString() })),
|
|
115
|
-
// hideDetails: true,
|
|
116
|
-
// },
|
|
117
|
-
// lg: 12,
|
|
118
|
-
// },
|
|
119
109
|
{
|
|
120
110
|
component: 'FormInputSelect',
|
|
121
|
-
text: '
|
|
122
|
-
value: 'borrowingInProgress',
|
|
123
|
-
required: true,
|
|
124
|
-
meta: {
|
|
125
|
-
items: (0, exports.setRangeItems)(15).map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
126
|
-
hideDetails: true,
|
|
127
|
-
},
|
|
128
|
-
condition: societyDetail.hasBorrowing === '1',
|
|
129
|
-
lg: 12,
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
component: 'FormInputSelect',
|
|
133
|
-
text: "Quels est/sont les motifs de votre changement d'expert comptable ?",
|
|
111
|
+
text: 'Quels est/sont les motifs de votre changement d\'expert comptable ?',
|
|
134
112
|
value: 'listReasonsWhyChangingEC',
|
|
135
113
|
required: true,
|
|
136
114
|
meta: {
|
|
@@ -140,6 +118,7 @@ brandName, bankList, dateOfRegistration, recoveryDate) => {
|
|
|
140
118
|
{ text: 'Prix', value: 'prix' },
|
|
141
119
|
{ text: 'Manque de réactivité', value: 'pas réactif' },
|
|
142
120
|
{ text: 'Manque de conseil', value: 'manque de conseil' },
|
|
121
|
+
{ text: 'Non concerné', value: 'non concerné' },
|
|
143
122
|
],
|
|
144
123
|
hideDetails: true,
|
|
145
124
|
},
|
|
@@ -148,7 +127,7 @@ brandName, bankList, dateOfRegistration, recoveryDate) => {
|
|
|
148
127
|
],
|
|
149
128
|
},
|
|
150
129
|
{
|
|
151
|
-
name:
|
|
130
|
+
name: 'Découverte du chef d\'entreprise (1/2)',
|
|
152
131
|
questions: [
|
|
153
132
|
{
|
|
154
133
|
component: 'FormInputSelect',
|
|
@@ -156,7 +135,7 @@ brandName, bankList, dateOfRegistration, recoveryDate) => {
|
|
|
156
135
|
value: 'descriptionFormation',
|
|
157
136
|
required: true,
|
|
158
137
|
meta: {
|
|
159
|
-
items:
|
|
138
|
+
items: Constants_js_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
160
139
|
hideDetails: true,
|
|
161
140
|
},
|
|
162
141
|
lg: 12,
|
|
@@ -167,7 +146,7 @@ brandName, bankList, dateOfRegistration, recoveryDate) => {
|
|
|
167
146
|
value: 'politicalResponsability',
|
|
168
147
|
required: true,
|
|
169
148
|
meta: {
|
|
170
|
-
items:
|
|
149
|
+
items: Constants_js_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
171
150
|
hideDetails: true,
|
|
172
151
|
},
|
|
173
152
|
lg: 12,
|
|
@@ -178,7 +157,7 @@ brandName, bankList, dateOfRegistration, recoveryDate) => {
|
|
|
178
157
|
value: 'frenchTaxResident',
|
|
179
158
|
required: true,
|
|
180
159
|
meta: {
|
|
181
|
-
items:
|
|
160
|
+
items: Constants_js_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
182
161
|
hideDetails: true,
|
|
183
162
|
},
|
|
184
163
|
lg: 12,
|
|
@@ -189,7 +168,7 @@ brandName, bankList, dateOfRegistration, recoveryDate) => {
|
|
|
189
168
|
value: 'judiciaryRecovery',
|
|
190
169
|
required: true,
|
|
191
170
|
meta: {
|
|
192
|
-
items:
|
|
171
|
+
items: Constants_js_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
193
172
|
hideDetails: true,
|
|
194
173
|
},
|
|
195
174
|
lg: 12,
|
|
@@ -197,37 +176,37 @@ brandName, bankList, dateOfRegistration, recoveryDate) => {
|
|
|
197
176
|
],
|
|
198
177
|
},
|
|
199
178
|
{
|
|
200
|
-
name:
|
|
179
|
+
name: 'Découverte du chef d\'entreprise (2/2)',
|
|
201
180
|
questions: [
|
|
202
181
|
{
|
|
203
182
|
component: 'FormInputSelect',
|
|
204
|
-
text:
|
|
183
|
+
text: 'Quelle est votre fonction dans l\'entreprise ?',
|
|
205
184
|
value: 'listQualities',
|
|
206
185
|
required: true,
|
|
207
186
|
meta: {
|
|
208
|
-
items:
|
|
187
|
+
items: Quality_js_1.QualityList.map((quality) => ({ text: quality.label, value: quality.id })),
|
|
209
188
|
hideDetails: true,
|
|
210
189
|
},
|
|
211
190
|
lg: 12,
|
|
212
191
|
},
|
|
213
192
|
{
|
|
214
193
|
component: 'FormInputSelect',
|
|
215
|
-
text:
|
|
194
|
+
text: 'Avez vous des connaissances en gestion d\'entreprise ?',
|
|
216
195
|
value: 'managementKnowledge',
|
|
217
196
|
required: true,
|
|
218
197
|
meta: {
|
|
219
|
-
items:
|
|
198
|
+
items: Constants_js_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
220
199
|
hideDetails: true,
|
|
221
200
|
},
|
|
222
201
|
lg: 12,
|
|
223
202
|
},
|
|
224
203
|
{
|
|
225
204
|
component: 'FormInputSelect',
|
|
226
|
-
text:
|
|
205
|
+
text: 'Avez-vous des participations dans d\'autres sociétés ?',
|
|
227
206
|
value: 'participationsInOtherSociety',
|
|
228
207
|
required: true,
|
|
229
208
|
meta: {
|
|
230
|
-
items:
|
|
209
|
+
items: Constants_js_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
231
210
|
hideDetails: true,
|
|
232
211
|
},
|
|
233
212
|
lg: 12,
|
|
@@ -238,18 +217,18 @@ brandName, bankList, dateOfRegistration, recoveryDate) => {
|
|
|
238
217
|
value: 'prohibitedBanking',
|
|
239
218
|
required: true,
|
|
240
219
|
meta: {
|
|
241
|
-
items:
|
|
220
|
+
items: Constants_js_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
242
221
|
hideDetails: true,
|
|
243
222
|
},
|
|
244
223
|
lg: 12,
|
|
245
224
|
},
|
|
246
225
|
{
|
|
247
226
|
component: 'FormInputSelect',
|
|
248
|
-
text:
|
|
227
|
+
text: 'Êtes-vous imposable au titre de l\'année 2023/2024 ?',
|
|
249
228
|
value: 'isIrTaxable',
|
|
250
229
|
required: true,
|
|
251
230
|
meta: {
|
|
252
|
-
items:
|
|
231
|
+
items: Constants_js_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
253
232
|
hideDetails: true,
|
|
254
233
|
},
|
|
255
234
|
lg: 12,
|
|
@@ -260,7 +239,7 @@ brandName, bankList, dateOfRegistration, recoveryDate) => {
|
|
|
260
239
|
}
|
|
261
240
|
return [
|
|
262
241
|
{
|
|
263
|
-
name:
|
|
242
|
+
name: 'Découverte de l\'entreprise',
|
|
264
243
|
questions: [
|
|
265
244
|
{
|
|
266
245
|
value: 'detailActivity',
|
|
@@ -274,7 +253,7 @@ brandName, bankList, dateOfRegistration, recoveryDate) => {
|
|
|
274
253
|
},
|
|
275
254
|
{
|
|
276
255
|
component: 'FormInputSelect',
|
|
277
|
-
text:
|
|
256
|
+
text: 'Votre structure a-t-elle des participations dans d\'autres sociétés ?',
|
|
278
257
|
value: 'interestOtherCompanies',
|
|
279
258
|
required: true,
|
|
280
259
|
meta: {
|
|
@@ -289,7 +268,7 @@ brandName, bankList, dateOfRegistration, recoveryDate) => {
|
|
|
289
268
|
value: 'hasBillingSoftware',
|
|
290
269
|
required: true,
|
|
291
270
|
meta: {
|
|
292
|
-
items:
|
|
271
|
+
items: Constants_js_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
293
272
|
hideDetails: true,
|
|
294
273
|
},
|
|
295
274
|
lg: 12,
|
|
@@ -315,7 +294,7 @@ brandName, bankList, dateOfRegistration, recoveryDate) => {
|
|
|
315
294
|
],
|
|
316
295
|
},
|
|
317
296
|
{
|
|
318
|
-
name:
|
|
297
|
+
name: 'Création d\'entreprise (1/2)',
|
|
319
298
|
questions: [
|
|
320
299
|
{
|
|
321
300
|
component: 'FormInputSelect',
|
|
@@ -323,7 +302,7 @@ brandName, bankList, dateOfRegistration, recoveryDate) => {
|
|
|
323
302
|
value: 'personnalContributionCapital',
|
|
324
303
|
required: true,
|
|
325
304
|
meta: {
|
|
326
|
-
items:
|
|
305
|
+
items: Constants_js_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
327
306
|
hideDetails: true,
|
|
328
307
|
},
|
|
329
308
|
lg: 12,
|
|
@@ -334,29 +313,29 @@ brandName, bankList, dateOfRegistration, recoveryDate) => {
|
|
|
334
313
|
value: 'personnalContributionCurrentBankAccount',
|
|
335
314
|
required: true,
|
|
336
315
|
meta: {
|
|
337
|
-
items:
|
|
316
|
+
items: Constants_js_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
338
317
|
hideDetails: true,
|
|
339
318
|
},
|
|
340
319
|
lg: 12,
|
|
341
320
|
},
|
|
342
321
|
{
|
|
343
322
|
component: 'FormInputSelect',
|
|
344
|
-
text:
|
|
323
|
+
text: 'Avez-vous bénéficié d\'une rupture conventionnelle ou du versement d\'une indemnité de licenciement dans le cadre de votre création de société ?',
|
|
345
324
|
value: 'indemnite',
|
|
346
325
|
required: true,
|
|
347
326
|
meta: {
|
|
348
|
-
items:
|
|
327
|
+
items: Constants_js_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
349
328
|
hideDetails: true,
|
|
350
329
|
},
|
|
351
330
|
lg: 12,
|
|
352
331
|
},
|
|
353
332
|
{
|
|
354
333
|
component: 'FormInputSelect',
|
|
355
|
-
text:
|
|
334
|
+
text: 'Avez-vous bénéficié d\'un prêt d\'honneur ?',
|
|
356
335
|
value: 'honorLoan',
|
|
357
336
|
required: true,
|
|
358
337
|
meta: {
|
|
359
|
-
items:
|
|
338
|
+
items: Constants_js_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
360
339
|
hideDetails: true,
|
|
361
340
|
},
|
|
362
341
|
lg: 12,
|
|
@@ -364,15 +343,15 @@ brandName, bankList, dateOfRegistration, recoveryDate) => {
|
|
|
364
343
|
],
|
|
365
344
|
},
|
|
366
345
|
{
|
|
367
|
-
name:
|
|
346
|
+
name: 'Création d\'entreprise (2/2)',
|
|
368
347
|
questions: [
|
|
369
348
|
{
|
|
370
349
|
component: 'FormInputSelect',
|
|
371
|
-
text:
|
|
350
|
+
text: 'Comptez-vous travailler à l\'international ?',
|
|
372
351
|
value: 'workInternationnal',
|
|
373
352
|
required: true,
|
|
374
353
|
meta: {
|
|
375
|
-
items:
|
|
354
|
+
items: Constants_js_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
376
355
|
hideDetails: true,
|
|
377
356
|
},
|
|
378
357
|
lg: 12,
|
|
@@ -383,14 +362,14 @@ brandName, bankList, dateOfRegistration, recoveryDate) => {
|
|
|
383
362
|
value: 'financingStartingStock',
|
|
384
363
|
required: true,
|
|
385
364
|
meta: {
|
|
386
|
-
items:
|
|
365
|
+
items: Constants_js_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
387
366
|
hideDetails: true,
|
|
388
367
|
},
|
|
389
368
|
lg: 12,
|
|
390
369
|
},
|
|
391
370
|
{
|
|
392
371
|
component: 'FormInputSelect',
|
|
393
|
-
text:
|
|
372
|
+
text: 'Quels sont vos types d\'apport ?',
|
|
394
373
|
value: 'contributionTypes',
|
|
395
374
|
required: true,
|
|
396
375
|
meta: {
|
|
@@ -406,7 +385,7 @@ brandName, bankList, dateOfRegistration, recoveryDate) => {
|
|
|
406
385
|
},
|
|
407
386
|
{
|
|
408
387
|
component: 'FormInputText',
|
|
409
|
-
text:
|
|
388
|
+
text: 'Chiffre d\'affaires prévisionnel',
|
|
410
389
|
value: 'previsionCa',
|
|
411
390
|
required: true,
|
|
412
391
|
meta: {
|
|
@@ -415,33 +394,10 @@ brandName, bankList, dateOfRegistration, recoveryDate) => {
|
|
|
415
394
|
},
|
|
416
395
|
lg: 12,
|
|
417
396
|
},
|
|
418
|
-
// {
|
|
419
|
-
// component: 'FormInputSelect',
|
|
420
|
-
// text: 'Avez-vous des emprunts en cours ?',
|
|
421
|
-
// value: 'isLoans',
|
|
422
|
-
// required: true,
|
|
423
|
-
// meta: {
|
|
424
|
-
// items: SelectYesNoStatementBool.map((i) => ({ ...i, value: i.value.toString() })),
|
|
425
|
-
// hideDetails: true,
|
|
426
|
-
// },
|
|
427
|
-
// lg: 12,
|
|
428
|
-
// },
|
|
429
|
-
{
|
|
430
|
-
component: 'FormInputSelect',
|
|
431
|
-
text: 'Si oui, combien ?',
|
|
432
|
-
value: 'isLoans',
|
|
433
|
-
required: true,
|
|
434
|
-
meta: {
|
|
435
|
-
items: (0, exports.setRangeItems)(15).map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
436
|
-
hideDetails: true,
|
|
437
|
-
},
|
|
438
|
-
condition: societyDetail.isLoans === '1',
|
|
439
|
-
lg: 12,
|
|
440
|
-
},
|
|
441
397
|
],
|
|
442
398
|
},
|
|
443
399
|
{
|
|
444
|
-
name:
|
|
400
|
+
name: 'Découverte du chef d\'entreprise (1/2)',
|
|
445
401
|
questions: [
|
|
446
402
|
{
|
|
447
403
|
component: 'FormInputSelect',
|
|
@@ -449,7 +405,7 @@ brandName, bankList, dateOfRegistration, recoveryDate) => {
|
|
|
449
405
|
value: 'descriptionFormation',
|
|
450
406
|
required: true,
|
|
451
407
|
meta: {
|
|
452
|
-
items:
|
|
408
|
+
items: Constants_js_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
453
409
|
hideDetails: true,
|
|
454
410
|
},
|
|
455
411
|
lg: 12,
|
|
@@ -460,7 +416,7 @@ brandName, bankList, dateOfRegistration, recoveryDate) => {
|
|
|
460
416
|
value: 'politicalResponsability',
|
|
461
417
|
required: true,
|
|
462
418
|
meta: {
|
|
463
|
-
items:
|
|
419
|
+
items: Constants_js_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
464
420
|
hideDetails: true,
|
|
465
421
|
},
|
|
466
422
|
lg: 12,
|
|
@@ -471,7 +427,7 @@ brandName, bankList, dateOfRegistration, recoveryDate) => {
|
|
|
471
427
|
value: 'frenchTaxResident',
|
|
472
428
|
required: true,
|
|
473
429
|
meta: {
|
|
474
|
-
items:
|
|
430
|
+
items: Constants_js_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
475
431
|
hideDetails: true,
|
|
476
432
|
},
|
|
477
433
|
lg: 12,
|
|
@@ -482,7 +438,7 @@ brandName, bankList, dateOfRegistration, recoveryDate) => {
|
|
|
482
438
|
value: 'judiciaryRecovery',
|
|
483
439
|
required: true,
|
|
484
440
|
meta: {
|
|
485
|
-
items:
|
|
441
|
+
items: Constants_js_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
486
442
|
hideDetails: true,
|
|
487
443
|
},
|
|
488
444
|
lg: 12,
|
|
@@ -490,37 +446,37 @@ brandName, bankList, dateOfRegistration, recoveryDate) => {
|
|
|
490
446
|
],
|
|
491
447
|
},
|
|
492
448
|
{
|
|
493
|
-
name:
|
|
449
|
+
name: 'Découverte du chef d\'entreprise (2/2)',
|
|
494
450
|
questions: [
|
|
495
451
|
{
|
|
496
452
|
component: 'FormInputSelect',
|
|
497
|
-
text:
|
|
453
|
+
text: 'Quelle est votre fonction dans l\'entreprise ?',
|
|
498
454
|
value: 'listQualities',
|
|
499
455
|
required: true,
|
|
500
456
|
meta: {
|
|
501
|
-
items:
|
|
457
|
+
items: Quality_js_1.QualityList.map((quality) => ({ text: quality.label, value: quality.id })),
|
|
502
458
|
hideDetails: true,
|
|
503
459
|
},
|
|
504
460
|
lg: 12,
|
|
505
461
|
},
|
|
506
462
|
{
|
|
507
463
|
component: 'FormInputSelect',
|
|
508
|
-
text:
|
|
464
|
+
text: 'Avez vous des connaissances en gestion d\'entreprise ?',
|
|
509
465
|
value: 'managementKnowledge',
|
|
510
466
|
required: true,
|
|
511
467
|
meta: {
|
|
512
|
-
items:
|
|
468
|
+
items: Constants_js_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
513
469
|
hideDetails: true,
|
|
514
470
|
},
|
|
515
471
|
lg: 12,
|
|
516
472
|
},
|
|
517
473
|
{
|
|
518
474
|
component: 'FormInputSelect',
|
|
519
|
-
text:
|
|
475
|
+
text: 'Avez-vous des participations dans d\'autres sociétés ?',
|
|
520
476
|
value: 'participationsInOtherSociety',
|
|
521
477
|
required: true,
|
|
522
478
|
meta: {
|
|
523
|
-
items:
|
|
479
|
+
items: Constants_js_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
524
480
|
hideDetails: true,
|
|
525
481
|
},
|
|
526
482
|
lg: 12,
|
|
@@ -531,18 +487,18 @@ brandName, bankList, dateOfRegistration, recoveryDate) => {
|
|
|
531
487
|
value: 'prohibitedBanking',
|
|
532
488
|
required: true,
|
|
533
489
|
meta: {
|
|
534
|
-
items:
|
|
490
|
+
items: Constants_js_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
535
491
|
hideDetails: true,
|
|
536
492
|
},
|
|
537
493
|
lg: 12,
|
|
538
494
|
},
|
|
539
495
|
{
|
|
540
496
|
component: 'FormInputSelect',
|
|
541
|
-
text:
|
|
497
|
+
text: 'Êtes-vous imposable au titre de l\'année 2023/2024 ?',
|
|
542
498
|
value: 'isIrTaxable',
|
|
543
499
|
required: true,
|
|
544
500
|
meta: {
|
|
545
|
-
items:
|
|
501
|
+
items: Constants_js_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
546
502
|
hideDetails: true,
|
|
547
503
|
},
|
|
548
504
|
lg: 12,
|