mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-17 09:51:40 +00:00
Clean up some views.
This commit is contained in:
@@ -26,9 +26,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
{% set _sum = 0 %}
|
|
||||||
{% for journal in journals %}
|
{% for journal in journals %}
|
||||||
{% set _sum = _sum + journal.amount %}
|
|
||||||
<tr class="drag" data-date="{{ journal.date.format('Y-m-d') }}" data-id="{{ journal.id }}">
|
<tr class="drag" data-date="{{ journal.date.format('Y-m-d') }}" data-id="{{ journal.id }}">
|
||||||
<td class="hidden-xs">
|
<td class="hidden-xs">
|
||||||
<div class="btn-group btn-group-xs">
|
<div class="btn-group btn-group-xs">
|
||||||
@@ -101,26 +99,6 @@
|
|||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
<tfoot>
|
|
||||||
{% if showPageSum %}
|
|
||||||
<tr>
|
|
||||||
<td colspan="3" style="text-align: right;"><em>{{ 'sum'|_ }}</em></td>
|
|
||||||
<td colspan="2">{{ _sum|formatAmount }}</td>
|
|
||||||
</tr>
|
|
||||||
{% endif %}
|
|
||||||
{% if showPeriodSum %}
|
|
||||||
<tr>
|
|
||||||
<td colspan="3" style="text-align: right;"><em>{{ 'period_sum'|_ }}</em></td>
|
|
||||||
<td colspan="2">{{ periodSum|formatAmount }}</td>
|
|
||||||
</tr>
|
|
||||||
{% endif %}
|
|
||||||
{% if showTotalSum %}
|
|
||||||
<tr>
|
|
||||||
<td colspan="3" style="text-align: right;"><em>{{ 'total_sum'|_ }}</em></td>
|
|
||||||
<td colspan="2">{{ totalSum|formatAmount }}</td>
|
|
||||||
</tr>
|
|
||||||
{% endif %}
|
|
||||||
</tfoot>
|
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
{{ journals.render|raw }}
|
{{ journals.render|raw }}
|
||||||
|
@@ -93,7 +93,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="box-body table-responsive no-padding">
|
<div class="box-body table-responsive no-padding">
|
||||||
{% include 'list/journals.twig' with {'journals': tag.transactionjournals, 'showPageSum' : true} %}
|
{% include 'list/journals.twig' with {'journals': tag.transactionjournals} %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user