mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
More test data tweaks.
This commit is contained in:
@@ -158,7 +158,7 @@ class TransactionJournal extends Model
|
||||
$transaction = $this->transactions->sortByDesc('amount')->first();
|
||||
$amount = $transaction->amount;
|
||||
if ($this->isWithdrawal()) {
|
||||
$amount = $amount * -1;
|
||||
$amount = bcmul($amount, '-1');
|
||||
}
|
||||
$cache->store($amount);
|
||||
|
||||
|
Reference in New Issue
Block a user