Expand net worth calculation. TODO in three places.

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

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()));