mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
show in between decays only if <= 0.01 GDD
This commit is contained in:
parent
ed3ee9da82
commit
ba9eac57d7
@ -184,7 +184,7 @@ class TransactionsTable extends Table
|
||||
$calculated_decay = $stateBalancesTable->calculateDecay($prev->balance, $prev->balance_date, $current->balance_date, true);
|
||||
$balance = floatval($prev->balance - $calculated_decay['balance']);
|
||||
|
||||
if($balance)
|
||||
if($balance > 100)
|
||||
{
|
||||
$final_transactions[] = [
|
||||
'type' => 'decay',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user