mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-09 23:15:45 -06:00
Code cleanup. [skip ci]
This commit is contained in:
parent
de56c18c6e
commit
1e9aaf2d2a
@ -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 '';
|
||||
|
@ -26,12 +26,6 @@
|
||||
{% endif %}
|
||||
</tr>
|
||||
</thead>
|
||||
<!-- to be fixed:
|
||||
SORTING
|
||||
ATTACHMENT COUNT
|
||||
SPLIT JOURNAL INDICATOR
|
||||
|
||||
-->
|
||||
<tbody>
|
||||
{% for transaction in journals %}
|
||||
<tr class="drag" data-date="{{ transaction.date.format('Y-m-d') }}" data-id="{{ transaction.journal_id }}">
|
||||
|
Loading…
Reference in New Issue
Block a user