@silexpert/core 1.3.169-3 → 1.3.169
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/PrestationType.js +6 -6
- package/dist/cjs/types/Enum/PrestationType.js.map +1 -1
- package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.d.ts +0 -1
- package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.js +0 -6
- package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.js.map +1 -1
- package/dist/cjs/types/Interface/api/payment/Params.d.ts +0 -1
- package/dist/cjs/types/Interface/api/payment/Params.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/payment/Params.js +0 -6
- package/dist/cjs/types/Interface/api/payment/Params.js.map +1 -1
- package/dist/cjs/types/Interface/api/society/ReadSociety.d.ts +0 -1
- package/dist/cjs/types/Interface/api/society/ReadSociety.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/society/ReadSociety.js.map +1 -1
- package/dist/cjs/types/Interface/models/IPayment.d.ts +0 -1
- package/dist/cjs/types/Interface/models/IPayment.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IPayment.js.map +1 -1
- package/dist/cjs/utils/checkup.d.ts +368 -12
- package/dist/cjs/utils/checkup.d.ts.map +1 -1
- package/dist/cjs/utils/checkup.js +565 -342
- package/dist/cjs/utils/checkup.js.map +1 -1
- package/dist/mjs/types/Enum/PrestationType.js +6 -6
- package/dist/mjs/types/Enum/PrestationType.js.map +1 -1
- package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.d.ts +0 -1
- package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.js +0 -7
- package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.js.map +1 -1
- package/dist/mjs/types/Interface/api/payment/Params.d.ts +0 -1
- package/dist/mjs/types/Interface/api/payment/Params.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/payment/Params.js +0 -7
- package/dist/mjs/types/Interface/api/payment/Params.js.map +1 -1
- package/dist/mjs/types/Interface/api/society/ReadSociety.d.ts +0 -1
- package/dist/mjs/types/Interface/api/society/ReadSociety.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/society/ReadSociety.js.map +1 -1
- package/dist/mjs/types/Interface/models/IPayment.d.ts +0 -1
- package/dist/mjs/types/Interface/models/IPayment.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IPayment.js.map +1 -1
- package/dist/mjs/utils/checkup.d.ts +368 -12
- package/dist/mjs/utils/checkup.d.ts.map +1 -1
- package/dist/mjs/utils/checkup.js +566 -343
- package/dist/mjs/utils/checkup.js.map +1 -1
- package/package.json +2 -2
- package/ts/types/Enum/PrestationType.ts +6 -6
- package/ts/types/Interface/api/gedFile/createFileAndGed.ts +0 -5
- package/ts/types/Interface/api/payment/Params.ts +0 -5
- package/ts/types/Interface/api/society/ReadSociety.ts +0 -1
- package/ts/types/Interface/models/IPayment.ts +0 -1
- package/ts/utils/checkup.ts +566 -348
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
/* eslint-disable @typescript-eslint/no-unsafe-return */
|
|
3
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
3
|
exports.getCheckupDetailForm = exports.setRangeItems = void 0;
|
|
5
4
|
const Constants_1 = require("../types/Enum/Constants");
|
|
6
5
|
const Quality_1 = require("../types/Enum/Quality");
|
|
6
|
+
const Vat_1 = require("../types/Enum/Vat");
|
|
7
7
|
const dayjs = require("dayjs");
|
|
8
8
|
const setRangeItems = (maxRange) => {
|
|
9
9
|
const res = [];
|
|
10
10
|
for (let i = 0; i < maxRange; i += 1) {
|
|
11
11
|
res.push({ text: i, value: i });
|
|
12
12
|
}
|
|
13
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
|
13
14
|
return res;
|
|
14
15
|
};
|
|
15
16
|
exports.setRangeItems = setRangeItems;
|
|
@@ -23,241 +24,6 @@ brandName, bankList, dateOfRegistration, recoveryDate) => {
|
|
|
23
24
|
dayjs(dateOfRegistration).isBetween(dayjs(recoveryDate).subtract(1, 'month'), dayjs(recoveryDate).add(1, 'month')))
|
|
24
25
|
? true
|
|
25
26
|
: false;
|
|
26
|
-
if (!isSocietyCreationCompute) {
|
|
27
|
-
return [
|
|
28
|
-
{
|
|
29
|
-
name: "Découverte de l'entreprise (1/2)",
|
|
30
|
-
questions: [
|
|
31
|
-
{
|
|
32
|
-
value: 'detailActivity',
|
|
33
|
-
component: 'FormInputTextArea',
|
|
34
|
-
text: 'Expliquez-nous votre activité',
|
|
35
|
-
required: true,
|
|
36
|
-
meta: {
|
|
37
|
-
placeholder: 'Ex : Je suis freelance et propose du conseil en marketing',
|
|
38
|
-
hideDetails: true,
|
|
39
|
-
},
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
component: 'FormInputSelect',
|
|
43
|
-
text: "Votre structure a-t-elle des participations dans d'autres sociétés ?",
|
|
44
|
-
value: 'interestOtherCompanies',
|
|
45
|
-
required: true,
|
|
46
|
-
meta: {
|
|
47
|
-
items: (0, exports.setRangeItems)(15).map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
48
|
-
hideDetails: true,
|
|
49
|
-
},
|
|
50
|
-
lg: 12,
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
component: 'FormInputSelect',
|
|
54
|
-
text: 'Avez-vous un logiciel de facturation?',
|
|
55
|
-
value: 'hasBillingSoftware',
|
|
56
|
-
required: true,
|
|
57
|
-
meta: {
|
|
58
|
-
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
59
|
-
hideDetails: true,
|
|
60
|
-
},
|
|
61
|
-
lg: 12,
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
component: 'FormInputSelect',
|
|
65
|
-
text: 'Quels sont les modes de réglements dont vous disposez ?',
|
|
66
|
-
value: 'collectionSystem',
|
|
67
|
-
required: true,
|
|
68
|
-
meta: {
|
|
69
|
-
multiple: true,
|
|
70
|
-
items: [
|
|
71
|
-
{ text: 'Carte bancaire', value: 'carte bancaire' },
|
|
72
|
-
{ text: 'Virement bancaire', value: 'virement' },
|
|
73
|
-
{ text: 'Chèque', value: 'cheque' },
|
|
74
|
-
{ text: 'Espèces', value: 'espece' },
|
|
75
|
-
{ text: 'Prélèvement automatique', value: 'prelevement' },
|
|
76
|
-
],
|
|
77
|
-
hideDetails: true,
|
|
78
|
-
},
|
|
79
|
-
lg: 12,
|
|
80
|
-
},
|
|
81
|
-
],
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
name: "Découverte de l'entreprise (2/2)",
|
|
85
|
-
questions: [
|
|
86
|
-
{
|
|
87
|
-
component: 'FormInputSelect',
|
|
88
|
-
text: 'Avez-vous fait des investissements dans le cadre de la création de votre entreprise ?',
|
|
89
|
-
value: 'investissement',
|
|
90
|
-
required: true,
|
|
91
|
-
meta: {
|
|
92
|
-
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
93
|
-
hideDetails: true,
|
|
94
|
-
},
|
|
95
|
-
lg: 12,
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
component: 'FormInputSelect',
|
|
99
|
-
text: 'Avez-vous déjà eu des contrôles fiscaux ?',
|
|
100
|
-
value: 'fiscalControl',
|
|
101
|
-
required: true,
|
|
102
|
-
meta: {
|
|
103
|
-
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
104
|
-
hideDetails: true,
|
|
105
|
-
},
|
|
106
|
-
lg: 12,
|
|
107
|
-
},
|
|
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
|
-
{
|
|
120
|
-
component: 'FormInputSelect',
|
|
121
|
-
text: 'Si oui, combien?',
|
|
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 ?",
|
|
134
|
-
value: 'listReasonsWhyChangingEC',
|
|
135
|
-
required: true,
|
|
136
|
-
meta: {
|
|
137
|
-
multiple: true,
|
|
138
|
-
items: [
|
|
139
|
-
{ text: 'Litige', value: 'litige' },
|
|
140
|
-
{ text: 'Prix', value: 'prix' },
|
|
141
|
-
{ text: 'Manque de réactivité', value: 'pas réactif' },
|
|
142
|
-
{ text: 'Manque de conseil', value: 'manque de conseil' },
|
|
143
|
-
],
|
|
144
|
-
hideDetails: true,
|
|
145
|
-
},
|
|
146
|
-
lg: 12,
|
|
147
|
-
},
|
|
148
|
-
],
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
name: "Découverte du chef d'entreprise (1/2)",
|
|
152
|
-
questions: [
|
|
153
|
-
{
|
|
154
|
-
component: 'FormInputSelect',
|
|
155
|
-
text: 'Avez-vous suivi une formation particulière en lien avec votre activité ?',
|
|
156
|
-
value: 'descriptionFormation',
|
|
157
|
-
required: true,
|
|
158
|
-
meta: {
|
|
159
|
-
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
160
|
-
hideDetails: true,
|
|
161
|
-
},
|
|
162
|
-
lg: 12,
|
|
163
|
-
},
|
|
164
|
-
{
|
|
165
|
-
component: 'FormInputSelect',
|
|
166
|
-
text: 'Avez-vous des responsabilités politiques ?',
|
|
167
|
-
value: 'politicalResponsability',
|
|
168
|
-
required: true,
|
|
169
|
-
meta: {
|
|
170
|
-
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
171
|
-
hideDetails: true,
|
|
172
|
-
},
|
|
173
|
-
lg: 12,
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
component: 'FormInputSelect',
|
|
177
|
-
text: 'Êtes-vous résident fiscal français ?',
|
|
178
|
-
value: 'frenchTaxResident',
|
|
179
|
-
required: true,
|
|
180
|
-
meta: {
|
|
181
|
-
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
182
|
-
hideDetails: true,
|
|
183
|
-
},
|
|
184
|
-
lg: 12,
|
|
185
|
-
},
|
|
186
|
-
{
|
|
187
|
-
component: 'FormInputSelect',
|
|
188
|
-
text: 'Êtes-vous en redressement judiciaire ?',
|
|
189
|
-
value: 'judiciaryRecovery',
|
|
190
|
-
required: true,
|
|
191
|
-
meta: {
|
|
192
|
-
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
193
|
-
hideDetails: true,
|
|
194
|
-
},
|
|
195
|
-
lg: 12,
|
|
196
|
-
},
|
|
197
|
-
],
|
|
198
|
-
},
|
|
199
|
-
{
|
|
200
|
-
name: "Découverte du chef d'entreprise (2/2)",
|
|
201
|
-
questions: [
|
|
202
|
-
{
|
|
203
|
-
component: 'FormInputSelect',
|
|
204
|
-
text: "Quelle est votre fonction dans l'entreprise ?",
|
|
205
|
-
value: 'listQualities',
|
|
206
|
-
required: true,
|
|
207
|
-
meta: {
|
|
208
|
-
items: Quality_1.QualityList.map((quality) => ({ text: quality.label, value: quality.id })),
|
|
209
|
-
hideDetails: true,
|
|
210
|
-
},
|
|
211
|
-
lg: 12,
|
|
212
|
-
},
|
|
213
|
-
{
|
|
214
|
-
component: 'FormInputSelect',
|
|
215
|
-
text: "Avez vous des connaissances en gestion d'entreprise ?",
|
|
216
|
-
value: 'managementKnowledge',
|
|
217
|
-
required: true,
|
|
218
|
-
meta: {
|
|
219
|
-
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
220
|
-
hideDetails: true,
|
|
221
|
-
},
|
|
222
|
-
lg: 12,
|
|
223
|
-
},
|
|
224
|
-
{
|
|
225
|
-
component: 'FormInputSelect',
|
|
226
|
-
text: "Avez-vous des participations dans d'autres sociétés ?",
|
|
227
|
-
value: 'participationsInOtherSociety',
|
|
228
|
-
required: true,
|
|
229
|
-
meta: {
|
|
230
|
-
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
231
|
-
hideDetails: true,
|
|
232
|
-
},
|
|
233
|
-
lg: 12,
|
|
234
|
-
},
|
|
235
|
-
{
|
|
236
|
-
component: 'FormInputSelect',
|
|
237
|
-
text: 'Êtes-vous interdit bancaire ?',
|
|
238
|
-
value: 'prohibitedBanking',
|
|
239
|
-
required: true,
|
|
240
|
-
meta: {
|
|
241
|
-
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
242
|
-
hideDetails: true,
|
|
243
|
-
},
|
|
244
|
-
lg: 12,
|
|
245
|
-
},
|
|
246
|
-
{
|
|
247
|
-
component: 'FormInputSelect',
|
|
248
|
-
text: "Êtes-vous imposable au titre de l'année 2023/2024 ?",
|
|
249
|
-
value: 'isIrTaxable',
|
|
250
|
-
required: true,
|
|
251
|
-
meta: {
|
|
252
|
-
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
253
|
-
hideDetails: true,
|
|
254
|
-
},
|
|
255
|
-
lg: 12,
|
|
256
|
-
},
|
|
257
|
-
],
|
|
258
|
-
},
|
|
259
|
-
];
|
|
260
|
-
}
|
|
261
27
|
return [
|
|
262
28
|
{
|
|
263
29
|
name: "Découverte de l'entreprise",
|
|
@@ -265,287 +31,744 @@ brandName, bankList, dateOfRegistration, recoveryDate) => {
|
|
|
265
31
|
{
|
|
266
32
|
value: 'detailActivity',
|
|
267
33
|
component: 'FormInputTextArea',
|
|
268
|
-
text: '
|
|
269
|
-
|
|
34
|
+
text: 'Pouvez vous m’expliquer le fonctionnement de votre activité ?',
|
|
35
|
+
//TODO: conseil à afficher
|
|
36
|
+
meta: {
|
|
37
|
+
placeholder: 'E-commerce, ventes de produits finis, artisanat...',
|
|
38
|
+
hideDetails: true,
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
value: 'nbBankaccounts',
|
|
43
|
+
component: 'FormInputSelect',
|
|
44
|
+
text: 'Combien de comptes bancaires avez-vous ?',
|
|
45
|
+
meta: {
|
|
46
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
|
47
|
+
items: (0, exports.setRangeItems)(15).map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
48
|
+
hideDetails: true,
|
|
49
|
+
},
|
|
50
|
+
lg: societyDetail.nbBankaccounts > 0 ? 8 : 12,
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
//TODO: champ à créer
|
|
54
|
+
component: 'FormInputSelect',
|
|
55
|
+
text: 'Lesquelles ?',
|
|
56
|
+
value: 'listBanks',
|
|
57
|
+
meta: {
|
|
58
|
+
multiple: true,
|
|
59
|
+
items: [...bankList, { id: 'hors-ue', name: 'Hors UE' }],
|
|
60
|
+
itemText: 'name',
|
|
61
|
+
itemValue: 'id',
|
|
62
|
+
hideDetails: true,
|
|
63
|
+
},
|
|
64
|
+
lg: societyDetail.nbBankaccounts > 0 ? 4 : 12,
|
|
65
|
+
condition: societyDetail.nbBankaccounts > 0,
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
component: 'FormInputSelect',
|
|
69
|
+
text: "Combien d'associés êtes-vous ?",
|
|
70
|
+
// lg: 4,
|
|
71
|
+
value: 'nbAssociates',
|
|
72
|
+
meta: {
|
|
73
|
+
items: (0, exports.setRangeItems)(20),
|
|
74
|
+
hideDetails: true,
|
|
75
|
+
},
|
|
76
|
+
lg: 4,
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
component: 'FormInputSelect',
|
|
80
|
+
text: "Combien d'associés travaillent dans la société ?",
|
|
81
|
+
// lg: 4,
|
|
82
|
+
value: 'nbAssociatesInCompany',
|
|
83
|
+
meta: {
|
|
84
|
+
items: (0, exports.setRangeItems)(20),
|
|
85
|
+
hideDetails: true,
|
|
86
|
+
},
|
|
87
|
+
lg: 4,
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
component: 'FormInputSelect',
|
|
91
|
+
text: 'Combien de salariés êtes-vous ?',
|
|
92
|
+
value: 'nbEmployees',
|
|
93
|
+
meta: {
|
|
94
|
+
items: (0, exports.setRangeItems)(20),
|
|
95
|
+
hideDetails: true,
|
|
96
|
+
},
|
|
97
|
+
lg: 4,
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
component: 'FormInputSelect', //'FormInputRadio',
|
|
101
|
+
text: 'Avez-vous des prévisions d’embauches ?',
|
|
102
|
+
value: 'hiringPromess',
|
|
103
|
+
meta: {
|
|
104
|
+
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
105
|
+
hideDetails: true,
|
|
106
|
+
},
|
|
107
|
+
lg: 4,
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
component: 'FormInputSelect',
|
|
111
|
+
text: 'Le siège social est-il au domicile ?',
|
|
112
|
+
// lg: 4,
|
|
113
|
+
value: 'isPersoAdress',
|
|
270
114
|
meta: {
|
|
271
|
-
|
|
115
|
+
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
116
|
+
hideDetails: true,
|
|
117
|
+
},
|
|
118
|
+
lg: societyDetail.isPersoAdress === '1' ? 4 : 8,
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
component: 'FormInputSelect', //'FormInputRadio',
|
|
122
|
+
text: 'Êtes-vous propriétaire ?',
|
|
123
|
+
value: 'professionnalRent',
|
|
124
|
+
meta: {
|
|
125
|
+
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
272
126
|
hideDetails: true,
|
|
273
127
|
},
|
|
128
|
+
condition: societyDetail.isPersoAdress === '1',
|
|
129
|
+
lg: 4,
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
component: 'FormInputSelect', //'FormInputRadio',
|
|
133
|
+
text: 'Avez-vous un bail commercial ?',
|
|
134
|
+
value: 'hasCommercialLease',
|
|
135
|
+
meta: {
|
|
136
|
+
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
137
|
+
hideDetails: true,
|
|
138
|
+
},
|
|
139
|
+
//TODO: conseil à afficher
|
|
140
|
+
condition: societyDetail.isPersoAdress !== '1',
|
|
141
|
+
lg: societyDetail.hasCommercialLease === '1' ? 4 : 12,
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
component: 'FormInputText',
|
|
145
|
+
text: 'Quelle est la surface approximative du local ?',
|
|
146
|
+
value: 'commercialArea',
|
|
147
|
+
type: 'number',
|
|
148
|
+
meta: {
|
|
149
|
+
suffix: 'm²',
|
|
150
|
+
hideDetails: true,
|
|
151
|
+
},
|
|
152
|
+
condition: societyDetail.isPersoAdress !== '1' && societyDetail.hasCommercialLease === '1',
|
|
153
|
+
lg: 4,
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
component: 'FormInputText',
|
|
157
|
+
text: 'Quel est le montant du loyer mensuel',
|
|
158
|
+
value: 'commercialRentAmount',
|
|
159
|
+
type: 'number',
|
|
160
|
+
meta: {
|
|
161
|
+
suffix: '€',
|
|
162
|
+
hideDetails: true,
|
|
163
|
+
},
|
|
164
|
+
condition: societyDetail.isPersoAdress !== '1' && societyDetail.hasCommercialLease === '1',
|
|
165
|
+
lg: 4,
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
component: 'FormInputSelect',
|
|
169
|
+
text: 'Utilisez-vous votre véhicule personnel dans le cadre de votre activité ?',
|
|
170
|
+
value: 'vehicle',
|
|
171
|
+
required: false,
|
|
172
|
+
meta: {
|
|
173
|
+
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
174
|
+
hideDetails: true,
|
|
175
|
+
},
|
|
176
|
+
lg: 4,
|
|
177
|
+
//TODO: conseil à afficher
|
|
274
178
|
},
|
|
275
179
|
{
|
|
276
180
|
component: 'FormInputSelect',
|
|
277
|
-
text: "Votre structure a-t-elle des participations dans d'autres sociétés
|
|
181
|
+
text: "Votre structure a-t-elle des participations dans d'autres sociétés ?",
|
|
278
182
|
value: 'interestOtherCompanies',
|
|
279
|
-
required: true,
|
|
280
183
|
meta: {
|
|
184
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
|
281
185
|
items: (0, exports.setRangeItems)(15).map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
282
186
|
hideDetails: true,
|
|
283
187
|
},
|
|
284
|
-
lg: 12,
|
|
188
|
+
lg: parseInt(societyDetail.interestOtherCompanies, 10) > 0 ? 4 : 12,
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
component: 'FormInputText',
|
|
192
|
+
text: 'Si oui, quels sont les noms des sociétés ?',
|
|
193
|
+
value: 'listCompaniesInterestedIn',
|
|
194
|
+
condition: parseInt(societyDetail.interestOtherCompanies, 10) > 0,
|
|
195
|
+
lg: parseInt(societyDetail.interestOtherCompanies, 10) > 0 ? 4 : 12,
|
|
285
196
|
},
|
|
286
197
|
{
|
|
198
|
+
//TODO: champ à créer
|
|
199
|
+
component: 'FormInputSelect', //'FormInputRadio',
|
|
200
|
+
text: `Sont-elles clientes chez ${brandName}`,
|
|
201
|
+
value: 'areOtherCompaniesOnOurBrand',
|
|
202
|
+
meta: {
|
|
203
|
+
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
204
|
+
hideDetails: true,
|
|
205
|
+
},
|
|
206
|
+
condition: parseInt(societyDetail.interestOtherCompanies, 10) > 0,
|
|
207
|
+
lg: parseInt(societyDetail.interestOtherCompanies, 10) > 0 ? 4 : 12,
|
|
208
|
+
//TODO: si non, conseil à afficher
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
//TODO: champ à créer
|
|
287
212
|
component: 'FormInputSelect',
|
|
213
|
+
text: 'Quels sont vos taux de TVA ?',
|
|
214
|
+
value: 'listTva',
|
|
215
|
+
meta: {
|
|
216
|
+
multiple: true,
|
|
217
|
+
items: Object.values(Vat_1.Vat)
|
|
218
|
+
.filter((v) => !v.isVatIntracom && !v.isVatImportation && v.immobilization)
|
|
219
|
+
.sort((a, b) => b.displayOrder - a.displayOrder),
|
|
220
|
+
itemText: 'name',
|
|
221
|
+
itemValue: 'id',
|
|
222
|
+
hideDetails: true,
|
|
223
|
+
},
|
|
224
|
+
lg: 4,
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
//TODO: champ à créer
|
|
228
|
+
component: 'FormInputSelect', //'FormInputRadio',
|
|
229
|
+
text: 'Votre compte impôts.gouv.fr a t-il été paramétré avec le RIB transmis au service facturation ?',
|
|
230
|
+
value: 'ribSentToTaxDepartment',
|
|
231
|
+
meta: {
|
|
232
|
+
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
233
|
+
hideDetails: true,
|
|
234
|
+
},
|
|
235
|
+
lg: 8,
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
//TRICK: insertion du bloc de DropBox de RIB
|
|
239
|
+
value: 'rib',
|
|
240
|
+
condition: societyDetail.ribSentToTaxDepartment === '0',
|
|
241
|
+
//TODO: conseil à afficher
|
|
242
|
+
lg: 4,
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
component: 'FormInputTextArea',
|
|
246
|
+
text: 'Remarques',
|
|
247
|
+
value: 'historyComments',
|
|
248
|
+
required: false,
|
|
249
|
+
meta: {
|
|
250
|
+
hideDetails: true,
|
|
251
|
+
},
|
|
252
|
+
lg: 12,
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
//TODO: champ à créer
|
|
256
|
+
component: 'FormInputSelect', //'FormInputRadio',
|
|
288
257
|
text: 'Avez-vous un logiciel de facturation ?',
|
|
289
258
|
value: 'hasBillingSoftware',
|
|
290
|
-
required: true,
|
|
291
259
|
meta: {
|
|
292
260
|
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
293
261
|
hideDetails: true,
|
|
294
262
|
},
|
|
295
|
-
lg:
|
|
263
|
+
lg: 4,
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
component: 'FormInputText',
|
|
267
|
+
text: 'Lequel ?',
|
|
268
|
+
value: 'billingSoftware',
|
|
269
|
+
//TODO: si non, conseil à afficher
|
|
270
|
+
lg: 4,
|
|
271
|
+
meta: {
|
|
272
|
+
hideDetails: true,
|
|
273
|
+
},
|
|
274
|
+
condition: societyDetail.hasBillingSoftware === '1',
|
|
296
275
|
},
|
|
297
276
|
{
|
|
298
277
|
component: 'FormInputSelect',
|
|
299
278
|
text: 'Quels sont les modes de réglements dont vous disposez ?',
|
|
300
279
|
value: 'collectionSystem',
|
|
301
|
-
required: true,
|
|
302
280
|
meta: {
|
|
303
|
-
multiple: true,
|
|
304
281
|
items: [
|
|
305
|
-
|
|
306
|
-
{ text: 'Virement bancaire', value: 'virement' },
|
|
282
|
+
//TODO: ajouter PayPal et Stripe ?
|
|
307
283
|
{ text: 'Chèque', value: 'cheque' },
|
|
308
|
-
{ text: '
|
|
284
|
+
{ text: 'Espèce', value: 'espece' },
|
|
285
|
+
{ text: 'Intermédiaire', value: 'intermediaire' },
|
|
286
|
+
{ text: 'Virement', value: 'virement' },
|
|
309
287
|
{ text: 'Prélèvement automatique', value: 'prelevement' },
|
|
288
|
+
{ text: 'Carte bancaire', value: 'carte bancaire' },
|
|
310
289
|
],
|
|
311
290
|
hideDetails: true,
|
|
312
291
|
},
|
|
313
|
-
lg:
|
|
292
|
+
lg: 4,
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
//TODO: champ à créer
|
|
296
|
+
component: 'FormInputSelect',
|
|
297
|
+
text: 'Où est situé le siège de l’entreprise ?',
|
|
298
|
+
value: 'officeType',
|
|
299
|
+
meta: {
|
|
300
|
+
items: [
|
|
301
|
+
{ text: 'Domicile', value: 'Domicile' },
|
|
302
|
+
{ text: 'Boîte de Domiciliation', value: 'Boîte de Domiciliation' },
|
|
303
|
+
{ text: 'Local ou Bureau', value: 'Local/Bureau' },
|
|
304
|
+
],
|
|
305
|
+
hideDetails: true,
|
|
306
|
+
},
|
|
307
|
+
//TODO: 3 conseils à afficher
|
|
308
|
+
lg: 4,
|
|
314
309
|
},
|
|
315
310
|
],
|
|
316
311
|
},
|
|
317
312
|
{
|
|
318
|
-
name: "Création d'entreprise
|
|
313
|
+
name: "Création d'entreprise",
|
|
314
|
+
display: isSocietyCreationCompute === true,
|
|
319
315
|
questions: [
|
|
320
316
|
{
|
|
321
|
-
component: 'FormInputSelect',
|
|
322
|
-
text: 'Avez-vous utilisé des apports personnels en capital lors de la création
|
|
317
|
+
component: 'FormInputSelect', //'FormInputRadio',
|
|
318
|
+
text: 'Avez-vous utilisé des apports personnels en capital lors de la création ?',
|
|
323
319
|
value: 'personnalContributionCapital',
|
|
324
|
-
required: true,
|
|
325
320
|
meta: {
|
|
326
321
|
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
327
322
|
hideDetails: true,
|
|
328
323
|
},
|
|
329
|
-
lg:
|
|
324
|
+
lg: 4,
|
|
330
325
|
},
|
|
331
326
|
{
|
|
332
|
-
component: 'FormInputSelect',
|
|
333
|
-
text: 'Avez-vous utilisé des apports personnels en compte courant lors de la création
|
|
327
|
+
component: 'FormInputSelect', //'FormInputRadio',
|
|
328
|
+
text: 'Avez-vous utilisé des apports personnels en compte courant lors de la création ?',
|
|
334
329
|
value: 'personnalContributionCurrentBankAccount',
|
|
335
|
-
required: true,
|
|
336
330
|
meta: {
|
|
337
331
|
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
338
332
|
hideDetails: true,
|
|
339
333
|
},
|
|
340
|
-
lg:
|
|
334
|
+
lg: 4,
|
|
341
335
|
},
|
|
342
336
|
{
|
|
343
|
-
component: 'FormInputSelect',
|
|
344
|
-
text:
|
|
337
|
+
component: 'FormInputSelect', //'FormInputRadio',
|
|
338
|
+
text: 'Avez-vous utilisé des apports personnels en nature lors de la création ?',
|
|
339
|
+
value: 'personnalContributionInKind',
|
|
340
|
+
meta: {
|
|
341
|
+
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
342
|
+
hideDetails: true,
|
|
343
|
+
},
|
|
344
|
+
lg: 4,
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
component: 'FormInputText',
|
|
348
|
+
text: 'Quelle activité exerciez-vous auparavant ?',
|
|
349
|
+
value: 'oldActivite',
|
|
350
|
+
meta: {
|
|
351
|
+
hideDetails: true,
|
|
352
|
+
},
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
component: 'FormInputSelect', //'FormInputRadio',
|
|
356
|
+
text: "Avez-vous bénéficié d'une rupture conventionnelle ou du versement d'une indemnité de licenciement dans le cadre de votre installation ?",
|
|
345
357
|
value: 'indemnite',
|
|
346
|
-
required:
|
|
358
|
+
required: false,
|
|
347
359
|
meta: {
|
|
348
360
|
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
349
361
|
hideDetails: true,
|
|
350
362
|
},
|
|
351
|
-
lg: 12,
|
|
352
363
|
},
|
|
353
364
|
{
|
|
354
|
-
component: 'FormInputSelect',
|
|
365
|
+
component: 'FormInputSelect', //'FormInputRadio',
|
|
366
|
+
text: "Bénéficiez vous de l'aide de Pôle Emploi ?",
|
|
367
|
+
value: 'poleEmploiAid',
|
|
368
|
+
required: false,
|
|
369
|
+
meta: {
|
|
370
|
+
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
371
|
+
hideDetails: true,
|
|
372
|
+
},
|
|
373
|
+
lg: societyDetail.poleEmploiAid === '1' ? 6 : 12,
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
component: 'FormInputText',
|
|
377
|
+
text: 'Si oui, option retenue ?',
|
|
378
|
+
value: 'poleEmploiAidType',
|
|
379
|
+
required: false,
|
|
380
|
+
meta: {
|
|
381
|
+
hideDetails: true,
|
|
382
|
+
},
|
|
383
|
+
condition: societyDetail.poleEmploiAid === '1',
|
|
384
|
+
lg: societyDetail.poleEmploiAid === '1' ? 6 : 12,
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
component: 'FormInputSelect', //'FormInputRadio',
|
|
355
388
|
text: "Avez-vous bénéficié d'un prêt d'honneur ?",
|
|
356
389
|
value: 'honorLoan',
|
|
357
|
-
required:
|
|
390
|
+
required: false,
|
|
358
391
|
meta: {
|
|
359
392
|
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
360
393
|
hideDetails: true,
|
|
361
394
|
},
|
|
362
|
-
lg: 12,
|
|
395
|
+
lg: societyDetail.honorLoan === '1' ? 6 : 12,
|
|
363
396
|
},
|
|
364
|
-
],
|
|
365
|
-
},
|
|
366
|
-
{
|
|
367
|
-
name: "Création d'entreprise (2/2)",
|
|
368
|
-
questions: [
|
|
369
397
|
{
|
|
370
|
-
component: '
|
|
371
|
-
text: "
|
|
398
|
+
component: 'FormInputText',
|
|
399
|
+
text: "Si oui, quel est le montant du prêt d'honneur ?",
|
|
400
|
+
value: 'honorLoanAmount',
|
|
401
|
+
type: 'number',
|
|
402
|
+
required: false,
|
|
403
|
+
meta: {
|
|
404
|
+
suffix: '€',
|
|
405
|
+
hideDetails: true,
|
|
406
|
+
},
|
|
407
|
+
condition: societyDetail.honorLoan === '1',
|
|
408
|
+
lg: societyDetail.honorLoan === '1' ? 6 : 12,
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
component: 'FormInputSelect', //'FormInputRadio',
|
|
412
|
+
text: "Allez-vous travailler à l'international ? (import ou export)",
|
|
372
413
|
value: 'workInternationnal',
|
|
373
|
-
required:
|
|
414
|
+
required: false,
|
|
374
415
|
meta: {
|
|
375
416
|
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
376
417
|
hideDetails: true,
|
|
377
418
|
},
|
|
378
|
-
lg:
|
|
419
|
+
lg: 4,
|
|
379
420
|
},
|
|
380
421
|
{
|
|
381
|
-
component: 'FormInputSelect',
|
|
382
|
-
text: 'Avez-vous
|
|
422
|
+
component: 'FormInputSelect', //'FormInputRadio',
|
|
423
|
+
text: 'Avez-vous dû financer un stock de départ ?',
|
|
383
424
|
value: 'financingStartingStock',
|
|
384
|
-
required:
|
|
425
|
+
required: false,
|
|
385
426
|
meta: {
|
|
386
427
|
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
387
428
|
hideDetails: true,
|
|
388
429
|
},
|
|
389
|
-
lg:
|
|
430
|
+
lg: societyDetail.financingStartingStock === '1' ? 4 : 8,
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
component: 'FormInputText',
|
|
434
|
+
text: 'Si oui, montant approximatif',
|
|
435
|
+
value: 'financingStartingStockAmount',
|
|
436
|
+
type: 'number',
|
|
437
|
+
required: false,
|
|
438
|
+
meta: {
|
|
439
|
+
suffix: '€',
|
|
440
|
+
hideDetails: true,
|
|
441
|
+
},
|
|
442
|
+
condition: societyDetail.financingStartingStock === '1',
|
|
443
|
+
lg: societyDetail.financingStartingStock === '1' ? 4 : 8,
|
|
390
444
|
},
|
|
391
445
|
{
|
|
446
|
+
//TODO: champ à créer
|
|
392
447
|
component: 'FormInputSelect',
|
|
393
448
|
text: "Quels sont vos types d'apport ?",
|
|
394
449
|
value: 'contributionTypes',
|
|
395
|
-
required: true,
|
|
396
450
|
meta: {
|
|
397
451
|
multiple: true,
|
|
398
452
|
items: [
|
|
399
|
-
{ text: 'Nature', value: 'nature' },
|
|
453
|
+
{ text: 'Nature', value: 'nature' }, //TODO: créer un ENUM
|
|
400
454
|
{ text: 'Numéraire', value: 'numeraire' },
|
|
401
455
|
{ text: 'Industriel', value: 'industriel' },
|
|
402
456
|
],
|
|
403
457
|
hideDetails: true,
|
|
404
458
|
},
|
|
405
|
-
lg:
|
|
459
|
+
lg: 4,
|
|
406
460
|
},
|
|
407
461
|
{
|
|
408
462
|
component: 'FormInputText',
|
|
409
|
-
text: "Chiffre d'affaires
|
|
463
|
+
text: "Chiffre d'affaires Prévisionnel ?",
|
|
410
464
|
value: 'previsionCa',
|
|
411
|
-
required: true,
|
|
412
465
|
meta: {
|
|
413
466
|
suffix: '€',
|
|
414
467
|
hideDetails: true,
|
|
415
468
|
},
|
|
416
|
-
lg:
|
|
469
|
+
lg: 4,
|
|
417
470
|
},
|
|
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
471
|
{
|
|
430
472
|
component: 'FormInputSelect',
|
|
431
|
-
text: '
|
|
473
|
+
text: 'Existe-t-il des emprunts en cours ?',
|
|
432
474
|
value: 'isLoans',
|
|
433
|
-
required: true,
|
|
434
475
|
meta: {
|
|
476
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
|
435
477
|
items: (0, exports.setRangeItems)(15).map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
436
478
|
hideDetails: true,
|
|
437
479
|
},
|
|
438
|
-
|
|
439
|
-
lg: 12,
|
|
480
|
+
lg: 4,
|
|
440
481
|
},
|
|
441
482
|
],
|
|
442
483
|
},
|
|
443
484
|
{
|
|
444
|
-
name:
|
|
485
|
+
name: 'Entreprise existante',
|
|
486
|
+
display: isSocietyCreationCompute === false,
|
|
445
487
|
questions: [
|
|
446
488
|
{
|
|
447
|
-
component: 'FormInputSelect',
|
|
448
|
-
text: '
|
|
449
|
-
value: '
|
|
450
|
-
required: true,
|
|
489
|
+
component: 'FormInputSelect', //'FormInputRadio',
|
|
490
|
+
text: 'Aviez-vous fait des investissements dans le cadre de la création de votre entreprise ?',
|
|
491
|
+
value: 'investissement',
|
|
451
492
|
meta: {
|
|
452
493
|
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
453
494
|
hideDetails: true,
|
|
454
495
|
},
|
|
455
|
-
lg:
|
|
496
|
+
lg: societyDetail.investissement === '1' ? 4 : 8,
|
|
456
497
|
},
|
|
457
498
|
{
|
|
499
|
+
//TODO: champ à créer
|
|
458
500
|
component: 'FormInputSelect',
|
|
459
|
-
text: '
|
|
460
|
-
value: '
|
|
461
|
-
|
|
501
|
+
text: 'De quelles natures ?',
|
|
502
|
+
value: 'investissementTypes',
|
|
503
|
+
meta: {
|
|
504
|
+
multiple: true,
|
|
505
|
+
items: [
|
|
506
|
+
{ text: 'Nature', value: 'nature' }, //TODO: créer un ENUM
|
|
507
|
+
{ text: 'Numéraire', value: 'numeraire' },
|
|
508
|
+
{ text: 'Industriel', value: 'industriel' },
|
|
509
|
+
],
|
|
510
|
+
hideDetails: true,
|
|
511
|
+
},
|
|
512
|
+
condition: societyDetail.investissement === '1',
|
|
513
|
+
lg: societyDetail.investissement === '1' ? 4 : 8,
|
|
514
|
+
},
|
|
515
|
+
{
|
|
516
|
+
component: 'FormInputSelect', //'FormInputRadio',
|
|
517
|
+
text: "Avez-vous des projets d'investissement à court ou moyen terme ?",
|
|
518
|
+
value: 'investissementCTMT',
|
|
462
519
|
meta: {
|
|
463
520
|
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
464
521
|
hideDetails: true,
|
|
465
522
|
},
|
|
466
|
-
lg:
|
|
523
|
+
lg: 4,
|
|
467
524
|
},
|
|
468
525
|
{
|
|
469
|
-
component: 'FormInputSelect',
|
|
470
|
-
text: '
|
|
471
|
-
value: '
|
|
472
|
-
required: true,
|
|
526
|
+
component: 'FormInputSelect', //'FormInputRadio',
|
|
527
|
+
text: 'Avez-vous déjà eu des contrôles fiscaux ?',
|
|
528
|
+
value: 'fiscalControl',
|
|
473
529
|
meta: {
|
|
474
530
|
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
475
531
|
hideDetails: true,
|
|
476
532
|
},
|
|
477
|
-
lg:
|
|
533
|
+
lg: 4,
|
|
478
534
|
},
|
|
479
535
|
{
|
|
480
536
|
component: 'FormInputSelect',
|
|
481
|
-
text: '
|
|
482
|
-
value: '
|
|
483
|
-
required: true,
|
|
537
|
+
text: 'Existe-t-il des emprunts en cours ?',
|
|
538
|
+
value: 'borrowingInProgress',
|
|
484
539
|
meta: {
|
|
485
|
-
|
|
540
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
|
541
|
+
items: (0, exports.setRangeItems)(15).map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
486
542
|
hideDetails: true,
|
|
487
543
|
},
|
|
488
|
-
lg:
|
|
544
|
+
lg: 4,
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
//TODO: champ à créer
|
|
548
|
+
component: 'FormInputSelect',
|
|
549
|
+
text: "Quel(s) est/sont le(s) motif(s) de votre changement d'Expert-Comptable ?",
|
|
550
|
+
value: 'listReasonsWhyChangingEC',
|
|
551
|
+
meta: {
|
|
552
|
+
multiple: true,
|
|
553
|
+
items: [
|
|
554
|
+
{ text: 'Litige', value: 'litige' },
|
|
555
|
+
{ text: 'Impayé', value: 'impayé' },
|
|
556
|
+
{ text: 'Pas réactif', value: 'pas réactif' },
|
|
557
|
+
{ text: 'Manque de conseil', value: 'manque de conseil' },
|
|
558
|
+
{ text: 'Proximité', value: 'proximité' },
|
|
559
|
+
{ text: 'Prix', value: 'prix' },
|
|
560
|
+
{ text: 'Non Concerné', value: 'nc' },
|
|
561
|
+
],
|
|
562
|
+
hideDetails: true,
|
|
563
|
+
},
|
|
564
|
+
lg: 4,
|
|
489
565
|
},
|
|
490
566
|
],
|
|
491
567
|
},
|
|
492
568
|
{
|
|
493
|
-
name: "Découverte
|
|
569
|
+
name: "Découverte chef d'entreprise",
|
|
494
570
|
questions: [
|
|
495
571
|
{
|
|
496
|
-
component: 'FormInputSelect',
|
|
497
|
-
text:
|
|
498
|
-
value: '
|
|
499
|
-
required: true,
|
|
572
|
+
component: 'FormInputSelect', //'FormInputRadio',
|
|
573
|
+
text: 'Avez-vous suivi une formation particulière en lien avec votre activité ?',
|
|
574
|
+
value: 'descriptionFormation',
|
|
500
575
|
meta: {
|
|
501
|
-
items:
|
|
576
|
+
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
502
577
|
hideDetails: true,
|
|
503
578
|
},
|
|
504
|
-
lg:
|
|
579
|
+
lg: 6,
|
|
580
|
+
//TODO: si non, conseil à afficher
|
|
505
581
|
},
|
|
506
582
|
{
|
|
507
|
-
component: 'FormInputSelect',
|
|
508
|
-
text:
|
|
583
|
+
component: 'FormInputSelect', //'FormInputRadio',
|
|
584
|
+
text: 'Avez-vous des connaissances de gestion ?',
|
|
509
585
|
value: 'managementKnowledge',
|
|
510
|
-
required: true,
|
|
511
586
|
meta: {
|
|
512
587
|
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
513
588
|
hideDetails: true,
|
|
514
589
|
},
|
|
515
|
-
lg:
|
|
590
|
+
lg: 6,
|
|
516
591
|
},
|
|
517
592
|
{
|
|
518
|
-
component: 'FormInputSelect',
|
|
593
|
+
component: 'FormInputSelect', //'FormInputRadio',
|
|
594
|
+
text: 'Avez-vous des responsabilités politiques ?',
|
|
595
|
+
value: 'politicalResponsability',
|
|
596
|
+
meta: {
|
|
597
|
+
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
598
|
+
hideDetails: true,
|
|
599
|
+
},
|
|
600
|
+
lg: 6,
|
|
601
|
+
},
|
|
602
|
+
{
|
|
603
|
+
component: 'FormInputSelect', //'FormInputRadio',
|
|
519
604
|
text: "Avez-vous des participations dans d'autres sociétés ?",
|
|
520
605
|
value: 'participationsInOtherSociety',
|
|
521
|
-
required: true,
|
|
522
606
|
meta: {
|
|
523
607
|
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
524
608
|
hideDetails: true,
|
|
525
609
|
},
|
|
526
|
-
lg:
|
|
610
|
+
lg: 6,
|
|
527
611
|
},
|
|
528
612
|
{
|
|
529
|
-
component: 'FormInputSelect',
|
|
530
|
-
text: 'Êtes-vous
|
|
613
|
+
component: 'FormInputSelect', //'FormInputRadio',
|
|
614
|
+
text: 'Êtes-vous résident fiscal français ?',
|
|
615
|
+
value: 'frenchTaxResident',
|
|
616
|
+
meta: {
|
|
617
|
+
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
618
|
+
hideDetails: true,
|
|
619
|
+
},
|
|
620
|
+
lg: 6,
|
|
621
|
+
},
|
|
622
|
+
{
|
|
623
|
+
component: 'FormInputSelect', //'FormInputRadio',
|
|
624
|
+
text: 'Êtes-vous interdit bancaire ?',
|
|
531
625
|
value: 'prohibitedBanking',
|
|
532
|
-
required: true,
|
|
533
626
|
meta: {
|
|
534
627
|
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
535
628
|
hideDetails: true,
|
|
536
629
|
},
|
|
537
|
-
lg:
|
|
630
|
+
lg: 6,
|
|
538
631
|
},
|
|
539
632
|
{
|
|
540
|
-
component: 'FormInputSelect',
|
|
541
|
-
text:
|
|
633
|
+
component: 'FormInputSelect', //'FormInputRadio',
|
|
634
|
+
text: 'Êtes-vous en redressement judiciaire ?',
|
|
635
|
+
value: 'judiciaryRecovery',
|
|
636
|
+
meta: {
|
|
637
|
+
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
638
|
+
hideDetails: true,
|
|
639
|
+
},
|
|
640
|
+
lg: 6,
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
component: 'FormInputSelect', //'FormInputRadio',
|
|
644
|
+
text: `Êtes-vous imposable au titre de l'IR ${dayjs().subtract(2, 'year').format('YYYY')}/${dayjs()
|
|
645
|
+
.subtract(1, 'year')
|
|
646
|
+
.format('YYYY')} ?`,
|
|
542
647
|
value: 'isIrTaxable',
|
|
543
|
-
required: true,
|
|
544
648
|
meta: {
|
|
545
649
|
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
546
650
|
hideDetails: true,
|
|
547
651
|
},
|
|
548
|
-
lg:
|
|
652
|
+
lg: 6,
|
|
653
|
+
},
|
|
654
|
+
{
|
|
655
|
+
//TODO: champ à créer
|
|
656
|
+
component: 'FormInputSelect',
|
|
657
|
+
text: "Quelle est votre fonction dans l'entreprise ?",
|
|
658
|
+
value: 'listQualities',
|
|
659
|
+
meta: {
|
|
660
|
+
multiple: true,
|
|
661
|
+
items: Object.values(Quality_1.QualityList).sort((a, b) => (a.label > b.label ? 1 : -1)),
|
|
662
|
+
itemText: 'label',
|
|
663
|
+
itemValue: 'id',
|
|
664
|
+
hideDetails: true,
|
|
665
|
+
},
|
|
666
|
+
lg: 6,
|
|
667
|
+
},
|
|
668
|
+
],
|
|
669
|
+
},
|
|
670
|
+
{
|
|
671
|
+
name: 'Organisation',
|
|
672
|
+
questions: [
|
|
673
|
+
{
|
|
674
|
+
//TODO: champ à créer
|
|
675
|
+
component: 'FormInputSelect',
|
|
676
|
+
text: 'En combien de temps vos clients vous règlent-ils ?',
|
|
677
|
+
value: 'averageCustomerRegulationTime',
|
|
678
|
+
meta: {
|
|
679
|
+
items: Constants_1.AverageTimeItems,
|
|
680
|
+
hideDetails: true,
|
|
681
|
+
},
|
|
682
|
+
},
|
|
683
|
+
{
|
|
684
|
+
//TODO: champ à créer
|
|
685
|
+
component: 'FormInputSelect',
|
|
686
|
+
text: 'En combien de temps réglez-vous vos fournisseurs ?',
|
|
687
|
+
value: 'averageSupplierRegulationTime',
|
|
688
|
+
meta: {
|
|
689
|
+
items: Constants_1.AverageTimeItems,
|
|
690
|
+
hideDetails: true,
|
|
691
|
+
},
|
|
692
|
+
},
|
|
693
|
+
{
|
|
694
|
+
component: 'FormInputSelect', //'FormInputRadio',
|
|
695
|
+
text: 'Classez-vous vos pièces comptables (factures d’achats par mois, etc ...) ?',
|
|
696
|
+
value: 'rankFiles',
|
|
697
|
+
meta: {
|
|
698
|
+
items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
|
|
699
|
+
hideDetails: true,
|
|
700
|
+
},
|
|
701
|
+
},
|
|
702
|
+
],
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
name: 'Assurance',
|
|
706
|
+
questions: [
|
|
707
|
+
{
|
|
708
|
+
component: 'FormInputSwitch', //'FormInputRadio',
|
|
709
|
+
text: 'Êtes-vous indemnisé par l’assurance chômage ?',
|
|
710
|
+
value: 'unemploymentInsurance',
|
|
711
|
+
meta: {
|
|
712
|
+
hideDetails: true,
|
|
713
|
+
},
|
|
714
|
+
lg: 6,
|
|
715
|
+
},
|
|
716
|
+
{
|
|
717
|
+
component: 'FormInputSwitch', //'FormInputRadio',
|
|
718
|
+
text: 'Avez-vous une couverture mutuelle ?',
|
|
719
|
+
value: 'hasMutualInsurance',
|
|
720
|
+
meta: {
|
|
721
|
+
hideDetails: true,
|
|
722
|
+
},
|
|
723
|
+
lg: 6,
|
|
724
|
+
},
|
|
725
|
+
{
|
|
726
|
+
component: 'FormInputSwitch', //'FormInputRadio',
|
|
727
|
+
text: 'Avez-vous une responsabilité civile professionnelle (RC Pro) ?',
|
|
728
|
+
value: 'hasProfessionalLiabilityInsurance',
|
|
729
|
+
meta: {
|
|
730
|
+
hideDetails: true,
|
|
731
|
+
},
|
|
732
|
+
lg: 6,
|
|
733
|
+
},
|
|
734
|
+
{
|
|
735
|
+
component: 'FormInputSwitch', //'FormInputRadio',
|
|
736
|
+
text: 'Souhaitez-vous faire un audit de vos contracts d’assurances ?',
|
|
737
|
+
value: 'insuranceContractAudit',
|
|
738
|
+
meta: {
|
|
739
|
+
hideDetails: true,
|
|
740
|
+
},
|
|
741
|
+
lg: 6,
|
|
742
|
+
},
|
|
743
|
+
],
|
|
744
|
+
},
|
|
745
|
+
{
|
|
746
|
+
name: 'Conclusion',
|
|
747
|
+
questions: [
|
|
748
|
+
{
|
|
749
|
+
component: 'FormInputText',
|
|
750
|
+
text: 'Avez-vous des besoins spécifiques ?',
|
|
751
|
+
value: 'specificNeeds',
|
|
752
|
+
meta: {
|
|
753
|
+
hideDetails: true,
|
|
754
|
+
},
|
|
755
|
+
},
|
|
756
|
+
{
|
|
757
|
+
component: 'FormInputTextArea',
|
|
758
|
+
text: 'Commentaires généraux',
|
|
759
|
+
value: 'remarqueComment',
|
|
760
|
+
meta: {
|
|
761
|
+
hideDetails: true,
|
|
762
|
+
},
|
|
763
|
+
},
|
|
764
|
+
{
|
|
765
|
+
component: 'FormInputSelect',
|
|
766
|
+
text: 'Comment nous avez-vous connu ?',
|
|
767
|
+
meta: {
|
|
768
|
+
items: Constants_1.ClementineSources,
|
|
769
|
+
hideDetails: true,
|
|
770
|
+
},
|
|
771
|
+
value: 'idFindClementine',
|
|
549
772
|
},
|
|
550
773
|
],
|
|
551
774
|
},
|