Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fix a sum.
James Cole8f8e29fc2218
diff --git a/resources/twig/budgets/show.twig b/resources/twig/budgets/show.twigindex e0353655a7..4f1decf607 100644--- a/resources/twig/budgets/show.twig+++ b/resources/twig/budgets/show.twig@@ -67,7 +67,7 @@</div><div class="row"><div class="col-lg-12 col-md-12 col-sm-12">- {% set overspent = rep.amount + spentInRep > 0 %}+ {% set overspent = rep.amount + spentInRep < 0 %}{% if overspent %}{% set pct = (spentInRep != 0 ? (rep.amount / (spentInRep*-1))*100 : 0) %}