Expand accounts for #2999

This commit is contained in:
James Cole 2020-01-27 19:53:05 +01:00
parent 6655d2e3d0
commit 67fb906855
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E

View File

@ -134,7 +134,7 @@ class CategoryController extends Controller
$currencies = [];
$tempData = [];
$categories = $repository->getCategories();
$accounts = $accountRepository->getAccountsByType([AccountType::ASSET, AccountType::DEFAULT]);
$accounts = $accountRepository->getAccountsByType([AccountType::DEBT, AccountType::LOAN, AccountType::MORTGAGE, AccountType::ASSET, AccountType::DEFAULT]);
/** @var Category $category */
foreach ($categories as $category) {