Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Display correct amount [skip ci]
James Cole8044d8955740
diff --git a/resources/twig/partials/reports/categories.twig b/resources/twig/partials/reports/categories.twigindex 66b7491081..88aee1a0b9 100644--- a/resources/twig/partials/reports/categories.twig+++ b/resources/twig/partials/reports/categories.twig@@ -16,14 +16,14 @@<td><a href="{{ route('categories.show',cat.id) }}">{{ cat.name }}</a></td>- <td><span class="text-danger">{{ (cat.spent)|formatAmountPlain }}</span></td>+ <td><span class="text-danger">{{ (cat.spent * -1)|formatAmountPlain }}</span></td></tr>{% endfor %}</tbody><tfoot><tr><td><em>{{ 'sum'|_ }}</em></td>- <td class="text-danger">{{ categories.getTotal|formatAmountPlain }}</td>+ <td class="text-danger">{{ (categories.getTotal * -1)|formatAmountPlain }}</td></tr></tfoot></table>