mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-23 04:18:50 +00:00
Small optimisations.
Signed-off-by: James Cole <thegrumpydictator@gmail.com>
This commit is contained in:
@@ -113,15 +113,13 @@
|
||||
<a href="{{ route('budgets.show', id) }}">{{ info.name }}</a>
|
||||
{% endif %}
|
||||
</td>
|
||||
{% set sum = 0 %}
|
||||
{% for amount in info.entries %}
|
||||
<td data-value="{{ amount }}">
|
||||
{{ amount|formatAmount }}
|
||||
</td>
|
||||
{% set sum = sum + amount %}
|
||||
{% endfor %}
|
||||
<td data-value="{{ sum }}">
|
||||
{{ sum|formatAmount }}
|
||||
<td data-value="{{ info.sum }}">
|
||||
{{ info.sum|formatAmount }}
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
|
Reference in New Issue
Block a user