Adjustments to task projects

This commit is contained in:
Hillel Coren 2016-12-15 15:13:24 +02:00
parent 92a60221a5
commit 82857d642f

View File

@ -209,7 +209,7 @@ class TaskController extends BaseController
return [ return [
'clients' => Client::scope()->with('contacts')->orderBy('name')->get(), 'clients' => Client::scope()->with('contacts')->orderBy('name')->get(),
'account' => Auth::user()->account, 'account' => Auth::user()->account,
'projects' => Project::scope()->with('client.contacts')->withArchived()->orderBy('name')->get(), 'projects' => Project::scope()->with('client.contacts')->orderBy('name')->get(),
]; ];
} }