Remove liabilities from net worth

This commit is contained in:
James Cole
2022-12-27 08:49:00 +01:00
parent 83b5ca69dd
commit e389fd7d7c
2 changed files with 2 additions and 2 deletions

View File

@@ -358,7 +358,7 @@ class BasicController extends Controller
/** @var NetWorthInterface $netWorthHelper */
$netWorthHelper = app(NetWorthInterface::class);
$netWorthHelper->setUser($user);
$allAccounts = $this->accountRepository->getActiveAccountsByType([AccountType::ASSET, AccountType::DEBT, AccountType::LOAN, AccountType::MORTGAGE]);
$allAccounts = $this->accountRepository->getActiveAccountsByType([AccountType::ASSET]);
// filter list on preference of being included.
$filtered = $allAccounts->filter(