More test data tweaks.

This commit is contained in:
James Cole
2016-02-05 15:20:44 +01:00
parent e2d0ee125f
commit 4ef840e210
6 changed files with 439 additions and 1162 deletions

View File

@@ -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);