Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Add opposing account info [skip ci] #595
James Coleef0057d88dd5
diff --git a/app/Http/Controllers/BudgetController.php b/app/Http/Controllers/BudgetController.phpindex ce36ee0e4c..f758a9bdc3 100644--- a/app/Http/Controllers/BudgetController.php+++ b/app/Http/Controllers/BudgetController.php@@ -518,7 +518,7 @@ class BudgetController extends Controller// count journals without budget in this period:/** @var JournalCollectorInterface $collector */$collector = app(JournalCollectorInterface::class);- $collector->setAllAssetAccounts()->setRange($end, $currentEnd)->withoutBudget();+ $collector->setAllAssetAccounts()->setRange($end, $currentEnd)->withoutBudget()->withOpposingAccount();$journals = $collector->getJournals()->count();$dateStr = $end->format('Y-m-d');$dateName = Navigation::periodShow($end, $range);