@silexpert/core 1.1.247 → 1.1.248

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@silexpert/core",
3
- "version": "1.1.247",
3
+ "version": "1.1.248",
4
4
  "description": "Silex Core perform HTTP Request and object binding. Silex core helps developers to retrieve and return formatted object",
5
5
  "homepage": "https://gitlab.compta-clementine.fr/dev/silex-api",
6
6
  "main": "dist/cjs/index.js",
@@ -32,7 +32,7 @@ export const connectionErrors: ConnectionError[] = [
32
32
  key: 'webauthRequired',
33
33
  description: {
34
34
  title: 'Une authentification est nécéssaire',
35
- content: 'Votre banque demande une nouvelle authentification. Nous vous invitons a vous rendre sur la webview de notre partenaire afin de renouveler votre connexion auprès de votre banque.',
35
+ content: 'Votre banque demande une nouvelle authentification. Nous vous invitons à vous rendre sur la webview de notre partenaire afin de renouveler votre connexion auprès de votre banque.',
36
36
  },
37
37
  },
38
38
  {
@@ -358,8 +358,8 @@ export const RoleDetail = {
358
358
  ON_BOARDER: {
359
359
  id: 50,
360
360
  name: 'On boarder',
361
- colorPrimary: '#FFF',
362
- colorSecondary: '#FFF',
361
+ colorPrimary: '#8765D0',
362
+ colorSecondary: '#DED7F6',
363
363
  handledInUserSocietyPermissionTable: false,
364
364
  isService: true,
365
365
  subRole: false,
@@ -367,8 +367,8 @@ export const RoleDetail = {
367
367
  DATA_OFFICER: {
368
368
  id: 51,
369
369
  name: 'Data Officer',
370
- colorPrimary: '#FFF',
371
- colorSecondary: '#FFF',
370
+ colorPrimary: '#5894EF',
371
+ colorSecondary: '#DAEEFC',
372
372
  handledInUserSocietyPermissionTable: false,
373
373
  isService: true,
374
374
  subRole: false,
@@ -38,7 +38,7 @@ export function getCerfa3517Century23Payload(accountingEntries: IAccountingEntry
38
38
  const vatReducedRate2Dot1 = setZeroIfIsNegative(getAmountByAccountNumber(vatEntries.filter((ae) => ae.idVat === Vat.TX_2_1.id), taxedOperationsAccounts, 0, true));
39
39
 
40
40
  const prestation2Entries = vatEntries.filter((ae) => intracomVat.includes(ae.idVat));
41
- const presta2Accounts = ['604', '61', '62'];
41
+ const presta2Accounts = ['604', '61', '62', '607', '651', '601', '602']; // Ajout suite à la demande de Ben x Angelo
42
42
  const prestation2Base = setZeroIfIsNegative(getAmountByAccountNumber(prestation2Entries, presta2Accounts, 0, true));
43
43
  const prestation2AmountOfVat = setZeroIfIsNegative(getTaxAmountByAccountNumber(prestation2Entries, presta2Accounts));
44
44