From f8e57f57a56e677afaec4877b06a1996cfd172bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Thu, 14 Jan 2021 14:17:39 +0100 Subject: [PATCH] Remove drafts from the quotes-table --- app/Http/Livewire/QuotesTable.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Http/Livewire/QuotesTable.php b/app/Http/Livewire/QuotesTable.php index 44a131496e..c14847eccd 100644 --- a/app/Http/Livewire/QuotesTable.php +++ b/app/Http/Livewire/QuotesTable.php @@ -36,6 +36,7 @@ class QuotesTable extends Component $query = $query ->where('client_id', auth('contact')->user()->client->id) + ->where('status_id', '<>', Quote::STATUS_DRAFT) ->paginate($this->per_page); return render('components.livewire.quotes-table', [