mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
round virtual transaction link transaction
This commit is contained in:
parent
e3bf239132
commit
15e3aeb7e6
@ -42,11 +42,11 @@ const virtualLinkTransaction = (
|
||||
userId: -1,
|
||||
previous: -1,
|
||||
typeId: TransactionTypeId.LINK_SUMMARY,
|
||||
amount: amount,
|
||||
balance: balance,
|
||||
amount: amount.toDecimalPlaces(2, Decimal.ROUND_FLOOR),
|
||||
balance: balance.toDecimalPlaces(2, Decimal.ROUND_DOWN),
|
||||
balanceDate: validUntil,
|
||||
decayStart: createdAt,
|
||||
decay: decay,
|
||||
decay: decay.toDecimalPlaces(2, Decimal.ROUND_FLOOR),
|
||||
memo: '',
|
||||
creationDate: null,
|
||||
...defaultModelFunctions,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user