accounts()->accountTypeIn($types)->get(['accounts.*']); return view('accounts.index', compact('what', 'subTitleIcon', 'subTitle', 'accounts')); } public function store(AccountFormRequest $request) { } }