@silexpert/core 1.1.61 → 1.1.64
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/es/api/resources/GeneralLedger.d.ts +3 -1
- package/es/api/resources/GeneralLedger.d.ts.map +1 -1
- package/es/api/resources/GeneralLedger.js +6 -0
- package/es/api/resources/GeneralLedger.js.map +1 -1
- package/es/api/resources/Society.d.ts +1 -0
- package/es/api/resources/Society.d.ts.map +1 -1
- package/es/api/resources/Society.js +3 -0
- package/es/api/resources/Society.js.map +1 -1
- package/es/api/resources/User.d.ts +8 -1
- package/es/api/resources/User.d.ts.map +1 -1
- package/es/api/resources/User.js +9 -0
- package/es/api/resources/User.js.map +1 -1
- package/es/types/Enum/BalanceSheet.d.ts +38 -3
- package/es/types/Enum/BalanceSheet.d.ts.map +1 -1
- package/es/types/Enum/BalanceSheet.js +42 -2
- package/es/types/Enum/BalanceSheet.js.map +1 -1
- package/es/types/Enum/BankCollectingState.d.ts +4 -1
- package/es/types/Enum/BankCollectingState.d.ts.map +1 -1
- package/es/types/Enum/BankCollectingState.js +16 -1
- package/es/types/Enum/BankCollectingState.js.map +1 -1
- package/es/types/Enum/Supervision.d.ts +8 -1
- package/es/types/Enum/Supervision.d.ts.map +1 -1
- package/es/types/Enum/Supervision.js +51 -0
- package/es/types/Enum/Supervision.js.map +1 -1
- package/es/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts +13 -0
- package/es/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts.map +1 -1
- package/es/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.js +28 -1
- package/es/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.js.map +1 -1
- package/es/types/Interface/api/statistic/ExitRequest.d.ts +2 -0
- package/es/types/Interface/api/statistic/ExitRequest.d.ts.map +1 -1
- package/es/types/Interface/api/statistic/ExitRequest.js.map +1 -1
- package/es/types/Interface/api/user/QuerySocieties.d.ts +4 -0
- package/es/types/Interface/api/user/QuerySocieties.d.ts.map +1 -1
- package/es/types/Interface/api/user/QuerySocieties.js +10 -0
- package/es/types/Interface/api/user/QuerySocieties.js.map +1 -1
- package/es/utils/vat/3310/century23.d.ts.map +1 -1
- package/es/utils/vat/3310/century23.js +28 -31
- package/es/utils/vat/3310/century23.js.map +1 -1
- package/es/utils/vat/3514/century23.d.ts.map +1 -1
- package/es/utils/vat/3514/century23.js +28 -31
- package/es/utils/vat/3514/century23.js.map +1 -1
- package/es/utils/vat/3517/century23.d.ts.map +1 -1
- package/es/utils/vat/3517/century23.js +99 -107
- package/es/utils/vat/3517/century23.js.map +1 -1
- package/es/utils/vat/3519/century23.d.ts.map +1 -1
- package/es/utils/vat/3519/century23.js +69 -70
- package/es/utils/vat/3519/century23.js.map +1 -1
- package/js/api/resources/GeneralLedger.js +10 -0
- package/js/api/resources/GeneralLedger.js.map +1 -1
- package/js/api/resources/Society.js +3 -0
- package/js/api/resources/Society.js.map +1 -1
- package/js/api/resources/User.js +11 -0
- package/js/api/resources/User.js.map +1 -1
- package/js/types/Enum/BalanceSheet.js +37 -2
- package/js/types/Enum/BalanceSheet.js.map +1 -1
- package/js/types/Enum/BankCollectingState.js +18 -4
- package/js/types/Enum/BankCollectingState.js.map +1 -1
- package/js/types/Enum/Supervision.js +42 -0
- package/js/types/Enum/Supervision.js.map +1 -1
- package/js/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.js +18 -0
- package/js/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.js.map +1 -1
- package/js/types/Interface/api/statistic/ExitRequest.js.map +1 -1
- package/js/types/Interface/api/user/QuerySocieties.js +6 -1
- package/js/types/Interface/api/user/QuerySocieties.js.map +1 -1
- package/js/utils/vat/3310/century23.js +23 -28
- package/js/utils/vat/3310/century23.js.map +1 -1
- package/js/utils/vat/3514/century23.js +22 -27
- package/js/utils/vat/3514/century23.js.map +1 -1
- package/js/utils/vat/3517/century23.js +85 -95
- package/js/utils/vat/3517/century23.js.map +1 -1
- package/js/utils/vat/3519/century23.js +60 -65
- package/js/utils/vat/3519/century23.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/GeneralLedger.ts +9 -1
- package/ts/api/resources/Society.ts +4 -0
- package/ts/api/resources/User.ts +13 -1
- package/ts/types/Enum/BalanceSheet.ts +42 -2
- package/ts/types/Enum/BankCollectingState.ts +17 -1
- package/ts/types/Enum/Supervision.ts +53 -1
- package/ts/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.ts +25 -0
- package/ts/types/Interface/api/statistic/ExitRequest.ts +3 -1
- package/ts/types/Interface/api/user/QuerySocieties.ts +9 -0
- package/ts/utils/vat/3310/century23.ts +28 -31
- package/ts/utils/vat/3514/century23.ts +28 -31
- package/ts/utils/vat/3517/century23.ts +98 -109
- package/ts/utils/vat/3519/century23.ts +68 -69
|
@@ -17,38 +17,35 @@ export function getCerfa3514Century23RegistrationFields(data: Cerfa3514_2022): A
|
|
|
17
17
|
},
|
|
18
18
|
{
|
|
19
19
|
key: 'CB',
|
|
20
|
-
|
|
20
|
+
value: null,
|
|
21
21
|
isMultiple: false,
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
isMultiple: false,
|
|
50
|
-
description: 'Commentaires type 1, ligne 5 (FTX)',
|
|
51
|
-
value: comment && (comment?.length ?? 0) > 2048 ? textFormatting(comment.slice(2048, 2560)) : null,
|
|
22
|
+
tags: [
|
|
23
|
+
{
|
|
24
|
+
tag: 'TexteLibre1',
|
|
25
|
+
description: 'Commentaires type 1, ligne 1 (FTX)',
|
|
26
|
+
value: textFormatting(comment, 512),
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
tag: 'TexteLibre2',
|
|
30
|
+
description: 'Commentaires type 1, ligne 2 (FTX)',
|
|
31
|
+
value: comment && (comment?.length ?? 0) > 512 ? textFormatting(comment.slice(512, 1024)) : null,
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
tag: 'TexteLibre3',
|
|
35
|
+
description: 'Commentaires type 1, ligne 3 (FTX)',
|
|
36
|
+
value: comment && (comment?.length ?? 0) > 1024 ? textFormatting(comment.slice(1024, 1536)) : null,
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
tag: 'TexteLibre4',
|
|
40
|
+
description: 'Commentaires type 1, ligne 4 (FTX)',
|
|
41
|
+
value: comment && (comment?.length ?? 0) > 1536 ? textFormatting(comment.slice(1536, 2048)) : null,
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
tag: 'TexteLibre5',
|
|
45
|
+
description: 'Commentaires type 1, ligne 5 (FTX)',
|
|
46
|
+
value: comment && (comment?.length ?? 0) > 2048 ? textFormatting(comment.slice(2048, 2560)) : null,
|
|
47
|
+
},
|
|
48
|
+
],
|
|
52
49
|
},
|
|
53
50
|
{
|
|
54
51
|
key: 'CC',
|
|
@@ -8,7 +8,6 @@ import {
|
|
|
8
8
|
getAmountByAccountNumber, getTaxAmountByAccountNumber, setZeroIfIsNegative, textFormatting,
|
|
9
9
|
} from '../utils';
|
|
10
10
|
import {
|
|
11
|
-
AsponeFormField,
|
|
12
11
|
AsponeFormFields, Cerfa3514_2022, CerfaPayloadForm, IRegistration,
|
|
13
12
|
} from '../../../types';
|
|
14
13
|
|
|
@@ -357,10 +356,8 @@ export function getCerfa3517Century23Payload(accountingEntries: IAccountingEntry
|
|
|
357
356
|
export function getCerfa3517CenturyRegistrationField(data: Cerfa3517_2023): AsponeFormFields {
|
|
358
357
|
const comment = textFormatting(data.declaration.comment);
|
|
359
358
|
|
|
360
|
-
let refund: AsponeFormField[] = [];
|
|
361
|
-
|
|
362
359
|
if (data.refund.asked > 0) {
|
|
363
|
-
|
|
360
|
+
return [{
|
|
364
361
|
name: '3517DDR',
|
|
365
362
|
fields: [
|
|
366
363
|
{
|
|
@@ -400,24 +397,25 @@ export function getCerfa3517CenturyRegistrationField(data: Cerfa3517_2023): Aspo
|
|
|
400
397
|
},
|
|
401
398
|
{
|
|
402
399
|
key: 'AF',
|
|
403
|
-
tag: 'AdresseVille',
|
|
404
|
-
isMultiple: false,
|
|
405
|
-
description: 'NAD Lieu de dépôt de la demande 100184 ',
|
|
406
|
-
value: data.refund.place,
|
|
407
|
-
},
|
|
408
|
-
{
|
|
409
|
-
key: 'AF',
|
|
410
|
-
tag: 'Designation',
|
|
411
|
-
isMultiple: false,
|
|
412
|
-
description: 'NAD Nom et prénom du demandeur 100178 ',
|
|
413
|
-
value: textFormatting(data.refund.name, 35),
|
|
414
|
-
},
|
|
415
|
-
{
|
|
416
|
-
key: 'AF',
|
|
417
|
-
tag: 'DesignationSuite1',
|
|
418
|
-
isMultiple: false,
|
|
419
|
-
description: 'NAD Qualité du demandeur 100179 ',
|
|
420
400
|
value: null,
|
|
401
|
+
isMultiple: false,
|
|
402
|
+
tags: [
|
|
403
|
+
{
|
|
404
|
+
tag: 'Designation',
|
|
405
|
+
description: 'NAD Nom et prénom du demandeur 100178 ',
|
|
406
|
+
value: textFormatting(data.refund.name, 35),
|
|
407
|
+
},
|
|
408
|
+
// {
|
|
409
|
+
// tag: 'DesignationSuite1',
|
|
410
|
+
// description: 'NAD Qualité du demandeur 100179 ',
|
|
411
|
+
// value: null,
|
|
412
|
+
// },
|
|
413
|
+
{
|
|
414
|
+
tag: 'AdresseVille',
|
|
415
|
+
description: 'NAD Lieu de dépôt de la demande 100184 ',
|
|
416
|
+
value: data.refund.place,
|
|
417
|
+
},
|
|
418
|
+
],
|
|
421
419
|
},
|
|
422
420
|
{
|
|
423
421
|
key: 'AG',
|
|
@@ -442,66 +440,62 @@ export function getCerfa3517CenturyRegistrationField(data: Cerfa3517_2023): Aspo
|
|
|
442
440
|
},
|
|
443
441
|
{
|
|
444
442
|
key: 'AK',
|
|
445
|
-
tag: 'TitulaireDesignation',
|
|
446
|
-
isMultiple: false,
|
|
447
|
-
description: 'FII Nom du titulaire du compte 100187 ',
|
|
448
443
|
value: null,
|
|
449
|
-
},
|
|
450
|
-
{
|
|
451
|
-
key: 'AK',
|
|
452
|
-
tag: 'TitulaireDesignationSuite',
|
|
453
444
|
isMultiple: false,
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
445
|
+
tags: [
|
|
446
|
+
{
|
|
447
|
+
tag: 'Iban',
|
|
448
|
+
description: 'FII IBAN IBAN: 34 caractères alphanumériques (INTERNATIONAL BANK ACCOUNT NUMBER) 902429 ',
|
|
449
|
+
value: 'DYNAMIC_IBAN',
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
tag: 'Bic',
|
|
453
|
+
description: 'FII BIC BIC : 8 ou 11 caractères alphanumériques (BANK IDENTIFIER CODE) 902409 ',
|
|
454
|
+
value: 'DYNAMIC_BIC',
|
|
455
|
+
},
|
|
456
|
+
// {
|
|
457
|
+
// tag: 'TitulaireDesignation',
|
|
458
|
+
// description: 'FII Nom du titulaire du compte 100187 ',
|
|
459
|
+
// value: null,
|
|
460
|
+
// },
|
|
461
|
+
// {
|
|
462
|
+
// tag: 'TitulaireDesignationSuite',
|
|
463
|
+
// description: 'FII Complément de nom du titulaire de compte 100188',
|
|
464
|
+
// value: null,
|
|
465
|
+
// },
|
|
466
|
+
],
|
|
470
467
|
},
|
|
471
468
|
{
|
|
472
469
|
key: 'AL',
|
|
473
|
-
tag: 'TexteLibre1',
|
|
474
|
-
isMultiple: false,
|
|
475
|
-
description: 'FTX Commentaires type 1, ligne 1 1° zone de 512 c 100447 ',
|
|
476
470
|
value: null,
|
|
477
|
-
},
|
|
478
|
-
{
|
|
479
|
-
key: 'AL',
|
|
480
|
-
tag: 'TexteLibre2',
|
|
481
471
|
isMultiple: false,
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
472
|
+
tags: [
|
|
473
|
+
{
|
|
474
|
+
tag: 'TexteLibre1',
|
|
475
|
+
description: 'FTX Commentaires type 1, ligne 1 1° zone de 512 c 100447 ',
|
|
476
|
+
value: null,
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
tag: 'TexteLibre2',
|
|
480
|
+
description: 'FTX Commentaires type 1, ligne 2 2° zone de 512 c 100547 ',
|
|
481
|
+
value: null,
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
tag: 'TexteLibre3',
|
|
485
|
+
description: 'FTX Commentaires type 1, ligne 3 3° zone de 512 c 100548 ',
|
|
486
|
+
value: null,
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
tag: 'TexteLibre4',
|
|
490
|
+
description: 'FTX Commentaires type 1, ligne 4 4° zone de 512 c 100549 ',
|
|
491
|
+
value: null,
|
|
492
|
+
},
|
|
493
|
+
{
|
|
494
|
+
tag: 'TexteLibre5',
|
|
495
|
+
description: 'FTX Commentaires type 1, ligne 5 5° zone de 512 c 100550 ',
|
|
496
|
+
value: null,
|
|
497
|
+
},
|
|
498
|
+
],
|
|
505
499
|
},
|
|
506
500
|
{
|
|
507
501
|
key: 'BA',
|
|
@@ -632,37 +626,34 @@ export function getCerfa3517CenturyRegistrationField(data: Cerfa3517_2023): Aspo
|
|
|
632
626
|
{
|
|
633
627
|
key: 'CA',
|
|
634
628
|
isMultiple: false,
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
tag: 'TexteLibre5',
|
|
664
|
-
value: comment && (comment?.length ?? 0) > 2048 ? textFormatting(comment.slice(2048, 2560)) : null,
|
|
665
|
-
description: 'Commentaires type 1, ligne 5 1ère zone de 512 c 100550 ',
|
|
629
|
+
value: null,
|
|
630
|
+
tags: [
|
|
631
|
+
{
|
|
632
|
+
tag: 'TexteLibre1',
|
|
633
|
+
description: 'Commentaires type 1, ligne 1 5ème zone de 512 c 100447 ',
|
|
634
|
+
value: textFormatting(comment, 512),
|
|
635
|
+
},
|
|
636
|
+
{
|
|
637
|
+
tag: 'TexteLibre2',
|
|
638
|
+
description: 'Commentaires type 1, ligne 2 4ème zone de 512 c 100547 ',
|
|
639
|
+
value: comment && (comment?.length ?? 0) > 512 ? textFormatting(comment.slice(512, 1024)) : null,
|
|
640
|
+
},
|
|
641
|
+
{
|
|
642
|
+
tag: 'TexteLibre3',
|
|
643
|
+
description: 'Commentaires type 1, ligne 3 3ème zone de 512 c 100548 ',
|
|
644
|
+
value: comment && (comment?.length ?? 0) > 1024 ? textFormatting(comment.slice(1024, 1536)) : null,
|
|
645
|
+
},
|
|
646
|
+
{
|
|
647
|
+
tag: 'TexteLibre4',
|
|
648
|
+
description: 'Commentaires type 1, ligne 4 2ème zone de 512 c 100549 ',
|
|
649
|
+
value: comment && (comment?.length ?? 0) > 1536 ? textFormatting(comment.slice(1536, 2048)) : null,
|
|
650
|
+
},
|
|
651
|
+
{
|
|
652
|
+
tag: 'TexteLibre5',
|
|
653
|
+
value: comment && (comment?.length ?? 0) > 2048 ? textFormatting(comment.slice(2048, 2560)) : null,
|
|
654
|
+
description: 'Commentaires type 1, ligne 5 1ère zone de 512 c 100550 ',
|
|
655
|
+
},
|
|
656
|
+
],
|
|
666
657
|
},
|
|
667
658
|
{
|
|
668
659
|
key: 'CG',
|
|
@@ -1652,9 +1643,7 @@ export function getCerfa3517CenturyRegistrationField(data: Cerfa3517_2023): Aspo
|
|
|
1652
1643
|
value: data.tax.publicity,
|
|
1653
1644
|
},
|
|
1654
1645
|
],
|
|
1655
|
-
}
|
|
1656
|
-
...refund,
|
|
1657
|
-
];
|
|
1646
|
+
}];
|
|
1658
1647
|
}
|
|
1659
1648
|
|
|
1660
1649
|
export const cerfa3517Century23Fields: CerfaPayloadForm[] = [{
|
|
@@ -1778,7 +1767,7 @@ export const cerfa3517Century23Fields: CerfaPayloadForm[] = [{
|
|
|
1778
1767
|
sectionName: 'Demande de remboursement',
|
|
1779
1768
|
childrens: [
|
|
1780
1769
|
{ label: 'Remboursement demandé', key: 'refund.asked', type: 'number' },
|
|
1781
|
-
{ label: 'Crédit remboursable dégagé à la clôture de l’année ou de l’exercice', key: 'refund.
|
|
1770
|
+
{ label: 'Crédit remboursable dégagé à la clôture de l’année ou de l’exercice', key: 'refund.creditRefundable', type: 'number' },
|
|
1782
1771
|
],
|
|
1783
1772
|
},
|
|
1784
1773
|
];
|
|
@@ -25,31 +25,30 @@ export function getCerfa3519Century23RegistrationFields(data: Cerfa3519_2017): A
|
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
27
|
key: 'DG',
|
|
28
|
-
|
|
29
|
-
isMultiple: false,
|
|
30
|
-
description: 'Soussigné',
|
|
31
|
-
value: textFormatting(data.refund.name, 35),
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
key: 'DG',
|
|
35
|
-
tag: 'DesignationSuite1',
|
|
36
|
-
isMultiple: false,
|
|
37
|
-
description: 'Titre',
|
|
38
|
-
value: textFormatting(data.refund.quality, 35),
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
key: 'DG',
|
|
42
|
-
tag: 'DesignationSuite2',
|
|
43
|
-
isMultiple: false,
|
|
44
|
-
description: 'Qualité',
|
|
45
|
-
value: textFormatting(data.refund.quality, 35),
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
key: 'DG',
|
|
49
|
-
tag: 'AdresseVille',
|
|
28
|
+
value: null,
|
|
50
29
|
isMultiple: false,
|
|
51
|
-
|
|
52
|
-
|
|
30
|
+
tags: [
|
|
31
|
+
{
|
|
32
|
+
tag: 'Designation',
|
|
33
|
+
description: 'Soussigné',
|
|
34
|
+
value: textFormatting(data.refund.name, 35),
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
tag: 'DesignationSuite1',
|
|
38
|
+
description: 'Titre',
|
|
39
|
+
value: textFormatting(data.refund.quality, 35),
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
tag: 'DesignationSuite2',
|
|
43
|
+
description: 'Qualité',
|
|
44
|
+
value: textFormatting(data.refund.quality, 35),
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
tag: 'AdresseVille',
|
|
48
|
+
description: 'Lieu',
|
|
49
|
+
value: textFormatting(data.refund.place, 35),
|
|
50
|
+
},
|
|
51
|
+
],
|
|
53
52
|
},
|
|
54
53
|
{
|
|
55
54
|
key: 'FK',
|
|
@@ -60,87 +59,87 @@ export function getCerfa3519Century23RegistrationFields(data: Cerfa3519_2017): A
|
|
|
60
59
|
},
|
|
61
60
|
{
|
|
62
61
|
key: 'AA',
|
|
63
|
-
tag: 'Iban',
|
|
64
|
-
isMultiple: false,
|
|
65
|
-
description: 'IBAN',
|
|
66
|
-
value: data.bankAccount.iban ? textFormatting(data.bankAccount.iban.toUpperCase())?.replace(/\s/g, '') : null,
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
key: 'AA',
|
|
70
|
-
tag: 'Bic',
|
|
71
62
|
isMultiple: false,
|
|
72
|
-
description: 'BIC',
|
|
73
|
-
value: data.bankAccount.bic ? textFormatting(data.bankAccount.bic.toUpperCase()) : null,
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
key: 'AA',
|
|
77
|
-
tag: 'TitulaireDesignation',
|
|
78
|
-
isMultiple: false,
|
|
79
|
-
description: 'Désignation du titulaire',
|
|
80
63
|
value: null,
|
|
64
|
+
tags: [
|
|
65
|
+
{
|
|
66
|
+
tag: 'Iban',
|
|
67
|
+
description: 'IBAN',
|
|
68
|
+
value: 'DYNAMIC_IBAN',
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
tag: 'Bic',
|
|
72
|
+
description: 'BIC',
|
|
73
|
+
value: 'DYNAMIC_BIC',
|
|
74
|
+
},
|
|
75
|
+
// {
|
|
76
|
+
// tag: 'TitulaireDesignation',
|
|
77
|
+
// description: 'Désignation du titulaire',
|
|
78
|
+
// value: null,
|
|
79
|
+
// },
|
|
80
|
+
],
|
|
81
81
|
},
|
|
82
82
|
{
|
|
83
83
|
key: 'DI',
|
|
84
84
|
tag: 'Valeur',
|
|
85
85
|
isMultiple: false,
|
|
86
86
|
description: 'Première demande',
|
|
87
|
-
value: data.refund.firstTime
|
|
87
|
+
value: data.refund.firstTime?.is ? 'X' : null,
|
|
88
88
|
},
|
|
89
89
|
{
|
|
90
90
|
key: 'DL',
|
|
91
91
|
tag: 'Valeur',
|
|
92
92
|
isMultiple: false,
|
|
93
93
|
description: 'Création le',
|
|
94
|
-
value: data.refund.firstTime
|
|
94
|
+
value: data.refund.firstTime?.is && data.refund.firstTime?.date ? dayjs(data.refund.firstTime.date).format('YYYYMMDD') : null,
|
|
95
95
|
},
|
|
96
96
|
{
|
|
97
97
|
key: 'DJ',
|
|
98
98
|
tag: 'Valeur',
|
|
99
99
|
isMultiple: false,
|
|
100
100
|
description: 'Cession, cessation, décès, entrée dans un groupe TVA',
|
|
101
|
-
value: data.refund.closing
|
|
101
|
+
value: data.refund.closing?.is ? 'X' : null,
|
|
102
102
|
},
|
|
103
103
|
{
|
|
104
104
|
key: 'DM',
|
|
105
105
|
tag: 'Valeur',
|
|
106
106
|
isMultiple: false,
|
|
107
107
|
description: 'Le :',
|
|
108
|
-
value: data.refund.closing
|
|
108
|
+
value: data.refund.closing?.is && data.refund.closing?.date ? dayjs(data.refund.closing.date).format('YYYYMMDD') : null,
|
|
109
109
|
},
|
|
110
110
|
{
|
|
111
111
|
key: 'DK',
|
|
112
112
|
tag: 'Valeur',
|
|
113
113
|
isMultiple: false,
|
|
114
114
|
description: 'Autres',
|
|
115
|
-
value: data.refund.other ? 'X' : null,
|
|
115
|
+
value: data.refund.other?.is ? 'X' : null,
|
|
116
116
|
},
|
|
117
117
|
{
|
|
118
118
|
key: 'FJ',
|
|
119
|
-
|
|
120
|
-
isMultiple: false,
|
|
121
|
-
description: 'Commentaires',
|
|
122
|
-
value: textFormatting(comment, 512),
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
key: 'FJ',
|
|
126
|
-
tag: 'TexteLibre2',
|
|
127
|
-
isMultiple: false,
|
|
128
|
-
description: 'Commentaires',
|
|
129
|
-
value: comment && (comment?.length ?? 0) > 512 ? textFormatting(comment.slice(512, 1024)) : null,
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
key: 'FJ',
|
|
133
|
-
tag: 'TexteLibre3',
|
|
134
|
-
isMultiple: false,
|
|
135
|
-
description: 'Commentaires',
|
|
136
|
-
value: comment && (comment?.length ?? 0) > 1024 ? textFormatting(comment.slice(1024, 1536)) : null,
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
key: 'FJ',
|
|
140
|
-
tag: 'TexteLibre4',
|
|
119
|
+
value: null,
|
|
141
120
|
isMultiple: false,
|
|
142
|
-
|
|
143
|
-
|
|
121
|
+
tags: [
|
|
122
|
+
{
|
|
123
|
+
tag: 'TexteLibre1',
|
|
124
|
+
description: 'Commentaires',
|
|
125
|
+
value: textFormatting(comment, 512),
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
tag: 'TexteLibre2',
|
|
129
|
+
description: 'Commentaires',
|
|
130
|
+
value: comment && (comment?.length ?? 0) > 512 ? textFormatting(comment.slice(512, 1024)) : null,
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
tag: 'TexteLibre3',
|
|
134
|
+
description: 'Commentaires',
|
|
135
|
+
value: comment && (comment?.length ?? 0) > 1024 ? textFormatting(comment.slice(1024, 1536)) : null,
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
tag: 'TexteLibre4',
|
|
139
|
+
description: 'Commentaires',
|
|
140
|
+
value: comment && (comment?.length ?? 0) > 1536 ? textFormatting(comment.slice(1536, 2048)) : null,
|
|
141
|
+
},
|
|
142
|
+
],
|
|
144
143
|
},
|
|
145
144
|
],
|
|
146
145
|
}];
|