taxtank-core 2.1.106 → 3.0.1
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.
|
@@ -1738,7 +1738,7 @@ class AllocationGroup extends AbstractModel {
|
|
|
1738
1738
|
description: invoice.reference,
|
|
1739
1739
|
invoiceNumber: invoice.getNumber(),
|
|
1740
1740
|
tankType: TankTypeEnum.SOLE,
|
|
1741
|
-
amount: invoice.grossPrice,
|
|
1741
|
+
amount: round(invoice.grossPrice, 2),
|
|
1742
1742
|
allocations,
|
|
1743
1743
|
bankTransactions
|
|
1744
1744
|
});
|
|
@@ -1753,7 +1753,7 @@ class AllocationGroup extends AbstractModel {
|
|
|
1753
1753
|
category: transaction.chartAccounts.name,
|
|
1754
1754
|
currency: transaction.currency,
|
|
1755
1755
|
tankType: transaction.tankType,
|
|
1756
|
-
amount: transaction.netAmount,
|
|
1756
|
+
amount: round(transaction.netAmount, 2),
|
|
1757
1757
|
childTransactions: transaction.transactions,
|
|
1758
1758
|
allocations,
|
|
1759
1759
|
bankTransactions
|