Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Only get active savings accounts.
unknownde634da51305
diff --git a/app/Repositories/Account/AccountRepository.php b/app/Repositories/Account/AccountRepository.phpindex d911cdea8e..4194aaf9ff 100644--- a/app/Repositories/Account/AccountRepository.php+++ b/app/Repositories/Account/AccountRepository.php@@ -273,6 +273,7 @@ class AccountRepository implements AccountRepositoryInterface$accounts = Auth::user()->accounts()->accountTypeIn(['Default account', 'Asset account'])->orderBy('accounts.name', 'ASC')->leftJoin('account_meta', 'account_meta.account_id', '=', 'accounts.id')->where('account_meta.name', 'accountRole')+ ->where('accounts.active', 1)->where('account_meta.data', '"savingAsset"')->get(['accounts.*']);$start = clone Session::get('start', new Carbon);