mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
add todo
This commit is contained in:
parent
ea3ecbc679
commit
314a1b1ed4
@ -285,6 +285,7 @@ export class TransactionResolver {
|
||||
if (balanceEntity) {
|
||||
const now = new Date()
|
||||
transactionList.balance = roundFloorFrom4(balanceEntity.amount)
|
||||
// TODO: Add a decay object here instead of static data representing the decay.
|
||||
transactionList.decay = roundFloorFrom4(
|
||||
calculateDecay(balanceEntity.amount, balanceEntity.recordDate, now).balance,
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user