Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Clean up some views.
James Cole3d2f33c12076
diff --git a/resources/views/list/journals.twig b/resources/views/list/journals.twigindex 0cfcfa40a3..7115ade1b0 100644--- a/resources/views/list/journals.twig+++ b/resources/views/list/journals.twig@@ -26,9 +26,7 @@</tr></thead><tbody>- {% set _sum = 0 %}{% for journal in journals %}- {% set _sum = _sum + journal.amount %}<tr class="drag" data-date="{{ journal.date.format('Y-m-d') }}" data-id="{{ journal.id }}"><td class="hidden-xs"><div class="btn-group btn-group-xs">@@ -101,26 +99,6 @@</tr>{% endfor %}</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>{{ journals.render|raw }}diff --git a/resources/views/tags/show.twig b/resources/views/tags/show.twigindex b92431307f..76fd359a57 100644--- a/resources/views/tags/show.twig+++ b/resources/views/tags/show.twig@@ -93,7 +93,7 @@</div></div><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>