Expand net worth calculation. TODO in three places.

This commit is contained in:
James Cole committed 2023-01-08 18:51:24 +01:00
1 parent 8447670ed5
commit 862140a9fc
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -231,7 +231,7 @@ class BoxController extends Controller
/** @var AccountRepositoryInterface $accountRepository */
$accountRepository = app(AccountRepositoryInterface::class);
$allAccounts = $accountRepository->getActiveAccountsByType(
[AccountType::DEFAULT, AccountType::ASSET]
[AccountType::DEFAULT, AccountType::ASSET, AccountType::LOAN, AccountType::DEBT, AccountType::MORTGAGE]
);
Log::debug(sprintf('Found %d accounts.', $allAccounts->count()));