mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Spent amount / withdrawals are negative, #129.
This commit is contained in:
@@ -24,10 +24,8 @@
|
||||
|
||||
<td>
|
||||
{% if event.amount < 0 %}
|
||||
|
||||
<span class="text-danger">{{ trans('firefly.removed_amount', {amount: (event.amount*-1)|formatAmountPlain})|raw }}</span>
|
||||
<span class="text-danger">{{ trans('firefly.removed_amount', {amount: (event.amount)|formatAmountPlain})|raw }}</span>
|
||||
{% else %}
|
||||
|
||||
<span class="text-success">{{ trans('firefly.added_amount', {amount: (event.amount)|formatAmountPlain})|raw }}</span>
|
||||
{% endif %}
|
||||
</td>
|
||||
|
Reference in New Issue
Block a user