@silexpert/core 1.2.9 → 1.2.11
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/TimeRecorder.d.ts +2 -2
- package/dist/cjs/api/resources/TimeRecorder.d.ts.map +1 -1
- package/dist/cjs/api/resources/TimeRecorder.js +4 -4
- package/dist/cjs/api/resources/TimeRecorder.js.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheetQuestion.d.ts +1 -0
- package/dist/cjs/types/Enum/BalanceSheetQuestion.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheetQuestion.js +1 -0
- package/dist/cjs/types/Enum/BalanceSheetQuestion.js.map +1 -1
- package/dist/cjs/types/Enum/BrandClementine.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BrandClementine.js +5 -1
- package/dist/cjs/types/Enum/BrandClementine.js.map +1 -1
- package/dist/cjs/types/Enum/BrandLegalstart.js +1 -1
- package/dist/cjs/types/Enum/BrandLegalstart.js.map +1 -1
- package/dist/cjs/types/Enum/IncomeStatement.js +1 -1
- package/dist/cjs/types/Enum/IncomeStatement.js.map +1 -1
- package/dist/cjs/utils/checklist.d.ts.map +1 -1
- package/dist/cjs/utils/checklist.js +5 -1
- package/dist/cjs/utils/checklist.js.map +1 -1
- package/dist/cjs/utils/commercialManagement/internationalization/choices.js +27 -27
- package/dist/cjs/utils/commercialManagement/internationalization/choices.js.map +1 -1
- package/dist/mjs/api/resources/TimeRecorder.d.ts +2 -2
- package/dist/mjs/api/resources/TimeRecorder.d.ts.map +1 -1
- package/dist/mjs/api/resources/TimeRecorder.js +4 -4
- package/dist/mjs/api/resources/TimeRecorder.js.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheetQuestion.d.ts +1 -0
- package/dist/mjs/types/Enum/BalanceSheetQuestion.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheetQuestion.js +1 -0
- package/dist/mjs/types/Enum/BalanceSheetQuestion.js.map +1 -1
- package/dist/mjs/types/Enum/BrandClementine.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BrandClementine.js +5 -1
- package/dist/mjs/types/Enum/BrandClementine.js.map +1 -1
- package/dist/mjs/types/Enum/BrandLegalstart.js +1 -1
- package/dist/mjs/types/Enum/BrandLegalstart.js.map +1 -1
- package/dist/mjs/types/Enum/IncomeStatement.js +1 -1
- package/dist/mjs/types/Enum/IncomeStatement.js.map +1 -1
- package/dist/mjs/utils/checklist.d.ts.map +1 -1
- package/dist/mjs/utils/checklist.js +5 -1
- package/dist/mjs/utils/checklist.js.map +1 -1
- package/dist/mjs/utils/commercialManagement/internationalization/choices.js +27 -27
- package/dist/mjs/utils/commercialManagement/internationalization/choices.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/TimeRecorder.ts +4 -4
- package/ts/types/Enum/BalanceSheetQuestion.ts +1 -0
- package/ts/types/Enum/BrandClementine.ts +5 -1
- package/ts/types/Enum/BrandLegalstart.ts +1 -1
- package/ts/types/Enum/IncomeStatement.ts +1 -1
- package/ts/utils/checklist.ts +5 -1
- package/ts/utils/commercialManagement/internationalization/choices.ts +27 -27
|
@@ -128,7 +128,8 @@ export const BrandClementine: Brand[] = [
|
|
|
128
128
|
commercialName: 'Clementine',
|
|
129
129
|
urlS3: 'https://s3.eu-west-3.amazonaws.com/resources-clementine/',
|
|
130
130
|
colors: {
|
|
131
|
-
primary: '#
|
|
131
|
+
primary: '#5363EC',
|
|
132
|
+
primary500: '#5363EC',
|
|
132
133
|
footerColor: '#f3692f',
|
|
133
134
|
},
|
|
134
135
|
listPhones: {
|
|
@@ -201,6 +202,7 @@ export const BrandClementine: Brand[] = [
|
|
|
201
202
|
},
|
|
202
203
|
colors: {
|
|
203
204
|
primary: '#D8192D',
|
|
205
|
+
primary500: '#D8192D',
|
|
204
206
|
sendContract: '#f3692f',
|
|
205
207
|
},
|
|
206
208
|
internalInvoicing: {
|
|
@@ -234,6 +236,7 @@ export const BrandClementine: Brand[] = [
|
|
|
234
236
|
},
|
|
235
237
|
colors: {
|
|
236
238
|
primary: '#f39a00',
|
|
239
|
+
primary500: '#f39a00',
|
|
237
240
|
footerColor: '#f3692f',
|
|
238
241
|
},
|
|
239
242
|
internalInvoicing: {
|
|
@@ -311,6 +314,7 @@ export const BrandClementine: Brand[] = [
|
|
|
311
314
|
},
|
|
312
315
|
colors: {
|
|
313
316
|
primary: '#38A1FF',
|
|
317
|
+
primary500: '#38A1FF',
|
|
314
318
|
footerColor: '#00A2FF',
|
|
315
319
|
},
|
|
316
320
|
internalInvoicing: {
|
|
@@ -10,7 +10,7 @@ export const BrandLegalstart: Brand[] = [
|
|
|
10
10
|
logoS3: 'config/55624137-0c29-5f16-a079-b2904a6f9e7b.svg',
|
|
11
11
|
privacyPolicy: 'https://www.legalstart.fr/corp/vie-privee/',
|
|
12
12
|
colors: {
|
|
13
|
-
primary: '#
|
|
13
|
+
primary: '#5363EC',
|
|
14
14
|
primary50: '#ECF1FF',
|
|
15
15
|
primary100: '#DFE7FF',
|
|
16
16
|
primary300: '#C0D1FA',
|
|
@@ -165,7 +165,7 @@ export const INCOME_STATEMENT_LIST: IncomeStatement[] = [
|
|
|
165
165
|
{
|
|
166
166
|
name: 'Autres intérêts et produits assimilés',
|
|
167
167
|
total: 0,
|
|
168
|
-
accounts: ['763', '764', '765', '768'],
|
|
168
|
+
accounts: ['760', '763', '764', '765', '768'],
|
|
169
169
|
},
|
|
170
170
|
{
|
|
171
171
|
name: 'Reprises sur dépréciations, provisions et transferts de charges financières',
|
package/ts/utils/checklist.ts
CHANGED
|
@@ -10,6 +10,10 @@ export function getAllBlockingIssues(checklist: IChecklist, meta: QueryGetAllBlo
|
|
|
10
10
|
|
|
11
11
|
blockingQuestions.forEach((question) => {
|
|
12
12
|
const answer = answers.find((a) => a.idTypeChecklist === question.id);
|
|
13
|
+
if (question.id === 51) {
|
|
14
|
+
console.log(question);
|
|
15
|
+
console.log(answer);
|
|
16
|
+
}
|
|
13
17
|
|
|
14
18
|
if (!answer) {
|
|
15
19
|
blockingIssues.push(question);
|
|
@@ -33,7 +37,7 @@ export function getAllBlockingIssues(checklist: IChecklist, meta: QueryGetAllBlo
|
|
|
33
37
|
blockingIssues.push(question);
|
|
34
38
|
}
|
|
35
39
|
} else if ([ChecklistDetailType.SELECT as string, ChecklistDetailType.SWITCH].includes(question.type) && question.name !== ChecklistDetailName.HAS_POLICE) {
|
|
36
|
-
if (!answer.value || answer.value === '0') {
|
|
40
|
+
if ((!answer.value && (question.name !== ChecklistDetailName.IS_WAITING_ACCOUNT_RESET && question.name !== ChecklistDetailName.HAS_CLEARED_INTERNAL_TRANSFER)) || answer.value === '0') {
|
|
37
41
|
blockingIssues.push(question);
|
|
38
42
|
}
|
|
39
43
|
}
|
|
@@ -243,18 +243,18 @@ export const internationalizationChoices: InternationalizationChoicesType = {
|
|
|
243
243
|
vatMention: [
|
|
244
244
|
'Not affected',
|
|
245
245
|
'Not applicable',
|
|
246
|
-
'VAT not applicable, art. 293 B of the FGTC',
|
|
247
|
-
'VAT not applicable - Exports outside the EU - Art. 259-1 FGTC',
|
|
248
|
-
'Not subject to VAT
|
|
249
|
-
'Article
|
|
250
|
-
'VAT exemption, article 283-2 of the French General Tax Code',
|
|
251
|
-
'VAT exemption: Article 262 ter I of the FGTC',
|
|
252
|
-
'VAT notice 261.4.4 1 of the FGTC',
|
|
253
|
-
'
|
|
254
|
-
'
|
|
255
|
-
'
|
|
256
|
-
'
|
|
257
|
-
'Invoice subject to VAT reverse charge system',
|
|
246
|
+
'VAT not applicable, art. 293 B of the French General Tax Code (FGTC)',
|
|
247
|
+
'VAT not applicable - Exports outside the EU - Art. 259-1 of the French General Tax Code (FGTC)',
|
|
248
|
+
'Not subject to VAT according to article 261C of the French General Tax Code (FGTC)',
|
|
249
|
+
'Article 261D of the French General Tax Code (FGTC)',
|
|
250
|
+
'VAT exemption, article 283-2 of the French General Tax Code (FGTC)',
|
|
251
|
+
'VAT exemption: Article 262 ter I of the French General Tax Code (FGTC)',
|
|
252
|
+
'VAT notice 261.4.4 1 of the French General Tax Code (FGTC)',
|
|
253
|
+
'Specific regime - Second-hand goods - article 297 A of the French General Tax Code (FGTC) and Community Directive 2006/112/EC',
|
|
254
|
+
'Specific regime - Works of art - article 297 A of the French General Tax Code (FGTC) and Community Directive 2006/112/EC',
|
|
255
|
+
'Specific regime – Collectibles and antiques - article 297 A of the French General Tax Code (FGTC) and Community Directive 2006/112/EC',
|
|
256
|
+
'Specific regime - Travel agencies - article 297 A of the French General Tax Code (FGTC) and Community Directive 2006/112/EC',
|
|
257
|
+
' Invoice subject to VAT reverse charge system',
|
|
258
258
|
],
|
|
259
259
|
recoveryCost: [
|
|
260
260
|
'Not applicable',
|
|
@@ -264,7 +264,7 @@ export const internationalizationChoices: InternationalizationChoicesType = {
|
|
|
264
264
|
'Credit card',
|
|
265
265
|
'Check',
|
|
266
266
|
'Cash',
|
|
267
|
-
'
|
|
267
|
+
'Direct debit',
|
|
268
268
|
'Bank transfer',
|
|
269
269
|
],
|
|
270
270
|
},
|
|
@@ -272,13 +272,13 @@ export const internationalizationChoices: InternationalizationChoicesType = {
|
|
|
272
272
|
template: {
|
|
273
273
|
common: {
|
|
274
274
|
headers: {
|
|
275
|
-
emissionDate: '
|
|
275
|
+
emissionDate: 'Invoice date',
|
|
276
276
|
accountingCategory: {
|
|
277
|
-
title: '
|
|
277
|
+
title: 'Transaction type',
|
|
278
278
|
choices: [
|
|
279
|
-
{ id: AccountingCategoryId.DELIVERY_OF_GOOD, label: '
|
|
280
|
-
{ id: AccountingCategoryId.SERVICE_DELIVERY, label: 'Services
|
|
281
|
-
{ id: AccountingCategoryId.GOOD_AND_SERVICE, label: 'Services and goods
|
|
279
|
+
{ id: AccountingCategoryId.DELIVERY_OF_GOOD, label: 'supply of goods' },
|
|
280
|
+
{ id: AccountingCategoryId.SERVICE_DELIVERY, label: 'Services provision' },
|
|
281
|
+
{ id: AccountingCategoryId.GOOD_AND_SERVICE, label: 'Services provision and supply of goods' },
|
|
282
282
|
],
|
|
283
283
|
},
|
|
284
284
|
},
|
|
@@ -289,16 +289,16 @@ export const internationalizationChoices: InternationalizationChoicesType = {
|
|
|
289
289
|
marginVat: 'VAT margin scheme',
|
|
290
290
|
legalVatMention: 'ART 297-A of the FGTC or directive 2006-212 EC',
|
|
291
291
|
shouldPayTaxAfterDebit: 'Option to pay tax on debits',
|
|
292
|
-
penalties: 'Late
|
|
292
|
+
penalties: 'Late fees',
|
|
293
293
|
discount: 'discount',
|
|
294
|
-
recoveryCosts: '
|
|
294
|
+
recoveryCosts: 'flat-rate delay compensation',
|
|
295
295
|
generate: 'Created by',
|
|
296
296
|
},
|
|
297
297
|
options: {
|
|
298
298
|
vatMention: 'VAT mention',
|
|
299
299
|
paymentType: 'payment type',
|
|
300
300
|
bank: 'BANK',
|
|
301
|
-
approval: '
|
|
301
|
+
approval: 'Agreed and signed',
|
|
302
302
|
comment: 'Comment',
|
|
303
303
|
|
|
304
304
|
},
|
|
@@ -315,7 +315,7 @@ export const internationalizationChoices: InternationalizationChoicesType = {
|
|
|
315
315
|
base: 'Base',
|
|
316
316
|
rate: 'Rate',
|
|
317
317
|
vatAmount: 'VAT amount',
|
|
318
|
-
recap: '
|
|
318
|
+
recap: 'Summary',
|
|
319
319
|
},
|
|
320
320
|
lines: {
|
|
321
321
|
totalHt: 'Amount excl. tax',
|
|
@@ -337,7 +337,7 @@ export const internationalizationChoices: InternationalizationChoicesType = {
|
|
|
337
337
|
},
|
|
338
338
|
estimate: {
|
|
339
339
|
headers: {
|
|
340
|
-
title: '
|
|
340
|
+
title: 'Quotation',
|
|
341
341
|
dueDate: 'Valid until',
|
|
342
342
|
termsOfPayment: 'Term of payment',
|
|
343
343
|
},
|
|
@@ -352,21 +352,21 @@ export const internationalizationChoices: InternationalizationChoicesType = {
|
|
|
352
352
|
},
|
|
353
353
|
deposit: {
|
|
354
354
|
headers: {
|
|
355
|
-
title: 'Deposit',
|
|
356
|
-
expirationDate: '
|
|
355
|
+
title: 'Deposit invoice',
|
|
356
|
+
expirationDate: 'expiry date',
|
|
357
357
|
termsOfPayment: 'Deadline for payment',
|
|
358
358
|
},
|
|
359
359
|
},
|
|
360
360
|
asset: {
|
|
361
361
|
headers: {
|
|
362
|
-
title: '
|
|
362
|
+
title: 'Credit note',
|
|
363
363
|
dueDate: 'Due date',
|
|
364
364
|
termsOfPayment: 'Deadline for payment',
|
|
365
365
|
},
|
|
366
366
|
},
|
|
367
367
|
remainder: {
|
|
368
368
|
headers: {
|
|
369
|
-
title: '
|
|
369
|
+
title: 'Balance invoice',
|
|
370
370
|
dueDate: 'Due date',
|
|
371
371
|
termsOfPayment: 'Deadline for payment',
|
|
372
372
|
},
|