Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
This should fix #677
James Cole8549c7c81bd7
diff --git a/resources/views/reports/partials/categories.twig b/resources/views/reports/partials/categories.twigindex cc2d2b88de..c59ad3d3cd 100644--- a/resources/views/reports/partials/categories.twig+++ b/resources/views/reports/partials/categories.twig@@ -8,7 +8,7 @@</thead><tbody>{% set sum = 0 %}- {% for id, category in report %}+ {% for index, category in report %}{% set sum = sum + category.spent %}{% if loop.index > listLength %}<tr class="overListLength">@@ -16,12 +16,12 @@<tr>{% endif %}<td>- <a href="{{ route('categories.show',id) }}">{{ category.name }}</a>+ <a href="{{ route('categories.show', category.id) }}">{{ category.name }}</a></td><td style="text-align: right;">{{ category.spent|formatAmount }}</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="{{ id }}"+ data-location="category-entry" data-category-id="{{ category.id }}"></i></td></tr>