Working on time tracker

This commit is contained in:
Hillel Coren 2017-09-19 11:26:25 +03:00
parent d2b93d7b33
commit 16e2f261e4

View File

@ -17,7 +17,7 @@ class TimeTrackerController extends Controller
$data = [
'title' => trans('texts.time_tracker'),
'tasks' => Task::scope()->with('project', 'client.contacts')->get(),
'tasks' => Task::scope()->with('project', 'client.contacts')->whereNull('invoice_id')->get(),
'clients' => Client::scope()->with('contacts')->orderBy('name')->get(),
'projects' => Project::scope()->with('client.contacts')->orderBy('name')->get(),
'account' => $account,