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