mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Remove sum, make multi-currency
This commit is contained in:
parent
e358f19548
commit
1090ce6597
@ -8,6 +8,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
{% set sumSpent = 0 %}
|
||||
{% set sumEarned = 0 %}
|
||||
{% for index, category in report %}
|
||||
@ -21,8 +22,8 @@
|
||||
<td>
|
||||
<a href="{{ route('categories.show', category.id) }}">{{ category.name }}</a>
|
||||
</td>
|
||||
<td style="text-align: right;">{{ category.earned|formatAmount }}</td>
|
||||
<td style="text-align: right;">{{ category.spent|formatAmount }}</td>
|
||||
<td style="text-align: right;">{{ formatAmountBySymbol(category.spent, category.currency_symbol, category.currency_decimal_places, true) }}</td>
|
||||
<td style="text-align: right;">{{ formatAmountBySymbol(category.earned, category.currency_symbol, category.currency_decimal_places, true) }}</td>
|
||||
<td style="width:20px;">
|
||||
<i class="fa fa-fw fa-info-circle text-muted firefly-info-button"
|
||||
data-location="category-entry" data-category-id="{{ category.id }}"
|
||||
@ -39,12 +40,14 @@
|
||||
</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
|
||||
{#
|
||||
<tr>
|
||||
<td><em>{{ 'sum'|_ }}</em></td>
|
||||
<td style="text-align: right;">{{ sumEarned|formatAmount }}</td>
|
||||
<td style="text-align: right;">{{ sumSpent|formatAmount }}</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
TODO fix the sum here.
|
||||
#}
|
||||
</tfoot>
|
||||
</table>
|
||||
|
Loading…
Reference in New Issue
Block a user