@silexpert/core 1.1.358 → 1.1.360
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/BalanceSheet.d.ts +2 -1
- package/dist/cjs/api/resources/BalanceSheet.d.ts.map +1 -1
- package/dist/cjs/api/resources/BalanceSheet.js +3 -0
- package/dist/cjs/api/resources/BalanceSheet.js.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheet.js +1 -1
- package/dist/cjs/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/cjs/types/Enum/BrandAnytime.d.ts +2 -142
- package/dist/cjs/types/Enum/BrandAnytime.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BrandAnytime.js.map +1 -1
- package/dist/cjs/types/Enum/BrandClementine.d.ts +2 -461
- package/dist/cjs/types/Enum/BrandClementine.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BrandClementine.js.map +1 -1
- package/dist/cjs/types/Enum/BrandComptalib.d.ts +2 -262
- package/dist/cjs/types/Enum/BrandComptalib.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BrandComptalib.js.map +1 -1
- package/dist/cjs/types/Enum/BrandLegalstart.d.ts +2 -123
- package/dist/cjs/types/Enum/BrandLegalstart.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BrandLegalstart.js.map +1 -1
- package/dist/cjs/types/Enum/BrandPourcentage.d.ts +2 -376
- package/dist/cjs/types/Enum/BrandPourcentage.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BrandPourcentage.js.map +1 -1
- package/dist/cjs/types/Enum/BrandStatutsExpress.d.ts +2 -101
- package/dist/cjs/types/Enum/BrandStatutsExpress.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BrandStatutsExpress.js.map +1 -1
- package/dist/cjs/types/Enum/Consistency.d.ts +51 -0
- package/dist/cjs/types/Enum/Consistency.d.ts.map +1 -0
- package/dist/cjs/types/Enum/Consistency.js +258 -0
- package/dist/cjs/types/Enum/Consistency.js.map +1 -0
- package/dist/cjs/types/Enum/SalesContractBrandClementine.d.ts +3 -41
- package/dist/cjs/types/Enum/SalesContractBrandClementine.d.ts.map +1 -1
- package/dist/cjs/types/Enum/SalesContractBrandClementine.js.map +1 -1
- package/dist/cjs/types/Enum/SalesContractBrandPourcentage.d.ts +4 -59
- package/dist/cjs/types/Enum/SalesContractBrandPourcentage.d.ts.map +1 -1
- package/dist/cjs/types/Enum/SalesContractBrandPourcentage.js.map +1 -1
- package/dist/cjs/types/Enum/Vat.d.ts +20 -1
- package/dist/cjs/types/Enum/Vat.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Vat.js.map +1 -1
- package/dist/cjs/types/Interface/api/balanceSheet/consistency/Read.d.ts +5 -0
- package/dist/cjs/types/Interface/api/balanceSheet/consistency/Read.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/balanceSheet/consistency/Read.js +3 -0
- package/dist/cjs/types/Interface/api/balanceSheet/consistency/Read.js.map +1 -0
- package/dist/cjs/types/Interface/api/calendarEvent/createCalendarEventForUsers.d.ts +2 -0
- package/dist/cjs/types/Interface/api/calendarEvent/createCalendarEventForUsers.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/calendarEvent/createCalendarEventForUsers.js +7 -0
- package/dist/cjs/types/Interface/api/calendarEvent/createCalendarEventForUsers.js.map +1 -1
- package/dist/cjs/types/Interface/api/checklist/Query.d.ts +1 -0
- package/dist/cjs/types/Interface/api/checklist/Query.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/checklist/Query.js +7 -0
- package/dist/cjs/types/Interface/api/checklist/Query.js.map +1 -1
- package/dist/cjs/types/Interface/api/checklist/Read.d.ts +2 -0
- package/dist/cjs/types/Interface/api/checklist/Read.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/checklist/Read.js.map +1 -1
- package/dist/cjs/types/Interface/api/salesContract/Read.d.ts +11 -0
- package/dist/cjs/types/Interface/api/salesContract/Read.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/salesContract/Read.js +3 -0
- package/dist/cjs/types/Interface/api/salesContract/Read.js.map +1 -0
- package/dist/cjs/types/index.d.ts +3 -0
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +3 -0
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/cjs/utils/brands.d.ts +130 -14
- package/dist/cjs/utils/brands.d.ts.map +1 -1
- package/dist/cjs/utils/brands.js +28 -10
- package/dist/cjs/utils/brands.js.map +1 -1
- package/dist/cjs/utils/checkup.d.ts +1 -36
- package/dist/cjs/utils/checkup.d.ts.map +1 -1
- package/dist/cjs/utils/vat/3310/century23.d.ts.map +1 -1
- package/dist/cjs/utils/vat/3310/century23.js +69 -65
- package/dist/cjs/utils/vat/3310/century23.js.map +1 -1
- package/dist/mjs/api/resources/BalanceSheet.d.ts +2 -1
- package/dist/mjs/api/resources/BalanceSheet.d.ts.map +1 -1
- package/dist/mjs/api/resources/BalanceSheet.js +3 -0
- package/dist/mjs/api/resources/BalanceSheet.js.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheet.js +1 -1
- package/dist/mjs/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/mjs/types/Enum/BrandAnytime.d.ts +2 -142
- package/dist/mjs/types/Enum/BrandAnytime.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BrandAnytime.js.map +1 -1
- package/dist/mjs/types/Enum/BrandClementine.d.ts +2 -461
- package/dist/mjs/types/Enum/BrandClementine.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BrandClementine.js.map +1 -1
- package/dist/mjs/types/Enum/BrandComptalib.d.ts +2 -262
- package/dist/mjs/types/Enum/BrandComptalib.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BrandComptalib.js.map +1 -1
- package/dist/mjs/types/Enum/BrandLegalstart.d.ts +2 -123
- package/dist/mjs/types/Enum/BrandLegalstart.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BrandLegalstart.js.map +1 -1
- package/dist/mjs/types/Enum/BrandPourcentage.d.ts +2 -376
- package/dist/mjs/types/Enum/BrandPourcentage.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BrandPourcentage.js.map +1 -1
- package/dist/mjs/types/Enum/BrandStatutsExpress.d.ts +2 -101
- package/dist/mjs/types/Enum/BrandStatutsExpress.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BrandStatutsExpress.js.map +1 -1
- package/dist/mjs/types/Enum/Consistency.d.ts +51 -0
- package/dist/mjs/types/Enum/Consistency.d.ts.map +1 -0
- package/dist/mjs/types/Enum/Consistency.js +255 -0
- package/dist/mjs/types/Enum/Consistency.js.map +1 -0
- package/dist/mjs/types/Enum/SalesContractBrandClementine.d.ts +3 -41
- package/dist/mjs/types/Enum/SalesContractBrandClementine.d.ts.map +1 -1
- package/dist/mjs/types/Enum/SalesContractBrandClementine.js.map +1 -1
- package/dist/mjs/types/Enum/SalesContractBrandPourcentage.d.ts +4 -59
- package/dist/mjs/types/Enum/SalesContractBrandPourcentage.d.ts.map +1 -1
- package/dist/mjs/types/Enum/SalesContractBrandPourcentage.js.map +1 -1
- package/dist/mjs/types/Enum/Vat.d.ts +20 -1
- package/dist/mjs/types/Enum/Vat.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Vat.js.map +1 -1
- package/dist/mjs/types/Interface/api/balanceSheet/consistency/Read.d.ts +5 -0
- package/dist/mjs/types/Interface/api/balanceSheet/consistency/Read.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/balanceSheet/consistency/Read.js +2 -0
- package/dist/mjs/types/Interface/api/balanceSheet/consistency/Read.js.map +1 -0
- package/dist/mjs/types/Interface/api/calendarEvent/createCalendarEventForUsers.d.ts +2 -0
- package/dist/mjs/types/Interface/api/calendarEvent/createCalendarEventForUsers.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/calendarEvent/createCalendarEventForUsers.js +9 -1
- package/dist/mjs/types/Interface/api/calendarEvent/createCalendarEventForUsers.js.map +1 -1
- package/dist/mjs/types/Interface/api/checklist/Query.d.ts +1 -0
- package/dist/mjs/types/Interface/api/checklist/Query.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/checklist/Query.js +8 -0
- package/dist/mjs/types/Interface/api/checklist/Query.js.map +1 -1
- package/dist/mjs/types/Interface/api/checklist/Read.d.ts +2 -0
- package/dist/mjs/types/Interface/api/checklist/Read.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/checklist/Read.js.map +1 -1
- package/dist/mjs/types/Interface/api/salesContract/Read.d.ts +11 -0
- package/dist/mjs/types/Interface/api/salesContract/Read.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/salesContract/Read.js +2 -0
- package/dist/mjs/types/Interface/api/salesContract/Read.js.map +1 -0
- package/dist/mjs/types/index.d.ts +3 -0
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +3 -0
- package/dist/mjs/types/index.js.map +1 -1
- package/dist/mjs/utils/brands.d.ts +130 -14
- package/dist/mjs/utils/brands.d.ts.map +1 -1
- package/dist/mjs/utils/brands.js +27 -10
- package/dist/mjs/utils/brands.js.map +1 -1
- package/dist/mjs/utils/checkup.d.ts +1 -36
- package/dist/mjs/utils/checkup.d.ts.map +1 -1
- package/dist/mjs/utils/vat/3310/century23.d.ts.map +1 -1
- package/dist/mjs/utils/vat/3310/century23.js +4 -0
- package/dist/mjs/utils/vat/3310/century23.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/BalanceSheet.ts +5 -1
- package/ts/types/Enum/BalanceSheet.ts +1 -1
- package/ts/types/Enum/BrandAnytime.ts +3 -2
- package/ts/types/Enum/BrandClementine.ts +3 -2
- package/ts/types/Enum/BrandComptalib.ts +4 -2
- package/ts/types/Enum/BrandLegalstart.ts +3 -2
- package/ts/types/Enum/BrandPourcentage.ts +3 -2
- package/ts/types/Enum/BrandStatutsExpress.ts +4 -2
- package/ts/types/Enum/Consistency.ts +269 -0
- package/ts/types/Enum/SalesContractBrandClementine.ts +7 -6
- package/ts/types/Enum/SalesContractBrandPourcentage.ts +9 -8
- package/ts/types/Enum/Vat.ts +21 -2
- package/ts/types/Interface/api/balanceSheet/consistency/Read.ts +3 -0
- package/ts/types/Interface/api/calendarEvent/createCalendarEventForUsers.ts +7 -1
- package/ts/types/Interface/api/checklist/Query.ts +6 -0
- package/ts/types/Interface/api/checklist/Read.ts +2 -0
- package/ts/types/Interface/api/salesContract/Read.ts +11 -0
- package/ts/types/index.ts +3 -0
- package/ts/utils/brands.ts +180 -30
- package/ts/utils/vat/3310/century23.ts +4 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IBalanceSheet, QueryBalanceSheetMonthlyStatistic, QueryBalanceSheetStatistic, QueryBalanceSheetAttestation, ReadBalanceSheetMonthlyStatistic, ReadBalanceSheetStatistic, ReadFreelanceTurnover, UpdateBalanceSheet, CreateBalanceSheetAttestation, QueryBalanceSheetGenerateUnpaid } from '../..';
|
|
1
|
+
import { IBalanceSheet, QueryBalanceSheetMonthlyStatistic, QueryBalanceSheetStatistic, QueryBalanceSheetAttestation, ReadBalanceSheetMonthlyStatistic, ReadBalanceSheetStatistic, ReadFreelanceTurnover, UpdateBalanceSheet, CreateBalanceSheetAttestation, QueryBalanceSheetGenerateUnpaid, ReadBalanceSheetConsistency } from '../..';
|
|
2
2
|
import { Resource } from '../Resource';
|
|
3
3
|
import { AxiosResponse } from 'axios';
|
|
4
4
|
|
|
@@ -53,4 +53,8 @@ export class BalanceSheet extends Resource {
|
|
|
53
53
|
getByExercice(idExercice: number): Promise<IBalanceSheet | null> {
|
|
54
54
|
return this.axios.$get(`/exercice/${idExercice}/balance-sheets`);
|
|
55
55
|
}
|
|
56
|
+
|
|
57
|
+
getConsistency(idExercice: number): Promise<ReadBalanceSheetConsistency[]> {
|
|
58
|
+
return this.axios.$get(`/exercices/${idExercice}/consistency`);
|
|
59
|
+
}
|
|
56
60
|
}
|
|
@@ -718,7 +718,7 @@ export const BALANCE_SHEET_LIST_PASSIVE: BalanceSheetList = [
|
|
|
718
718
|
{
|
|
719
719
|
name: 'Dettes Fournisseurs et Comptes rattachés',
|
|
720
720
|
key: 'payables',
|
|
721
|
-
accounts: ['401', '403', '4081', '4088'],
|
|
721
|
+
accounts: ['401', '403', '4081', '4083', '4088'],
|
|
722
722
|
// PASSIF dette fournisseurs = lorsque l'entreprise doit de l'argent au fournisseurs = somme crédit > débit
|
|
723
723
|
idThirdPartyTypeToAdd: [ThirdPartyType.PROVIDER, MathematicalSign.LESS],
|
|
724
724
|
isSubcategory: true,
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { Brand } from '../../utils';
|
|
1
2
|
import { SalesContractClementine } from './SalesContractBrandClementine';
|
|
2
3
|
|
|
3
|
-
export const BrandAnytime = [
|
|
4
|
+
export const BrandAnytime: Brand[] = [
|
|
4
5
|
{
|
|
5
6
|
idTypeBrand: 1,
|
|
6
7
|
name: 'Anytime',
|
|
@@ -119,4 +120,4 @@ export const BrandAnytime = [
|
|
|
119
120
|
},
|
|
120
121
|
salesContractConfig: SalesContractClementine,
|
|
121
122
|
},
|
|
122
|
-
];
|
|
123
|
+
] as const;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { Brand } from '../../utils';
|
|
1
2
|
import { SalesContractClementine, SalesContractKlems } from './SalesContractBrandClementine';
|
|
2
3
|
|
|
3
|
-
export const BrandClementine = [
|
|
4
|
+
export const BrandClementine: Brand[] = [
|
|
4
5
|
{
|
|
5
6
|
idTypeBrand: 1,
|
|
6
7
|
name: 'Clementine',
|
|
@@ -328,4 +329,4 @@ export const BrandClementine = [
|
|
|
328
329
|
},
|
|
329
330
|
salesContractConfig: SalesContractKlems,
|
|
330
331
|
},
|
|
331
|
-
];
|
|
332
|
+
] as const;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import { Brand } from '../../utils';
|
|
2
|
+
|
|
3
|
+
export const BrandComptalib: Brand[] = [
|
|
2
4
|
{
|
|
3
5
|
idTypeBrand: 1,
|
|
4
6
|
name: 'Comptalib',
|
|
@@ -238,4 +240,4 @@ export const BrandComptalib = [
|
|
|
238
240
|
domains: ['@lecomptablefrancais.fr'],
|
|
239
241
|
},
|
|
240
242
|
},
|
|
241
|
-
];
|
|
243
|
+
] as const;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { Brand } from '../../utils';
|
|
1
2
|
import { SalesContractLegalstart } from './SalesContractBrandLegalstart';
|
|
2
3
|
|
|
3
|
-
export const BrandLegalstart = [
|
|
4
|
+
export const BrandLegalstart: Brand[] = [
|
|
4
5
|
{
|
|
5
6
|
idTypeBrand: 1,
|
|
6
7
|
name: 'LegalStart',
|
|
@@ -110,4 +111,4 @@ export const BrandLegalstart = [
|
|
|
110
111
|
},
|
|
111
112
|
salesContractConfig: SalesContractLegalstart,
|
|
112
113
|
},
|
|
113
|
-
];
|
|
114
|
+
] as const;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { Brand } from '../../utils';
|
|
1
2
|
import { SalesContractBrandPourcentageOnline, SalesContractBrandPourcentageECE, SalesContractBrandPourcentageECF } from './SalesContractBrandPourcentage';
|
|
2
3
|
|
|
3
|
-
export const BrandPourcentage = [
|
|
4
|
+
export const BrandPourcentage: Brand[] = [
|
|
4
5
|
{
|
|
5
6
|
idTypeBrand: 1,
|
|
6
7
|
urlS3: 'https://s3.eu-west-3.amazonaws.com/resources-pourcentage/',
|
|
@@ -431,4 +432,4 @@ export const BrandPourcentage = [
|
|
|
431
432
|
},
|
|
432
433
|
salesContractConfig: SalesContractBrandPourcentageECF,
|
|
433
434
|
},
|
|
434
|
-
];
|
|
435
|
+
] as const;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import { Brand } from '../../utils';
|
|
2
|
+
|
|
3
|
+
export const BrandStatutsExpress: Brand[] = [
|
|
2
4
|
{
|
|
3
5
|
idTypeBrand: 1,
|
|
4
6
|
name: 'Statuts-Express',
|
|
@@ -100,4 +102,4 @@ export const BrandStatutsExpress = [
|
|
|
100
102
|
},
|
|
101
103
|
},
|
|
102
104
|
},
|
|
103
|
-
];
|
|
105
|
+
] as const;
|
|
@@ -0,0 +1,269 @@
|
|
|
1
|
+
export enum ConsistencyState {
|
|
2
|
+
VALID = 1,
|
|
3
|
+
INVALID = 2,
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
export enum ConsistencyKey {
|
|
7
|
+
CAPITAL_BELOW_HALF_OF_SHARE_CAPITAL = 'CAPITAL_BELOW_HALF_OF_SHARE_CAPITAL',
|
|
8
|
+
FEES_OVER_1200_EUROS_DAS2_FORM_REQUIRED = 'FEES_OVER_1200_EUROS_DAS2_FORM_REQUIRED',
|
|
9
|
+
NO_FINISHED_PRODUCTS_SALES_WITH_RAW_MATERIAL_PURCHASES = 'NO_FINISHED_PRODUCTS_SALES_WITH_RAW_MATERIAL_PURCHASES',
|
|
10
|
+
NO_GOODS_SALES_WITH_GOODS_PURCHASES = 'NO_GOODS_SALES_WITH_GOODS_PURCHASES',
|
|
11
|
+
NO_FINISHED_PRODUCTS_STOCK_WITH_SALES_OR_PURCHASES = 'NO_FINISHED_PRODUCTS_STOCK_WITH_SALES_OR_PURCHASES',
|
|
12
|
+
NO_GOODS_STOCK_WITH_SALES_OR_PURCHASES = 'NO_GOODS_STOCK_WITH_SALES_OR_PURCHASES',
|
|
13
|
+
NO_CONSUMABLES_STOCK_WITH_PURCHASES = 'NO_CONSUMABLES_STOCK_WITH_PURCHASES',
|
|
14
|
+
CASH_ACCOUNT_CREDIT_BALANCE = 'CASH_ACCOUNT_CREDIT_BALANCE',
|
|
15
|
+
PARTNER_CURRENT_ACCOUNT_DEBIT_BALANCE = 'PARTNER_CURRENT_ACCOUNT_DEBIT_BALANCE',
|
|
16
|
+
EXPENSES_ON_VEHICLE_WITH_NO_VEHICLE_ASSET = 'EXPENSES_ON_VEHICLE_WITH_NO_VEHICLE_ASSET',
|
|
17
|
+
TRANSPORT_EQUIPMENT_WITHOUT_VEHICLE_TAXES = 'TRANSPORT_EQUIPMENT_WITHOUT_VEHICLE_TAXES',
|
|
18
|
+
PRIOR_YEAR_RESULT_NOT_ALLOCATED = 'PRIOR_YEAR_RESULT_NOT_ALLOCATED',
|
|
19
|
+
INTERNAL_TRANSFERS_NOT_BALANCED = 'INTERNAL_TRANSFERS_NOT_BALANCED',
|
|
20
|
+
SUSPENSE_ACCOUNT_NOT_BALANCED = 'SUSPENSE_ACCOUNT_NOT_BALANCED',
|
|
21
|
+
LOAN_WITHOUT_INTEREST_IN_FINANCIAL_EXPENSES = 'LOAN_WITHOUT_INTEREST_IN_FINANCIAL_EXPENSES',
|
|
22
|
+
ASSET_WITHOUT_DEPRECIATION = 'ASSET_WITHOUT_DEPRECIATION',
|
|
23
|
+
TNS_SOCIAL_CONTRIBUTION_RATE_PROVISION = 'TNS_SOCIAL_CONTRIBUTION_RATE_PROVISION',
|
|
24
|
+
NO_ACCOUNT_695_WITH_PROFIT = 'NO_ACCOUNT_695_WITH_PROFIT',
|
|
25
|
+
INAPPROPRIATE_OWNER_ACCOUNT_FOR_LEGAL_FORM = 'INAPPROPRIATE_OWNER_ACCOUNT_FOR_LEGAL_FORM',
|
|
26
|
+
INAPPROPRIATE_PARTNER_CURRENT_ACCOUNT_FOR_LEGAL_FORM = 'INAPPROPRIATE_PARTNER_CURRENT_ACCOUNT_FOR_LEGAL_FORM',
|
|
27
|
+
NEGATIVE_MARGIN = 'NEGATIVE_MARGIN',
|
|
28
|
+
CHECK_CUTOFF_CASH_RECEIVED_AFTER_CLOSING_PERIOD = 'CHECK_CUTOFF_CASH_RECEIVED_AFTER_CLOSING_PERIOD',
|
|
29
|
+
AMOUNT_OVER_1000_EUROS_IN_ACCOUNT_6XXX_NOT_REVIEWED = 'AMOUNT_OVER_1000_EUROS_IN_ACCOUNT_6XXX_NOT_REVIEWED',
|
|
30
|
+
UNBALANCED_VAT_ACCOUNTS = 'UNBALANCED_VAT_ACCOUNTS',
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export type ConsistencyIssue = { key: ConsistencyKey; label: string; isBlocking: boolean; settings: ConsistencySetting };
|
|
34
|
+
|
|
35
|
+
export enum ConsistencySettingType {
|
|
36
|
+
SHOULD_VERIFY_MATCHING_ACCOUNT = 'SHOULD_VERIFY_MATCHING_ACCOUNT',
|
|
37
|
+
SHOULD_VERIFY_AMOUNT = 'SHOULD_VERIFY_AMOUNT',
|
|
38
|
+
OTHER = 'other',
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
type ConsistencySetting = {
|
|
42
|
+
type: ConsistencySettingType;
|
|
43
|
+
|
|
44
|
+
// SHOULD_VERIFY_MATCHING_ACCOUNT
|
|
45
|
+
ifHasOneOfThesesAccountNumber?: string[];
|
|
46
|
+
shouldCheckAccountNumber?: string;
|
|
47
|
+
|
|
48
|
+
// SHOULD_VERIFY_AMOUNT
|
|
49
|
+
accountsToAdd?: string[];
|
|
50
|
+
isValid?: (sum: number) => boolean;
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
export const ConsistencyIssues: ConsistencyIssue[] = [
|
|
54
|
+
{
|
|
55
|
+
key: ConsistencyKey.CAPITAL_BELOW_HALF_OF_SHARE_CAPITAL,
|
|
56
|
+
label: 'Les capitaux propres sont inférieurs à la moitié du capital social',
|
|
57
|
+
isBlocking: false,
|
|
58
|
+
settings: {
|
|
59
|
+
type: ConsistencySettingType.OTHER,
|
|
60
|
+
},
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
key: ConsistencyKey.FEES_OVER_1200_EUROS_DAS2_FORM_REQUIRED,
|
|
64
|
+
label: 'Honoraires > 1200€ TTC, faire DAS',
|
|
65
|
+
isBlocking: false,
|
|
66
|
+
settings: {
|
|
67
|
+
type: ConsistencySettingType.SHOULD_VERIFY_AMOUNT,
|
|
68
|
+
accountsToAdd: ['6226'],
|
|
69
|
+
isValid: (sum: number) => sum <= 1000,
|
|
70
|
+
},
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
key: ConsistencyKey.NO_FINISHED_PRODUCTS_SALES_WITH_RAW_MATERIAL_PURCHASES,
|
|
74
|
+
label: 'Achats de matières premières sans ventes de produits finis ?',
|
|
75
|
+
isBlocking: false,
|
|
76
|
+
settings: {
|
|
77
|
+
type: ConsistencySettingType.SHOULD_VERIFY_MATCHING_ACCOUNT,
|
|
78
|
+
ifHasOneOfThesesAccountNumber: ['601'],
|
|
79
|
+
shouldCheckAccountNumber: '701',
|
|
80
|
+
},
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
key: ConsistencyKey.NO_GOODS_SALES_WITH_GOODS_PURCHASES,
|
|
84
|
+
label: 'Achats de marchandises sans ventes de marchandises ?',
|
|
85
|
+
isBlocking: false,
|
|
86
|
+
settings: {
|
|
87
|
+
type: ConsistencySettingType.SHOULD_VERIFY_MATCHING_ACCOUNT,
|
|
88
|
+
ifHasOneOfThesesAccountNumber: ['607'],
|
|
89
|
+
shouldCheckAccountNumber: '707',
|
|
90
|
+
},
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
key: ConsistencyKey.NO_FINISHED_PRODUCTS_STOCK_WITH_SALES_OR_PURCHASES,
|
|
94
|
+
label: 'Ventes/achats de matières premières sans stock correspondant',
|
|
95
|
+
isBlocking: false,
|
|
96
|
+
settings: {
|
|
97
|
+
type: ConsistencySettingType.SHOULD_VERIFY_MATCHING_ACCOUNT,
|
|
98
|
+
ifHasOneOfThesesAccountNumber: ['701', '601'],
|
|
99
|
+
shouldCheckAccountNumber: '31',
|
|
100
|
+
},
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
key: ConsistencyKey.NO_GOODS_STOCK_WITH_SALES_OR_PURCHASES,
|
|
104
|
+
label: 'Ventes/achats de marchandises sans stock correspondant',
|
|
105
|
+
isBlocking: false,
|
|
106
|
+
settings: {
|
|
107
|
+
type: ConsistencySettingType.SHOULD_VERIFY_MATCHING_ACCOUNT,
|
|
108
|
+
ifHasOneOfThesesAccountNumber: ['707', '607'],
|
|
109
|
+
shouldCheckAccountNumber: '37',
|
|
110
|
+
},
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
key: ConsistencyKey.NO_CONSUMABLES_STOCK_WITH_PURCHASES,
|
|
114
|
+
label: 'Achats de consommables sans stock correspondant',
|
|
115
|
+
isBlocking: false,
|
|
116
|
+
settings: {
|
|
117
|
+
type: ConsistencySettingType.SHOULD_VERIFY_MATCHING_ACCOUNT,
|
|
118
|
+
ifHasOneOfThesesAccountNumber: ['602'],
|
|
119
|
+
shouldCheckAccountNumber: '32',
|
|
120
|
+
},
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
key: ConsistencyKey.CASH_ACCOUNT_CREDIT_BALANCE,
|
|
124
|
+
label: 'La caisse est créditrice',
|
|
125
|
+
isBlocking: false,
|
|
126
|
+
settings: {
|
|
127
|
+
type: ConsistencySettingType.SHOULD_VERIFY_AMOUNT,
|
|
128
|
+
accountsToAdd: ['53'],
|
|
129
|
+
isValid: (sum: number) => sum >= 0,
|
|
130
|
+
},
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
key: ConsistencyKey.PARTNER_CURRENT_ACCOUNT_DEBIT_BALANCE,
|
|
134
|
+
label: 'Compte courant associé 455xxx débiteur',
|
|
135
|
+
isBlocking: false,
|
|
136
|
+
settings: {
|
|
137
|
+
type: ConsistencySettingType.OTHER,
|
|
138
|
+
},
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
key: ConsistencyKey.EXPENSES_ON_VEHICLE_WITH_NO_VEHICLE_ASSET,
|
|
142
|
+
label: 'Vérifier les dépenses de carburant et d\'entretien sans véhicule à l\'actif de la société',
|
|
143
|
+
isBlocking: false,
|
|
144
|
+
settings: {
|
|
145
|
+
type: ConsistencySettingType.SHOULD_VERIFY_MATCHING_ACCOUNT,
|
|
146
|
+
ifHasOneOfThesesAccountNumber: ['60613', '615210'],
|
|
147
|
+
shouldCheckAccountNumber: '218200',
|
|
148
|
+
},
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
key: ConsistencyKey.TRANSPORT_EQUIPMENT_WITHOUT_VEHICLE_TAXES,
|
|
152
|
+
label: 'Matériel de transport sans taxes sur les véhicules',
|
|
153
|
+
isBlocking: false,
|
|
154
|
+
settings: {
|
|
155
|
+
type: ConsistencySettingType.SHOULD_VERIFY_MATCHING_ACCOUNT,
|
|
156
|
+
ifHasOneOfThesesAccountNumber: ['2182'],
|
|
157
|
+
shouldCheckAccountNumber: '63514',
|
|
158
|
+
},
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
key: ConsistencyKey.PRIOR_YEAR_RESULT_NOT_ALLOCATED,
|
|
162
|
+
label: 'Resultat N-1 non affecté',
|
|
163
|
+
isBlocking: true,
|
|
164
|
+
settings: {
|
|
165
|
+
type: ConsistencySettingType.OTHER,
|
|
166
|
+
},
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
key: ConsistencyKey.INTERNAL_TRANSFERS_NOT_BALANCED,
|
|
170
|
+
label: 'Virements internes non soldés',
|
|
171
|
+
isBlocking: false,
|
|
172
|
+
settings: {
|
|
173
|
+
type: ConsistencySettingType.SHOULD_VERIFY_AMOUNT,
|
|
174
|
+
accountsToAdd: ['58'],
|
|
175
|
+
isValid: (sum: number) => sum === 0,
|
|
176
|
+
},
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
key: ConsistencyKey.SUSPENSE_ACCOUNT_NOT_BALANCED,
|
|
180
|
+
label: 'Compte d\'attente non soldé',
|
|
181
|
+
isBlocking: true,
|
|
182
|
+
settings: {
|
|
183
|
+
type: ConsistencySettingType.SHOULD_VERIFY_AMOUNT,
|
|
184
|
+
accountsToAdd: ['472'],
|
|
185
|
+
isValid: (sum: number) => sum === 0,
|
|
186
|
+
},
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
key: ConsistencyKey.LOAN_WITHOUT_INTEREST_IN_FINANCIAL_EXPENSES,
|
|
190
|
+
label: 'Emprunt sans intérêts comptabilisés en charges financières',
|
|
191
|
+
isBlocking: false,
|
|
192
|
+
settings: {
|
|
193
|
+
type: ConsistencySettingType.SHOULD_VERIFY_MATCHING_ACCOUNT,
|
|
194
|
+
ifHasOneOfThesesAccountNumber: ['164'],
|
|
195
|
+
shouldCheckAccountNumber: '661',
|
|
196
|
+
},
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
key: ConsistencyKey.ASSET_WITHOUT_DEPRECIATION,
|
|
200
|
+
label: 'Immobilisation(s) non amortie(s) comptabilisée(s',
|
|
201
|
+
isBlocking: true,
|
|
202
|
+
settings: {
|
|
203
|
+
type: ConsistencySettingType.SHOULD_VERIFY_MATCHING_ACCOUNT,
|
|
204
|
+
ifHasOneOfThesesAccountNumber: [
|
|
205
|
+
'200', '201', '202', '203', '204', '205', '206', '208', '209',
|
|
206
|
+
'210', '212', '213', '214', '215', '216', '217', '218', '219',
|
|
207
|
+
'22', '23', '24', '25', '29',
|
|
208
|
+
],
|
|
209
|
+
shouldCheckAccountNumber: '28',
|
|
210
|
+
},
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
key: ConsistencyKey.TNS_SOCIAL_CONTRIBUTION_RATE_PROVISION,
|
|
214
|
+
label: 'Le taux de cotisations sociales obligatoires TNS est de xx%, la provision TNS est-elle passée ?',
|
|
215
|
+
isBlocking: false,
|
|
216
|
+
settings: {
|
|
217
|
+
type: ConsistencySettingType.OTHER,
|
|
218
|
+
},
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
key: ConsistencyKey.NO_ACCOUNT_695_WITH_PROFIT,
|
|
222
|
+
label: 'Pas de compte 695 alors que le résultat est un bénéfice',
|
|
223
|
+
isBlocking: false,
|
|
224
|
+
settings: {
|
|
225
|
+
type: ConsistencySettingType.OTHER,
|
|
226
|
+
},
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
key: ConsistencyKey.INAPPROPRIATE_OWNER_ACCOUNT_FOR_LEGAL_FORM,
|
|
230
|
+
label: 'Compte de l\'exploitant incompatible avec la forme juridique',
|
|
231
|
+
isBlocking: true,
|
|
232
|
+
settings: {
|
|
233
|
+
type: ConsistencySettingType.OTHER,
|
|
234
|
+
},
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
key: ConsistencyKey.INAPPROPRIATE_PARTNER_CURRENT_ACCOUNT_FOR_LEGAL_FORM,
|
|
238
|
+
label: 'Compte courant associé incompatible avec la forme juridique',
|
|
239
|
+
isBlocking: true,
|
|
240
|
+
settings: {
|
|
241
|
+
type: ConsistencySettingType.OTHER,
|
|
242
|
+
},
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
key: ConsistencyKey.NEGATIVE_MARGIN,
|
|
246
|
+
label: 'La marge est négative',
|
|
247
|
+
isBlocking: true,
|
|
248
|
+
settings: {
|
|
249
|
+
type: ConsistencySettingType.OTHER,
|
|
250
|
+
},
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
key: ConsistencyKey.CHECK_CUTOFF_CASH_RECEIVED_AFTER_CLOSING_PERIOD,
|
|
254
|
+
label: 'Avez-vous vérifié le cut-off ? Des encaissements ont été reçus le mois suivant la clôture',
|
|
255
|
+
isBlocking: false,
|
|
256
|
+
settings: {
|
|
257
|
+
type: ConsistencySettingType.OTHER,
|
|
258
|
+
},
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
key: ConsistencyKey.AMOUNT_OVER_1000_EUROS_IN_ACCOUNT_6XXX_NOT_REVIEWED,
|
|
262
|
+
label: 'Montant de plus de 1000€ non révisé dans le compte 6xx',
|
|
263
|
+
isBlocking: true,
|
|
264
|
+
settings: {
|
|
265
|
+
type: ConsistencySettingType.OTHER,
|
|
266
|
+
},
|
|
267
|
+
},
|
|
268
|
+
];
|
|
269
|
+
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { SaleContract } from '..';
|
|
1
2
|
import { PrestationType, allPrestationsWithBrochure, PrestationDetail } from './PrestationType';
|
|
2
3
|
|
|
3
|
-
export const SalesContractClementine = [
|
|
4
|
+
export const SalesContractClementine: SaleContract[] = [
|
|
4
5
|
{
|
|
5
6
|
label: 'Page d\'introduction',
|
|
6
7
|
name: 'page_intro',
|
|
@@ -27,14 +28,14 @@ export const SalesContractClementine = [
|
|
|
27
28
|
name: 'page_detail_ldm',
|
|
28
29
|
needBgImage: false,
|
|
29
30
|
versionable: false,
|
|
30
|
-
idPrestationType: Object.values(PrestationDetail).filter(p => !p.isBack && !p.hidden && allPrestationsWithBrochure.includes(p.id!)).map(({ id }) => id), // Prestations non express
|
|
31
|
+
idPrestationType: Object.values(PrestationDetail).filter(p => !p.isBack && !p.hidden && allPrestationsWithBrochure.includes(p.id!)).map(({ id }) => id!), // Prestations non express
|
|
31
32
|
},
|
|
32
33
|
{
|
|
33
34
|
label: 'Détail de la lettre de mission (express)',
|
|
34
35
|
name: 'page_detail_ldm_back',
|
|
35
36
|
needBgImage: false,
|
|
36
37
|
versionable: false,
|
|
37
|
-
idPrestationType: Object.values(PrestationDetail).filter(p => p.isBack && !p.hidden && allPrestationsWithBrochure.includes(p.id!)).map(({ id }) => id), // Prestations express
|
|
38
|
+
idPrestationType: Object.values(PrestationDetail).filter(p => p.isBack && !p.hidden && allPrestationsWithBrochure.includes(p.id!)).map(({ id }) => id!), // Prestations express
|
|
38
39
|
},
|
|
39
40
|
{
|
|
40
41
|
label: 'Compta Pro',
|
|
@@ -185,7 +186,7 @@ export const SalesContractClementine = [
|
|
|
185
186
|
},
|
|
186
187
|
];
|
|
187
188
|
|
|
188
|
-
export const SalesContractKlems = [
|
|
189
|
+
export const SalesContractKlems: SaleContract[] = [
|
|
189
190
|
// pour les pages statiques
|
|
190
191
|
{
|
|
191
192
|
label: 'Page d\'introduction',
|
|
@@ -213,14 +214,14 @@ export const SalesContractKlems = [
|
|
|
213
214
|
name: 'page_detail_ldm',
|
|
214
215
|
needBgImage: false,
|
|
215
216
|
versionable: false,
|
|
216
|
-
idPrestationType: Object.values(PrestationDetail).filter(p => !p.isBack && !p.hidden && [PrestationType.SOCIAL, PrestationType.COMPTA_MICRO_KLEMS, PrestationType.COMPTA_EI_KLEMS, PrestationType.COMPTA_LOUEUR_MEUBLE_NON_PRO_KLEMS, PrestationType.BILAN_PREVISIONNEL].includes(p.id!)).map(({ id }) => id), // Prestations non express
|
|
217
|
+
idPrestationType: Object.values(PrestationDetail).filter(p => !p.isBack && !p.hidden && [PrestationType.SOCIAL, PrestationType.COMPTA_MICRO_KLEMS, PrestationType.COMPTA_EI_KLEMS, PrestationType.COMPTA_LOUEUR_MEUBLE_NON_PRO_KLEMS, PrestationType.BILAN_PREVISIONNEL].includes(p.id!)).map(({ id }) => id!), // Prestations non express
|
|
217
218
|
},
|
|
218
219
|
{
|
|
219
220
|
label: 'Détail de la lettre de mission (express)',
|
|
220
221
|
name: 'page_detail_ldm_back',
|
|
221
222
|
needBgImage: false,
|
|
222
223
|
versionable: false,
|
|
223
|
-
idPrestationType: Object.values(PrestationDetail).filter(p => p.isBack && !p.hidden && [PrestationType.SOCIAL, PrestationType.COMPTA_MICRO_KLEMS_EXPRESS, PrestationType.COMPTA_EI_KLEMS_EXPRESS, PrestationType.COMPTA_LOUEUR_MEUBLE_NON_PRO_KLEMS_EXPRESS].includes(p.id!)).map(({ id }) => id), // Prestations express
|
|
224
|
+
idPrestationType: Object.values(PrestationDetail).filter(p => p.isBack && !p.hidden && [PrestationType.SOCIAL, PrestationType.COMPTA_MICRO_KLEMS_EXPRESS, PrestationType.COMPTA_EI_KLEMS_EXPRESS, PrestationType.COMPTA_LOUEUR_MEUBLE_NON_PRO_KLEMS_EXPRESS].includes(p.id!)).map(({ id }) => id!), // Prestations express
|
|
224
225
|
},
|
|
225
226
|
{
|
|
226
227
|
label: 'Forfait Expertise Micro',
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { SaleContract } from '..';
|
|
1
2
|
import { PrestationType, allPrestationsWithBrochure, PrestationDetail } from './PrestationType';
|
|
2
3
|
|
|
3
|
-
export const SalesContractBrandPourcentageOnline = [
|
|
4
|
+
export const SalesContractBrandPourcentageOnline: SaleContract[] = [
|
|
4
5
|
// pour les pages statiques
|
|
5
6
|
{
|
|
6
7
|
label: 'Page d\'introduction',
|
|
@@ -28,14 +29,14 @@ export const SalesContractBrandPourcentageOnline = [
|
|
|
28
29
|
name: 'page_detail_ldm',
|
|
29
30
|
needBgImage: false,
|
|
30
31
|
versionable: false,
|
|
31
|
-
idPrestationType: Object.values(PrestationDetail).filter(p => !p.isBack && !p.hidden && allPrestationsWithBrochure.includes(p.id!)).map(({ id }) => id), // Prestations non express
|
|
32
|
+
idPrestationType: Object.values(PrestationDetail).filter(p => !p.isBack && !p.hidden && allPrestationsWithBrochure.includes(p.id!)).map(({ id }) => id!), // Prestations non express
|
|
32
33
|
},
|
|
33
34
|
{
|
|
34
35
|
label: 'Détail de la lettre de mission (express)',
|
|
35
36
|
name: 'page_detail_ldm_back',
|
|
36
37
|
needBgImage: false,
|
|
37
38
|
versionable: false,
|
|
38
|
-
idPrestationType: Object.values(PrestationDetail).filter(p => p.isBack && !p.hidden && allPrestationsWithBrochure.includes(p.id!)).map(({ id }) => id), // Prestations express
|
|
39
|
+
idPrestationType: Object.values(PrestationDetail).filter(p => p.isBack && !p.hidden && allPrestationsWithBrochure.includes(p.id!)).map(({ id }) => id!), // Prestations express
|
|
39
40
|
},
|
|
40
41
|
{
|
|
41
42
|
label: 'Compta Pourcentage',
|
|
@@ -162,7 +163,7 @@ export const SalesContractBrandPourcentageOnline = [
|
|
|
162
163
|
},
|
|
163
164
|
];
|
|
164
165
|
|
|
165
|
-
export const SalesContractBrandPourcentageECE = [
|
|
166
|
+
export const SalesContractBrandPourcentageECE: SaleContract[] = [
|
|
166
167
|
// pour les pages statiques
|
|
167
168
|
{
|
|
168
169
|
label: 'Page d\'introduction',
|
|
@@ -190,14 +191,14 @@ export const SalesContractBrandPourcentageECE = [
|
|
|
190
191
|
name: 'page_detail_ldm',
|
|
191
192
|
needBgImage: false,
|
|
192
193
|
versionable: false,
|
|
193
|
-
idPrestationType: Object.values(PrestationDetail).filter(p => !p.isBack && !p.hidden && allPrestationsWithBrochure.includes(p.id!)).map(({ id }) => id), // Prestations non express
|
|
194
|
+
idPrestationType: Object.values(PrestationDetail).filter(p => !p.isBack && !p.hidden && allPrestationsWithBrochure.includes(p.id!)).map(({ id }) => id!), // Prestations non express
|
|
194
195
|
},
|
|
195
196
|
{
|
|
196
197
|
label: 'Détail de la lettre de mission (express)',
|
|
197
198
|
name: 'page_detail_ldm_back',
|
|
198
199
|
needBgImage: false,
|
|
199
200
|
versionable: false,
|
|
200
|
-
idPrestationType: Object.values(PrestationDetail).filter(p => p.isBack && !p.hidden && allPrestationsWithBrochure.includes(p.id!)).map(({ id }) => id), // Prestations express
|
|
201
|
+
idPrestationType: Object.values(PrestationDetail).filter(p => p.isBack && !p.hidden && allPrestationsWithBrochure.includes(p.id!)).map(({ id }) => id!), // Prestations express
|
|
201
202
|
},
|
|
202
203
|
{
|
|
203
204
|
label: 'Compta Pourcentage',
|
|
@@ -350,14 +351,14 @@ export const SalesContractBrandPourcentageECF = [
|
|
|
350
351
|
name: 'page_detail_ldm',
|
|
351
352
|
needBgImage: false,
|
|
352
353
|
versionable: false,
|
|
353
|
-
idPrestationType: Object.values(PrestationDetail).filter(p => !p.isBack && !p.hidden && allPrestationsWithBrochure.includes(p.id!)).map(({ id }) => id), // Prestations non express
|
|
354
|
+
idPrestationType: Object.values(PrestationDetail).filter(p => !p.isBack && !p.hidden && allPrestationsWithBrochure.includes(p.id!)).map(({ id }) => id!), // Prestations non express
|
|
354
355
|
},
|
|
355
356
|
{
|
|
356
357
|
label: 'Détail de la lettre de mission (express)',
|
|
357
358
|
name: 'page_detail_ldm_back',
|
|
358
359
|
needBgImage: false,
|
|
359
360
|
versionable: false,
|
|
360
|
-
idPrestationType: Object.values(PrestationDetail).filter(p => p.isBack && !p.hidden && allPrestationsWithBrochure.includes(p.id!)).map(({ id }) => id), // Prestations express
|
|
361
|
+
idPrestationType: Object.values(PrestationDetail).filter(p => p.isBack && !p.hidden && allPrestationsWithBrochure.includes(p.id!)).map(({ id }) => id!), // Prestations express
|
|
361
362
|
},
|
|
362
363
|
{
|
|
363
364
|
label: 'Compta Pourcentage',
|
package/ts/types/Enum/Vat.ts
CHANGED
|
@@ -14,10 +14,29 @@ export interface VatType {
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
export interface VatTypeEnum {
|
|
17
|
-
|
|
17
|
+
WITHOUT_TAXE: VatType;
|
|
18
|
+
TX_5_5: VatType;
|
|
19
|
+
TX_10: VatType;
|
|
20
|
+
TX_20: VatType;
|
|
21
|
+
TX_2_1: VatType;
|
|
22
|
+
TX_8_5: VatType;
|
|
23
|
+
MARGE: VatType;
|
|
24
|
+
INTRACOM_TX_20: VatType;
|
|
25
|
+
INTRACOM_WITHOUT_TAXE: VatType;
|
|
26
|
+
INTRACOM_TX_5_5: VatType;
|
|
27
|
+
INTRACOM_TX_10: VatType;
|
|
28
|
+
INTRACOM_TX_2_1: VatType;
|
|
29
|
+
INTRACOM_TX_8_5: VatType;
|
|
30
|
+
IMPORTATION_WITHOUT_TAXE: VatType;
|
|
31
|
+
IMPORTATION_TX_5_5: VatType;
|
|
32
|
+
IMPORTATION_TX_10: VatType;
|
|
33
|
+
IMPORTATION_TX_20: VatType;
|
|
34
|
+
IMPORTATION_TX_2_1: VatType;
|
|
35
|
+
IMPORTATION_TX_8_5: VatType;
|
|
36
|
+
MANUAL: VatType;
|
|
18
37
|
}
|
|
19
38
|
|
|
20
|
-
export const Vat:VatTypeEnum = {
|
|
39
|
+
export const Vat: VatTypeEnum = {
|
|
21
40
|
WITHOUT_TAXE: {
|
|
22
41
|
id: 1,
|
|
23
42
|
idTva: 1,
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { IsBoolean, IsOptional } from 'class-validator';
|
|
1
|
+
import { IsBoolean, IsEnum, IsOptional } from 'class-validator';
|
|
2
2
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
3
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
4
|
+
import { TimeSlot } from '../../../Enum/TimeSlot';
|
|
4
5
|
|
|
5
6
|
export class CreateCalendarEventForUsers {
|
|
6
7
|
@ApiProperty()
|
|
@@ -72,4 +73,9 @@ export class CreateCalendarEventForUsers {
|
|
|
72
73
|
@ToBoolean()
|
|
73
74
|
@IsOptional()
|
|
74
75
|
hasToConfirmRdvOnboardingToCustomer: boolean;
|
|
76
|
+
|
|
77
|
+
@ApiPropertyOptional()
|
|
78
|
+
@IsOptional()
|
|
79
|
+
@IsEnum(TimeSlot)
|
|
80
|
+
idTimeSlot?: TimeSlot;
|
|
75
81
|
}
|
|
@@ -77,6 +77,12 @@ export class QueryChecklistWallet extends RequiredQueryPaginate {
|
|
|
77
77
|
@IsBoolean()
|
|
78
78
|
@ToBoolean()
|
|
79
79
|
shouldRetrieveRevision: boolean;
|
|
80
|
+
|
|
81
|
+
@ApiPropertyOptional()
|
|
82
|
+
@IsOptional()
|
|
83
|
+
@IsBoolean()
|
|
84
|
+
@ToBoolean()
|
|
85
|
+
onlyChecklistPossible: boolean;
|
|
80
86
|
}
|
|
81
87
|
|
|
82
88
|
export class QueryGetAllQuestions {
|
|
@@ -18,6 +18,8 @@ export type ReadChecklistWallet = {
|
|
|
18
18
|
deadline: ReadChecklistDeadline;
|
|
19
19
|
revised?: number;
|
|
20
20
|
users: IUser[]
|
|
21
|
+
allBalanceOk?: boolean
|
|
22
|
+
percentAnnotation?: number
|
|
21
23
|
};
|
|
22
24
|
|
|
23
25
|
export type ChecklistDeadlinesToDo = Array<{ idExercice: number; deadline: ReadChecklistDeadline }>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PrestationType } from '../../..';
|
|
2
|
+
|
|
3
|
+
export type SaleContract = {
|
|
4
|
+
label: string;
|
|
5
|
+
name: string;
|
|
6
|
+
needBgImage: boolean;
|
|
7
|
+
versionable: boolean;
|
|
8
|
+
idPrestationType: PrestationType[];
|
|
9
|
+
keyName?: string;
|
|
10
|
+
condition?: (turnover: number) => boolean;
|
|
11
|
+
};
|
package/ts/types/index.ts
CHANGED
|
@@ -425,6 +425,7 @@ export * from './Enum/StatisticType';
|
|
|
425
425
|
export * from './Enum/StockType';
|
|
426
426
|
export * from './Enum/SaleType';
|
|
427
427
|
export * from './Enum/TypePayment';
|
|
428
|
+
export * from './Enum/Consistency';
|
|
428
429
|
export * from './Enum/Account';
|
|
429
430
|
export * from './Enum/TypeCustomerProviderOperation';
|
|
430
431
|
export * from './Enum/EstimateInvoice';
|
|
@@ -546,6 +547,7 @@ export * from './Enum/LetterResponseType';
|
|
|
546
547
|
|
|
547
548
|
// Interfaces API
|
|
548
549
|
export * from './Interface/api/exercice/ReadExercice';
|
|
550
|
+
export * from './Interface/api/balanceSheet/consistency/Read';
|
|
549
551
|
export * from './Interface/api/kilometricAllowance/ReadKilometricAllowance';
|
|
550
552
|
export * from './Interface/api/cashAndExpense/Query';
|
|
551
553
|
export * from './Interface/api/cerfa/das2';
|
|
@@ -709,6 +711,7 @@ export * from './Interface/api/SocietyTransaction/QuerySocietyTransactionCount';
|
|
|
709
711
|
export * from './Interface/api/SocietyTransaction/ReadSocietyTransactionCount';
|
|
710
712
|
export * from './Interface/api/salesContract/SendSalesContractParams';
|
|
711
713
|
export * from './Interface/api/salesContract/GenerateSalesContractParams';
|
|
714
|
+
export * from './Interface/api/salesContract/Read';
|
|
712
715
|
export * from './Interface/api/webmail/CreateMailFromLambda';
|
|
713
716
|
export * from './Interface/api/webmail/MigrateMailAddresses';
|
|
714
717
|
export * from './Interface/api/webmail/ExportEmails';
|