mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Add average
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
{% for period in periods %}
|
||||
<th data-defaultsign="_19" style="text-align: right;">{{ period }}</th>
|
||||
{% endfor %}
|
||||
<th data-defaultsign="_19" style="text-align: right;">{{ 'average'|_ }}</th>
|
||||
<th data-defaultsign="_19" style="text-align: right;">{{ 'sum'|_ }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -33,6 +34,9 @@
|
||||
{% endif %}
|
||||
|
||||
{% endfor %}
|
||||
<td data-value="{{ info.avg }}" style="text-align: right;">
|
||||
{{ formatAmountBySymbol(info.avg, info.currency_symbol, info.currency_decimal_places) }}
|
||||
</td>
|
||||
<td data-value="{{ info.sum }}" style="text-align: right;">
|
||||
{{ formatAmountBySymbol(info.sum, info.currency_symbol, info.currency_decimal_places) }}
|
||||
</td>
|
||||
|
Reference in New Issue
Block a user