Hide deleted tasks

This commit is contained in:
David Bomba 2021-11-15 07:04:00 +11:00
parent 9c1e441136
commit 6f37249ffb

View File

@ -36,6 +36,7 @@ class TasksTable extends Component
{
$query = Task::query()
->where('company_id', $this->company->id)
->where('is_deleted', false)
->where('client_id', auth('contact')->user()->client->id);
if ($this->company->getSetting('show_all_tasks_client_portal') === 'invoiced') {