mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-12 01:42:32 +00:00
This code makes sure the budget report also includes split expenses.
This commit is contained in:
@@ -14,10 +14,17 @@
|
||||
<td data-value="{{ info.name }}">
|
||||
<a title="{{ info.name }}" href="#" data-budget="{{ id }}" class="budget-chart-activate">{{ info.name }}</a>
|
||||
</td>
|
||||
{% for amount in info.entries %}
|
||||
<td data-value="{{ amount }}">
|
||||
{{ amount|formatAmount }}
|
||||
</td>
|
||||
{% for key, period in periods %}
|
||||
{% if(info.entries[key]) %}
|
||||
<td data-value="{{ info.entries[key] }}">
|
||||
{{ info.entries[key]|formatAmount }}
|
||||
</td>
|
||||
{% else %}
|
||||
<td data-value="0">
|
||||
{{ 0|formatAmount }}
|
||||
</td>
|
||||
{% endif %}
|
||||
|
||||
{% endfor %}
|
||||
<td data-value="{{ info.sum }}">
|
||||
{{ info.sum|formatAmount }}
|
||||
|
||||
Reference in New Issue
Block a user