Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Quicker amount thing.
James Cole9163fcfccbe1
diff --git a/app/Support/Amount.php b/app/Support/Amount.phpindex 611bdcd101..4c6196a793 100644--- a/app/Support/Amount.php+++ b/app/Support/Amount.php@@ -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);