This commit is contained in:
James Cole
2018-03-07 20:27:10 +01:00
parent a81698d50f
commit c76b634d0b

View File

@@ -196,7 +196,7 @@ class BoxController extends Controller
return 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);