@silexpert/core 1.3.72 → 1.3.73
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/Recurrence.d.ts +2 -2
- package/dist/cjs/api/resources/Recurrence.d.ts.map +1 -1
- package/dist/cjs/api/resources/Recurrence.js.map +1 -1
- package/dist/cjs/types/Enum/PrestationType.d.ts.map +1 -1
- package/dist/cjs/types/Enum/PrestationType.js +61 -57
- package/dist/cjs/types/Enum/PrestationType.js.map +1 -1
- package/dist/cjs/utils/prestation.d.ts.map +1 -1
- package/dist/cjs/utils/prestation.js +22 -16
- package/dist/cjs/utils/prestation.js.map +1 -1
- package/dist/cjs/utils/vat/registration.js.map +1 -1
- package/dist/mjs/api/resources/Recurrence.d.ts +2 -2
- package/dist/mjs/api/resources/Recurrence.d.ts.map +1 -1
- package/dist/mjs/api/resources/Recurrence.js.map +1 -1
- package/dist/mjs/types/Enum/PrestationType.d.ts.map +1 -1
- package/dist/mjs/types/Enum/PrestationType.js +61 -57
- package/dist/mjs/types/Enum/PrestationType.js.map +1 -1
- package/dist/mjs/utils/prestation.d.ts.map +1 -1
- package/dist/mjs/utils/prestation.js +20 -14
- package/dist/mjs/utils/prestation.js.map +1 -1
- package/dist/mjs/utils/vat/registration.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Recurrence.ts +1 -2
- package/ts/types/Enum/PrestationType.ts +61 -57
- package/ts/utils/prestation.ts +22 -15
- package/ts/utils/vat/registration.ts +4 -4
|
@@ -386,7 +386,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
386
386
|
isComplementary: false,
|
|
387
387
|
signaturePosition: null,
|
|
388
388
|
signaturePage: null,
|
|
389
|
-
point:
|
|
389
|
+
point: 100,
|
|
390
390
|
},
|
|
391
391
|
STATUTS: {
|
|
392
392
|
id: 7,
|
|
@@ -405,7 +405,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
405
405
|
isComplementary: false,
|
|
406
406
|
signaturePosition: null,
|
|
407
407
|
signaturePage: null,
|
|
408
|
-
point:
|
|
408
|
+
point: 50,
|
|
409
409
|
},
|
|
410
410
|
PV_AG: {
|
|
411
411
|
id: 8,
|
|
@@ -424,7 +424,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
424
424
|
isComplementary: false,
|
|
425
425
|
signaturePosition: null,
|
|
426
426
|
signaturePage: null,
|
|
427
|
-
point:
|
|
427
|
+
point: 100,
|
|
428
428
|
},
|
|
429
429
|
BILAN_INTERMEDIAIRE: {
|
|
430
430
|
id: 9,
|
|
@@ -443,7 +443,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
443
443
|
isComplementary: false,
|
|
444
444
|
signaturePosition: null,
|
|
445
445
|
signaturePage: null,
|
|
446
|
-
point:
|
|
446
|
+
point: 100,
|
|
447
447
|
},
|
|
448
448
|
FRUCTUCOMPTA_ASSISTANCE_EXPRESS: {
|
|
449
449
|
id: 10,
|
|
@@ -500,7 +500,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
500
500
|
isComplementary: false,
|
|
501
501
|
signaturePosition: '400,54,569,90',
|
|
502
502
|
signaturePage: 5,
|
|
503
|
-
point:
|
|
503
|
+
point: 150,
|
|
504
504
|
},
|
|
505
505
|
TELEDECLARATION: {
|
|
506
506
|
id: 13,
|
|
@@ -519,7 +519,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
519
519
|
isComplementary: false,
|
|
520
520
|
signaturePosition: null,
|
|
521
521
|
signaturePage: null,
|
|
522
|
-
point:
|
|
522
|
+
point: 50,
|
|
523
523
|
},
|
|
524
524
|
CREATION_SOCIETE: {
|
|
525
525
|
id: 15,
|
|
@@ -538,7 +538,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
538
538
|
isComplementary: false,
|
|
539
539
|
signaturePosition: '400,54,569,90',
|
|
540
540
|
signaturePage: 6,
|
|
541
|
-
point:
|
|
541
|
+
point: 100,
|
|
542
542
|
},
|
|
543
543
|
JURIDIQUE: {
|
|
544
544
|
id: 16,
|
|
@@ -557,7 +557,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
557
557
|
isComplementary: false,
|
|
558
558
|
signaturePosition: null,
|
|
559
559
|
signaturePage: null,
|
|
560
|
-
point:
|
|
560
|
+
point: 50,
|
|
561
561
|
},
|
|
562
562
|
MYFRUCTUCOMPTA_STATUT_EXPRESS: {
|
|
563
563
|
id: 17,
|
|
@@ -1032,7 +1032,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
1032
1032
|
isComplementary: false,
|
|
1033
1033
|
signaturePosition: '400,54,569,90',
|
|
1034
1034
|
signaturePage: 5,
|
|
1035
|
-
point:
|
|
1035
|
+
point: 100,
|
|
1036
1036
|
},
|
|
1037
1037
|
COMPTA_ASSISTANCE: {
|
|
1038
1038
|
id: 45,
|
|
@@ -1089,7 +1089,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
1089
1089
|
isComplementary: false,
|
|
1090
1090
|
signaturePosition: null,
|
|
1091
1091
|
signaturePage: null,
|
|
1092
|
-
point:
|
|
1092
|
+
point: 50,
|
|
1093
1093
|
},
|
|
1094
1094
|
ASSISTANCE_RECOUVREMENT: {
|
|
1095
1095
|
id: 48,
|
|
@@ -1108,6 +1108,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
1108
1108
|
isComplementary: false,
|
|
1109
1109
|
signaturePosition: null,
|
|
1110
1110
|
signaturePage: null,
|
|
1111
|
+
point: 50,
|
|
1111
1112
|
},
|
|
1112
1113
|
AUGMENTATION_CAPITAL: {
|
|
1113
1114
|
id: 49,
|
|
@@ -1126,7 +1127,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
1126
1127
|
isComplementary: false,
|
|
1127
1128
|
signaturePosition: null,
|
|
1128
1129
|
signaturePage: null,
|
|
1129
|
-
point:
|
|
1130
|
+
point: 50,
|
|
1130
1131
|
},
|
|
1131
1132
|
BAIL_COMMERCIAL: {
|
|
1132
1133
|
id: 50,
|
|
@@ -1240,7 +1241,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
1240
1241
|
isComplementary: false,
|
|
1241
1242
|
signaturePosition: null,
|
|
1242
1243
|
signaturePage: null,
|
|
1243
|
-
point:
|
|
1244
|
+
point: 50,
|
|
1244
1245
|
},
|
|
1245
1246
|
CONSTITUTION_SOCIETE: {
|
|
1246
1247
|
id: 56,
|
|
@@ -1259,7 +1260,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
1259
1260
|
isComplementary: false,
|
|
1260
1261
|
signaturePosition: null,
|
|
1261
1262
|
signaturePage: null,
|
|
1262
|
-
point:
|
|
1263
|
+
point: 50,
|
|
1263
1264
|
},
|
|
1264
1265
|
CONVENTION_DE_MISE_A_DISPOSITION_A_TITRE_GRATUIT: {
|
|
1265
1266
|
id: 57,
|
|
@@ -1392,7 +1393,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
1392
1393
|
isComplementary: false,
|
|
1393
1394
|
signaturePosition: null,
|
|
1394
1395
|
signaturePage: null,
|
|
1395
|
-
point:
|
|
1396
|
+
point: 100,
|
|
1396
1397
|
},
|
|
1397
1398
|
INTEGRATION_FISCALE: {
|
|
1398
1399
|
id: 64,
|
|
@@ -1506,7 +1507,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
1506
1507
|
isComplementary: false,
|
|
1507
1508
|
signaturePosition: null,
|
|
1508
1509
|
signaturePage: null,
|
|
1509
|
-
point:
|
|
1510
|
+
point: 50,
|
|
1510
1511
|
},
|
|
1511
1512
|
REDUCTION_DU_CAPITAL: {
|
|
1512
1513
|
id: 70,
|
|
@@ -1601,7 +1602,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
1601
1602
|
isComplementary: false,
|
|
1602
1603
|
signaturePosition: null,
|
|
1603
1604
|
signaturePage: null,
|
|
1604
|
-
point:
|
|
1605
|
+
point: 50,
|
|
1605
1606
|
},
|
|
1606
1607
|
TRANSFERT_SIEGE_SOCIAL_SASU_EURL: {
|
|
1607
1608
|
id: 75,
|
|
@@ -1639,7 +1640,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
1639
1640
|
isComplementary: false,
|
|
1640
1641
|
signaturePosition: null,
|
|
1641
1642
|
signaturePage: null,
|
|
1642
|
-
point:
|
|
1643
|
+
point: 50,
|
|
1643
1644
|
},
|
|
1644
1645
|
TRANSMISSION_UNIVERSELLE_PATRIMOINE_ASSOCIE_UNIQUE_EURL_SASU: {
|
|
1645
1646
|
id: 77,
|
|
@@ -1658,7 +1659,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
1658
1659
|
isComplementary: false,
|
|
1659
1660
|
signaturePosition: null,
|
|
1660
1661
|
signaturePage: null,
|
|
1661
|
-
point:
|
|
1662
|
+
point: 50,
|
|
1662
1663
|
},
|
|
1663
1664
|
BULLETIONS_SALAIRE: {
|
|
1664
1665
|
id: 78,
|
|
@@ -1677,7 +1678,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
1677
1678
|
isComplementary: false,
|
|
1678
1679
|
signaturePosition: null,
|
|
1679
1680
|
signaturePage: null,
|
|
1680
|
-
point:
|
|
1681
|
+
point: 50,
|
|
1681
1682
|
},
|
|
1682
1683
|
DSN: {
|
|
1683
1684
|
id: 79,
|
|
@@ -1696,7 +1697,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
1696
1697
|
isComplementary: false,
|
|
1697
1698
|
signaturePosition: null,
|
|
1698
1699
|
signaturePage: null,
|
|
1699
|
-
point:
|
|
1700
|
+
point: 50,
|
|
1700
1701
|
},
|
|
1701
1702
|
CREATION_DOSSIER_INFORMATIQUE_PAR_SALARIE: {
|
|
1702
1703
|
id: 80,
|
|
@@ -1715,7 +1716,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
1715
1716
|
isComplementary: false,
|
|
1716
1717
|
signaturePosition: null,
|
|
1717
1718
|
signaturePage: null,
|
|
1718
|
-
point:
|
|
1719
|
+
point: 50,
|
|
1719
1720
|
},
|
|
1720
1721
|
ETABLISSEMENT_CONTRAT_TRAVAIL: {
|
|
1721
1722
|
id: 81,
|
|
@@ -1734,7 +1735,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
1734
1735
|
isComplementary: false,
|
|
1735
1736
|
signaturePosition: null,
|
|
1736
1737
|
signaturePage: null,
|
|
1737
|
-
point:
|
|
1738
|
+
point: 50,
|
|
1738
1739
|
},
|
|
1739
1740
|
ATTESTATION_SALAIRE: {
|
|
1740
1741
|
id: 82,
|
|
@@ -1753,7 +1754,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
1753
1754
|
isComplementary: false,
|
|
1754
1755
|
signaturePosition: null,
|
|
1755
1756
|
signaturePage: null,
|
|
1756
|
-
point:
|
|
1757
|
+
point: 50,
|
|
1757
1758
|
},
|
|
1758
1759
|
ADHESION_ORGANISMES_COTISATIONS_OBLIGATOIRES: {
|
|
1759
1760
|
id: 83,
|
|
@@ -1772,7 +1773,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
1772
1773
|
isComplementary: false,
|
|
1773
1774
|
signaturePosition: null,
|
|
1774
1775
|
signaturePage: null,
|
|
1775
|
-
point:
|
|
1776
|
+
point: 50,
|
|
1776
1777
|
},
|
|
1777
1778
|
TAXE_APPRENTISSAGE_ET_FORMATION_CONTINUE: {
|
|
1778
1779
|
id: 84,
|
|
@@ -1791,7 +1792,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
1791
1792
|
isComplementary: false,
|
|
1792
1793
|
signaturePosition: null,
|
|
1793
1794
|
signaturePage: null,
|
|
1794
|
-
point:
|
|
1795
|
+
point: 50,
|
|
1795
1796
|
},
|
|
1796
1797
|
DISSOLUTION_LIQUIDATION_HORS_DATE_CLOTURE: {
|
|
1797
1798
|
id: 85,
|
|
@@ -1886,7 +1887,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
1886
1887
|
isComplementary: true,
|
|
1887
1888
|
signaturePosition: null,
|
|
1888
1889
|
signaturePage: null,
|
|
1889
|
-
point:
|
|
1890
|
+
point: 50,
|
|
1890
1891
|
},
|
|
1891
1892
|
EVALUATION: {
|
|
1892
1893
|
id: 90,
|
|
@@ -1981,7 +1982,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
1981
1982
|
isComplementary: false,
|
|
1982
1983
|
signaturePosition: null,
|
|
1983
1984
|
signaturePage: null,
|
|
1984
|
-
point:
|
|
1985
|
+
point: 50,
|
|
1985
1986
|
},
|
|
1986
1987
|
// FIXME: Doublon ?
|
|
1987
1988
|
ATTESTATION_NON_REMUNERATION: {
|
|
@@ -2001,7 +2002,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
2001
2002
|
isComplementary: false,
|
|
2002
2003
|
signaturePosition: null,
|
|
2003
2004
|
signaturePage: null,
|
|
2004
|
-
point:
|
|
2005
|
+
point: 50,
|
|
2005
2006
|
},
|
|
2006
2007
|
ATTESTATION_CA: {
|
|
2007
2008
|
id: 97,
|
|
@@ -2324,7 +2325,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
2324
2325
|
isComplementary: false,
|
|
2325
2326
|
signaturePosition: null,
|
|
2326
2327
|
signaturePage: null,
|
|
2327
|
-
point:
|
|
2328
|
+
point: 50,
|
|
2328
2329
|
},
|
|
2329
2330
|
DOCUMENTS_DE_SORTIE: {
|
|
2330
2331
|
id: 117,
|
|
@@ -2343,7 +2344,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
2343
2344
|
isComplementary: false,
|
|
2344
2345
|
signaturePosition: null,
|
|
2345
2346
|
signaturePage: null,
|
|
2346
|
-
point:
|
|
2347
|
+
point: 50,
|
|
2347
2348
|
},
|
|
2348
2349
|
DPAE: {
|
|
2349
2350
|
id: 118,
|
|
@@ -2362,7 +2363,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
2362
2363
|
isComplementary: false,
|
|
2363
2364
|
signaturePosition: null,
|
|
2364
2365
|
signaturePage: null,
|
|
2365
|
-
point:
|
|
2366
|
+
point: 50,
|
|
2366
2367
|
},
|
|
2367
2368
|
ADHESION_AUX_ORGANISMES_OBLIGATOIRES: {
|
|
2368
2369
|
id: 119,
|
|
@@ -2381,7 +2382,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
2381
2382
|
isComplementary: false,
|
|
2382
2383
|
signaturePosition: null,
|
|
2383
2384
|
signaturePage: null,
|
|
2384
|
-
point:
|
|
2385
|
+
point: 50,
|
|
2385
2386
|
},
|
|
2386
2387
|
AVENANT_CONTRAT_DE_TRAVAIL: {
|
|
2387
2388
|
id: 120,
|
|
@@ -2495,7 +2496,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
2495
2496
|
isComplementary: false,
|
|
2496
2497
|
signaturePosition: null,
|
|
2497
2498
|
signaturePage: null,
|
|
2498
|
-
point:
|
|
2499
|
+
point: 50,
|
|
2499
2500
|
},
|
|
2500
2501
|
TVS: {
|
|
2501
2502
|
id: 126,
|
|
@@ -2799,7 +2800,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
2799
2800
|
isComplementary: false,
|
|
2800
2801
|
signaturePosition: null,
|
|
2801
2802
|
signaturePage: null,
|
|
2802
|
-
point:
|
|
2803
|
+
point: 50,
|
|
2803
2804
|
},
|
|
2804
2805
|
DOC_WORD: {
|
|
2805
2806
|
id: 143,
|
|
@@ -2818,7 +2819,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
2818
2819
|
isComplementary: false,
|
|
2819
2820
|
signaturePosition: null,
|
|
2820
2821
|
signaturePage: null,
|
|
2821
|
-
point:
|
|
2822
|
+
point: 50,
|
|
2822
2823
|
},
|
|
2823
2824
|
ENVOI_POSTAL: {
|
|
2824
2825
|
id: 144,
|
|
@@ -2837,7 +2838,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
2837
2838
|
isComplementary: false,
|
|
2838
2839
|
signaturePosition: null,
|
|
2839
2840
|
signaturePage: null,
|
|
2840
|
-
point:
|
|
2841
|
+
point: 50,
|
|
2841
2842
|
},
|
|
2842
2843
|
DECLARATION_SOCIALE_NOMINATIVE: {
|
|
2843
2844
|
id: 145,
|
|
@@ -2856,7 +2857,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
2856
2857
|
isComplementary: false,
|
|
2857
2858
|
signaturePosition: null,
|
|
2858
2859
|
signaturePage: null,
|
|
2859
|
-
point:
|
|
2860
|
+
point: 50,
|
|
2860
2861
|
},
|
|
2861
2862
|
SOLDE_TOUT_COMPTE_ET_ATTESTATION_ASSEDIC_ET_ATTESTATION_EMPLOI_SALARIE: {
|
|
2862
2863
|
id: 146,
|
|
@@ -2875,7 +2876,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
2875
2876
|
isComplementary: false,
|
|
2876
2877
|
signaturePosition: null,
|
|
2877
2878
|
signaturePage: null,
|
|
2878
|
-
point:
|
|
2879
|
+
point: 50,
|
|
2879
2880
|
},
|
|
2880
2881
|
ETABLISSEMENT_DECLARATION_PREALABLE_A_L_EMBAUCHE: {
|
|
2881
2882
|
id: 147,
|
|
@@ -2894,7 +2895,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
2894
2895
|
isComplementary: false,
|
|
2895
2896
|
signaturePosition: null,
|
|
2896
2897
|
signaturePage: null,
|
|
2897
|
-
point:
|
|
2898
|
+
point: 50,
|
|
2898
2899
|
},
|
|
2899
2900
|
COMPTA_MICRO: {
|
|
2900
2901
|
id: 185,
|
|
@@ -3008,7 +3009,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
3008
3009
|
isComplementary: false,
|
|
3009
3010
|
signaturePosition: null,
|
|
3010
3011
|
signaturePage: null,
|
|
3011
|
-
point:
|
|
3012
|
+
point: 50,
|
|
3012
3013
|
},
|
|
3013
3014
|
DEMANDE_CREATION_SOCIETE_SUPPLEMENTAIRE: {
|
|
3014
3015
|
id: 191,
|
|
@@ -3027,7 +3028,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
3027
3028
|
isComplementary: false,
|
|
3028
3029
|
signaturePosition: null,
|
|
3029
3030
|
signaturePage: null,
|
|
3030
|
-
point:
|
|
3031
|
+
point: 50,
|
|
3031
3032
|
},
|
|
3032
3033
|
DISSOLUTION_LIQUIDATION: {
|
|
3033
3034
|
id: 192,
|
|
@@ -3065,7 +3066,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
3065
3066
|
isComplementary: false,
|
|
3066
3067
|
signaturePosition: null,
|
|
3067
3068
|
signaturePage: null,
|
|
3068
|
-
point:
|
|
3069
|
+
point: 50,
|
|
3069
3070
|
},
|
|
3070
3071
|
COMPTA_STARTER_PRO: {
|
|
3071
3072
|
id: 194,
|
|
@@ -3274,7 +3275,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
3274
3275
|
isComplementary: false,
|
|
3275
3276
|
signaturePosition: null,
|
|
3276
3277
|
signaturePage: null,
|
|
3277
|
-
point:
|
|
3278
|
+
point: 50,
|
|
3278
3279
|
},
|
|
3279
3280
|
COMPTA_POURCENTAGE_PREMIUM: {
|
|
3280
3281
|
id: 205,
|
|
@@ -3312,7 +3313,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
3312
3313
|
isComplementary: false,
|
|
3313
3314
|
signaturePosition: '400,54,569,90',
|
|
3314
3315
|
signaturePage: null,
|
|
3315
|
-
point:
|
|
3316
|
+
point: 100,
|
|
3316
3317
|
},
|
|
3317
3318
|
COMPTA_POURCENTAGE_EXPRESS: {
|
|
3318
3319
|
id: 207,
|
|
@@ -3369,7 +3370,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
3369
3370
|
isComplementary: false,
|
|
3370
3371
|
signaturePosition: '400,54,569,90',
|
|
3371
3372
|
signaturePage: 7,
|
|
3372
|
-
point:
|
|
3373
|
+
point: 50,
|
|
3373
3374
|
},
|
|
3374
3375
|
FRAIS_DE_GREFFE: {
|
|
3375
3376
|
id: 210,
|
|
@@ -3388,7 +3389,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
3388
3389
|
isComplementary: false,
|
|
3389
3390
|
signaturePosition: '',
|
|
3390
3391
|
signaturePage: 0,
|
|
3391
|
-
point:
|
|
3392
|
+
point: 50,
|
|
3392
3393
|
},
|
|
3393
3394
|
ASSURANCE_CONTROLE_FISCAL: {
|
|
3394
3395
|
id: 211,
|
|
@@ -3426,7 +3427,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
3426
3427
|
isComplementary: false,
|
|
3427
3428
|
signaturePosition: '',
|
|
3428
3429
|
signaturePage: null,
|
|
3429
|
-
point:
|
|
3430
|
+
point: 50,
|
|
3430
3431
|
},
|
|
3431
3432
|
STATUTS_OPTION_1: {
|
|
3432
3433
|
id: PrestationType.STATUTS_OPTION_1,
|
|
@@ -3445,7 +3446,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
3445
3446
|
isComplementary: false,
|
|
3446
3447
|
signaturePosition: '',
|
|
3447
3448
|
signaturePage: null,
|
|
3448
|
-
point:
|
|
3449
|
+
point: 50,
|
|
3449
3450
|
},
|
|
3450
3451
|
STATUTS_OPTION_2: {
|
|
3451
3452
|
id: PrestationType.STATUTS_OPTION_2,
|
|
@@ -3464,7 +3465,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
3464
3465
|
isComplementary: false,
|
|
3465
3466
|
signaturePosition: '',
|
|
3466
3467
|
signaturePage: null,
|
|
3467
|
-
point:
|
|
3468
|
+
point: 50,
|
|
3468
3469
|
},
|
|
3469
3470
|
STATUTS_OPTION_AE: {
|
|
3470
3471
|
id: PrestationType.STATUTS_OPTION_AE,
|
|
@@ -3483,7 +3484,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
3483
3484
|
isComplementary: false,
|
|
3484
3485
|
signaturePosition: '',
|
|
3485
3486
|
signaturePage: null,
|
|
3486
|
-
point:
|
|
3487
|
+
point: 50,
|
|
3487
3488
|
},
|
|
3488
3489
|
COMPTA_MICRO_KLEMS: {
|
|
3489
3490
|
id: PrestationType.COMPTA_MICRO_KLEMS,
|
|
@@ -3635,7 +3636,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
3635
3636
|
isComplementary: false,
|
|
3636
3637
|
signaturePosition: '400,54,569,90',
|
|
3637
3638
|
signaturePage: null,
|
|
3638
|
-
point:
|
|
3639
|
+
point: 100,
|
|
3639
3640
|
},
|
|
3640
3641
|
CONSULTING_HOUR: {
|
|
3641
3642
|
id: PrestationType.CONSULTING_HOUR,
|
|
@@ -3654,7 +3655,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
3654
3655
|
isComplementary: false,
|
|
3655
3656
|
signaturePosition: '',
|
|
3656
3657
|
signaturePage: null,
|
|
3657
|
-
point:
|
|
3658
|
+
point: 50,
|
|
3658
3659
|
},
|
|
3659
3660
|
BILLING: {
|
|
3660
3661
|
id: PrestationType.BILLING,
|
|
@@ -3673,8 +3674,9 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
3673
3674
|
isComplementary: false,
|
|
3674
3675
|
signaturePosition: '400,54,569,90',
|
|
3675
3676
|
signaturePage: 7,
|
|
3676
|
-
point:
|
|
3677
|
+
point: 200,
|
|
3677
3678
|
},
|
|
3679
|
+
//Software
|
|
3678
3680
|
STEERING: {
|
|
3679
3681
|
id: PrestationType.STEERING,
|
|
3680
3682
|
name: 'Pilotage',
|
|
@@ -3694,6 +3696,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
3694
3696
|
signaturePage: 7,
|
|
3695
3697
|
point: 200,
|
|
3696
3698
|
},
|
|
3699
|
+
//Software
|
|
3697
3700
|
VAT: {
|
|
3698
3701
|
id: PrestationType.VAT,
|
|
3699
3702
|
name: 'TVA',
|
|
@@ -3713,6 +3716,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
3713
3716
|
signaturePage: 7,
|
|
3714
3717
|
point: 200,
|
|
3715
3718
|
},
|
|
3719
|
+
//Software
|
|
3716
3720
|
BALANCESHEET: {
|
|
3717
3721
|
id: PrestationType.BALANCESHEET,
|
|
3718
3722
|
name: 'Bilan',
|
|
@@ -3749,7 +3753,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
3749
3753
|
isComplementary: false,
|
|
3750
3754
|
signaturePosition: '400,54,569,90',
|
|
3751
3755
|
signaturePage: 7, //???
|
|
3752
|
-
point: 200,
|
|
3756
|
+
point: 200,
|
|
3753
3757
|
},
|
|
3754
3758
|
SUPPORT: {
|
|
3755
3759
|
id: PrestationType.SUPPORT,
|
|
@@ -3768,7 +3772,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
3768
3772
|
isComplementary: false,
|
|
3769
3773
|
signaturePosition: '400,54,569,90',
|
|
3770
3774
|
signaturePage: 7, //???
|
|
3771
|
-
point: 200,
|
|
3775
|
+
point: 200,
|
|
3772
3776
|
},
|
|
3773
3777
|
PREMIUM: {
|
|
3774
3778
|
id: PrestationType.PREMIUM,
|
|
@@ -3787,7 +3791,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
3787
3791
|
isComplementary: false,
|
|
3788
3792
|
signaturePosition: '400,54,569,90',
|
|
3789
3793
|
signaturePage: 7, //???
|
|
3790
|
-
point:
|
|
3794
|
+
point: 400,
|
|
3791
3795
|
},
|
|
3792
3796
|
CUSTOM_MADE: {
|
|
3793
3797
|
id: PrestationType.CUSTOM_MADE,
|
|
@@ -3806,7 +3810,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
3806
3810
|
isComplementary: false,
|
|
3807
3811
|
signaturePosition: '400,54,569,90',
|
|
3808
3812
|
signaturePage: 7, //???
|
|
3809
|
-
point:
|
|
3813
|
+
point: 400,
|
|
3810
3814
|
},
|
|
3811
3815
|
EI: {
|
|
3812
3816
|
id: PrestationType.EI,
|
package/ts/utils/prestation.ts
CHANGED
|
@@ -153,8 +153,9 @@ const isConsultingHour = (idPrestationList: number[]): boolean =>
|
|
|
153
153
|
!!intersection(idPrestationList, [PrestationType.CONSULTING_HOUR]).length;
|
|
154
154
|
|
|
155
155
|
const isSoftwarePrestation = (idPrestationList: number[]): boolean =>
|
|
156
|
-
!!intersection(idPrestationList, [PrestationType.STEERING, PrestationType.VAT, PrestationType.BALANCESHEET])
|
|
157
|
-
|
|
156
|
+
!!intersection(idPrestationList, [PrestationType.STEERING, PrestationType.VAT, PrestationType.BALANCESHEET])
|
|
157
|
+
.length; /* &&
|
|
158
|
+
idPrestationList.length === 1 */ // Commenté car si un client résilie un software pour un utre software, condition non prise en charge
|
|
158
159
|
|
|
159
160
|
const calculateScoringOfPrestation = (
|
|
160
161
|
idPrestationType: PrestationType,
|
|
@@ -173,6 +174,20 @@ const calculateScoringOfPrestation = (
|
|
|
173
174
|
(el) => el.idPrestationList === idPrestationType && el.terminationList === null,
|
|
174
175
|
);
|
|
175
176
|
|
|
177
|
+
// SPECIAL CASE:
|
|
178
|
+
// If current prestation is a software prestation
|
|
179
|
+
// and the current prestation is an annual payment, return 0 point
|
|
180
|
+
if (
|
|
181
|
+
isSoftwarePrestation([idPrestationType]) &&
|
|
182
|
+
currentPrestation?.exercices?.length &&
|
|
183
|
+
//@ts-expect-error
|
|
184
|
+
currentPrestation?.exercices[0].ExercicePrestation?.totalPrestation < 80 &&
|
|
185
|
+
//@ts-expect-error
|
|
186
|
+
currentPrestation?.exercices[0].ExercicePrestation?.monthNumber === 1
|
|
187
|
+
) {
|
|
188
|
+
return 0;
|
|
189
|
+
}
|
|
190
|
+
|
|
176
191
|
// Get the list of prestations that are half price
|
|
177
192
|
const prestationHalfPriceList = Object.values(PrestationDetail).filter(
|
|
178
193
|
(p) =>
|
|
@@ -187,18 +202,9 @@ const calculateScoringOfPrestation = (
|
|
|
187
202
|
const prestaDetails = Object.values(PrestationDetail).find((prestaDetail) => prestaDetail.id === idPrestationType);
|
|
188
203
|
let numberPoint = prestaDetails?.point || 0;
|
|
189
204
|
|
|
190
|
-
//
|
|
191
|
-
|
|
192
|
-
[PrestationType.BALANCESHEET, PrestationType.VAT, PrestationType.STEERING].includes(idPrestationType) &&
|
|
193
|
-
currentPrestation?.exercices?.length &&
|
|
194
|
-
//@ts-expect-error
|
|
195
|
-
currentPrestation?.exercices[0].ExercicePrestation?.totalPrestation < 80
|
|
196
|
-
) {
|
|
197
|
-
numberPoint = 0;
|
|
198
|
-
}
|
|
199
|
-
|
|
205
|
+
// For each back exercices, add 100 points
|
|
206
|
+
// -> for new prestations only
|
|
200
207
|
if (
|
|
201
|
-
// If software prestation and annual payment then return 0 points
|
|
202
208
|
[
|
|
203
209
|
PrestationType.EXPERTISE,
|
|
204
210
|
PrestationType.SUPPORT,
|
|
@@ -211,10 +217,11 @@ const calculateScoringOfPrestation = (
|
|
|
211
217
|
currentPrestation?.exercices?.length &&
|
|
212
218
|
currentPrestation?.exercices.find((el) => el.isBack)
|
|
213
219
|
) {
|
|
214
|
-
numberPoint += 100;
|
|
220
|
+
numberPoint += (currentPrestation?.exercices.filter((el) => el.isBack).length ?? 1) * 100;
|
|
215
221
|
}
|
|
216
222
|
|
|
217
|
-
// Get list of prestations that are already done
|
|
223
|
+
// Get list of prestations that are already done
|
|
224
|
+
// and check if one of them is in the list of prestations that are half price
|
|
218
225
|
const prestationsExistIds = prestationsSignedPaid.map((prestation) => prestation.idPrestationList);
|
|
219
226
|
const prestationHalfPriceAlreadyDoneIds = prestationsExistIds.filter((id) => prestationHalfPriceIds.includes(id));
|
|
220
227
|
|
|
@@ -2,9 +2,9 @@ import * as dayjs from 'dayjs';
|
|
|
2
2
|
import { isDefined } from 'class-validator';
|
|
3
3
|
import { reverse, sumBy } from 'lodash';
|
|
4
4
|
import {
|
|
5
|
+
AnyCerfa3310_Century,
|
|
5
6
|
Cerfa2571_2023,
|
|
6
7
|
Cerfa2573_2024,
|
|
7
|
-
Cerfa3310_2023,
|
|
8
8
|
Cerfa3514_2022,
|
|
9
9
|
CerfaType,
|
|
10
10
|
CustomerVatType,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
RegistrationTickState,
|
|
18
18
|
TaxType,
|
|
19
19
|
} from '../../types';
|
|
20
|
-
import {
|
|
20
|
+
import { AnyCerfa3517Century } from '../../types/Interface/api/cerfa/3517';
|
|
21
21
|
|
|
22
22
|
const waitingState: ReadRegistrationTick = {
|
|
23
23
|
state: RegistrationTickState.IN_PROGRESS,
|
|
@@ -150,7 +150,7 @@ export function getTypeAndAmountFromRegistration(registration: IRegistration): {
|
|
|
150
150
|
amountBase?: number;
|
|
151
151
|
} {
|
|
152
152
|
if (registration.idCerfaType === CerfaType.CERFA_3310) {
|
|
153
|
-
const payload = registration.payload.cerfa3310 as
|
|
153
|
+
const payload = registration.payload.cerfa3310 as AnyCerfa3310_Century;
|
|
154
154
|
const other = { collectable: payload.vat?.grossDue, deductible: payload.vat?.deductible.total };
|
|
155
155
|
if (payload?.isNil) return { type: CustomerVatType.VAT_TO_NIL, amount: 0, ...other };
|
|
156
156
|
if (payload?.toPay?.total > 0) return { type: CustomerVatType.VAT_TO_PAY, amount: payload.toPay.total, ...other };
|
|
@@ -170,7 +170,7 @@ export function getTypeAndAmountFromRegistration(registration: IRegistration): {
|
|
|
170
170
|
return { type: CustomerVatType.VAT_TO_PAY, amount: 0, ...other };
|
|
171
171
|
}
|
|
172
172
|
if (registration.idCerfaType === CerfaType.CERFA_3517) {
|
|
173
|
-
const payload = registration.payload.cerfa3517 as
|
|
173
|
+
const payload = registration.payload.cerfa3517 as AnyCerfa3517Century;
|
|
174
174
|
const other = {
|
|
175
175
|
collectable: payload.other.total,
|
|
176
176
|
deductible: payload.deductible.total,
|