mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Forgot a return statement.
This commit is contained in:
parent
3d4489efe6
commit
84f299c33b
@ -120,7 +120,7 @@ class AccountReportHelper implements AccountReportHelperInterface
|
||||
*/
|
||||
private function getSet(array $ids, Carbon $date): Collection
|
||||
{
|
||||
Account::leftJoin('transactions', 'transactions.account_id', '=', 'accounts.id')
|
||||
return Account::leftJoin('transactions', 'transactions.account_id', '=', 'accounts.id')
|
||||
->leftJoin('transaction_journals', 'transaction_journals.id', '=', 'transactions.transaction_journal_id')
|
||||
->whereIn('accounts.id', $ids)
|
||||
->whereNull('transaction_journals.deleted_at')
|
||||
|
Loading…
Reference in New Issue
Block a user