mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -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?
|
// not equal to transaction amount?
|
||||||
if (bccomp($amount, $transactionAmount) !== 0 && bccomp($amount, bcmul($transactionAmount, '-1')) !== 0) {
|
if (bccomp($amount, $transactionAmount) !== 0 && bccomp($amount, bcmul($transactionAmount, '-1')) !== 0) {
|
||||||
//$currency =
|
//$currency =
|
||||||
return sprintf(' (%s)', 'x'); // Amount::formatWithCode($code, $amount, true)
|
return sprintf(' (%s)', Amount::formatByCode($code, $amount, true));
|
||||||
}
|
}
|
||||||
|
|
||||||
return '';
|
return '';
|
||||||
|
@ -26,12 +26,6 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<!-- to be fixed:
|
|
||||||
SORTING
|
|
||||||
ATTACHMENT COUNT
|
|
||||||
SPLIT JOURNAL INDICATOR
|
|
||||||
|
|
||||||
-->
|
|
||||||
<tbody>
|
<tbody>
|
||||||
{% for transaction in journals %}
|
{% for transaction in journals %}
|
||||||
<tr class="drag" data-date="{{ transaction.date.format('Y-m-d') }}" data-id="{{ transaction.journal_id }}">
|
<tr class="drag" data-date="{{ transaction.date.format('Y-m-d') }}" data-id="{{ transaction.journal_id }}">
|
||||||
|
Loading…
Reference in New Issue
Block a user