mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-11 07:55:51 -06:00
Quicker amount thing.
This commit is contained in:
parent
7e10641461
commit
9163fcfccb
@ -99,10 +99,7 @@ class Amount
|
||||
} else {
|
||||
$symbol = $journal->symbol;
|
||||
}
|
||||
$amount = $journal->amount;
|
||||
if ($journal->transactionType->type == 'Withdrawal') {
|
||||
$amount = $amount * -1;
|
||||
}
|
||||
$amount = $journal->amount_positive;
|
||||
if ($journal->transactionType->type == 'Transfer' && $coloured) {
|
||||
$txt = '<span class="text-info">' . $this->formatWithSymbol($symbol, $amount, false) . '</span>';
|
||||
$cache->store($txt);
|
||||
|
Loading…
Reference in New Issue
Block a user