Include show_in_list option in select

This commit is contained in:
snipe 2018-07-18 04:00:04 -07:00
parent 0f81e494ee
commit 5a66f0f373

View file

@ -142,7 +142,7 @@ class UsersController extends Controller
'users.avatar',
'users.email',
]
);
)->where('show_in_list', '=', '1');
$users = Company::scopeCompanyables($users);