Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Only display budgets when there's money in the envelope or when there's money spent.
James Cole12af05b94f46
diff --git a/resources/views/reports/month.blade.php b/resources/views/reports/month.blade.phpindex 7b5c81a716..2b93fa7a12 100644--- a/resources/views/reports/month.blade.php+++ b/resources/views/reports/month.blade.php@@ -138,6 +138,8 @@$sumEnvelope += $budget['amount'];$sumLeft += $budget['amount'] + $budget['spent'];?>+ <!-- only display when relevant: -->+ @if($budget['amount'] != 0 || $budget['spent'] != 0)<tr><td>@if($id > 0)@@ -150,6 +152,7 @@<td>{!! Amount::format($budget['spent'],false) !!}</td><td>{!! Amount::format($budget['amount'] + $budget['spent']) !!}</td></tr>+ @endif@endforeach<tr><td><em>Sum</em></td>