Fix chart thing.

This commit is contained in:
James Cole
2016-06-27 16:11:49 +02:00
parent 18d2741814
commit b947ff50ed
3 changed files with 65 additions and 7 deletions

View File

@@ -42,7 +42,6 @@ class AccountList implements BinderInterface
/** @var \Illuminate\Support\Collection $object */
$object = Account::leftJoin('account_types', 'account_types.id', '=', 'accounts.account_type_id')
->where('account_types.editable', 1)
->whereIn('accounts.id', $ids)
->where('user_id', Auth::user()->id)
->get(['accounts.*']);