@silexpert/core 1.1.73 → 1.1.75

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.73",
3
+ "version": "1.1.75",
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": "js/index.js",
@@ -39,6 +39,7 @@
39
39
  "@babel/plugin-transform-runtime": "^7.22.10",
40
40
  "@babel/preset-env": "^7.22.10",
41
41
  "@babel/runtime": "^7.22.11",
42
+ "@types/axios": "^0.14.0",
42
43
  "@types/bluebird": "^3.5.34",
43
44
  "@types/browser-or-node": "^1.3.0",
44
45
  "@types/ejs": "^3.0.6",
@@ -71,7 +72,7 @@
71
72
  "module": "es/index.js",
72
73
  "dependencies": {
73
74
  "@types/mailparser": "^3.4.0",
74
- "axios": "^1.4.0",
75
+ "axios": "^0.21.1",
75
76
  "browser-or-node": "^1.3.0",
76
77
  "class-transformer": "^0.5.1",
77
78
  "class-validator": "^0.14.0",
@@ -346,7 +346,7 @@ export function getCerfa3517Century23Payload(accountingEntries: IAccountingEntry
346
346
 
347
347
  data.refund.surplus = shouldFillRefund ? data.net.surplus : 0;
348
348
  data.refund.maximum = shouldFillRefund ? data.refund.creditRefundable + data.refund.surplus : 0;
349
- data.refund.reportable = shouldFillRefund ? data.refund.maximum - data.refund.reportable : 0;
349
+ data.refund.reportable = shouldFillRefund ? data.refund.maximum - data.refund.asked : 0;
350
350
 
351
351
  data.total = setZeroIfIsNegative(data.vat.total.tax - (data.vat.saleOfImmobilization.tax + data.vat.ownDelivery.tax + data.deductible.total1));
352
352