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