mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Code cleanup. [skip ci]
This commit is contained in:
@@ -134,7 +134,7 @@ class Transaction extends Twig_Extension
|
||||
// not equal to transaction amount?
|
||||
if (bccomp($amount, $transactionAmount) !== 0 && bccomp($amount, bcmul($transactionAmount, '-1')) !== 0) {
|
||||
//$currency =
|
||||
return sprintf(' (%s)', 'x'); // Amount::formatWithCode($code, $amount, true)
|
||||
return sprintf(' (%s)', Amount::formatByCode($code, $amount, true));
|
||||
}
|
||||
|
||||
return '';
|
||||
|
Reference in New Issue
Block a user