Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fix #1189
James Colec76b634d0bf1
diff --git a/app/Http/Controllers/Json/BoxController.php b/app/Http/Controllers/Json/BoxController.phpindex 67204d993c..9a7511cea3 100644--- a/app/Http/Controllers/Json/BoxController.php+++ b/app/Http/Controllers/Json/BoxController.php@@ -196,7 +196,7 @@ class BoxController extends Controllerreturn Response::json($cache->get()); // @codeCoverageIgnore}$netWorth = [];- $accounts = $repository->getAccountsByType([AccountType::DEFAULT, AccountType::ASSET]);+ $accounts = $repository->getActiveAccountsByType([AccountType::DEFAULT, AccountType::ASSET]);$currency = app('amount')->getDefaultCurrency();$balances = app('steam')->balancesByAccounts($accounts, $date);