mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
fix fix fix
This commit is contained in:
parent
dece5f357b
commit
2f3ad854d5
@ -82,7 +82,7 @@ async function calculateAndAddDecayTransactions(
|
|||||||
)
|
)
|
||||||
const balance = prev.balance - decay.balance
|
const balance = prev.balance - decay.balance
|
||||||
|
|
||||||
if (decayStartTransaction.received >= prev.balanceDate) {
|
if (decayStartTransaction && decayStartTransaction.received >= prev.balanceDate) {
|
||||||
finalTransaction.decay = decay
|
finalTransaction.decay = decay
|
||||||
finalTransaction.decay.balance = roundFloorFrom4(balance)
|
finalTransaction.decay.balance = roundFloorFrom4(balance)
|
||||||
if (
|
if (
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user