@silexpert/core 1.1.74 → 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.
|
|
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",
|
|
@@ -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.
|
|
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
|
|