From a41c77ffba7f2a3259e49dc0bb405256ab3f1d6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Fri, 10 Sep 2021 21:47:48 +0200 Subject: [PATCH] Show archived quotes --- 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 2e1c4dc92f..804fe7050f 100644 --- a/app/Http/Livewire/QuotesTable.php +++ b/app/Http/Livewire/QuotesTable.php @@ -48,6 +48,7 @@ class QuotesTable extends Component ->where('company_id', $this->company->id) ->where('client_id', auth('contact')->user()->client->id) ->where('status_id', '<>', Quote::STATUS_DRAFT) + ->withTrashed() ->paginate($this->per_page); return render('components.livewire.quotes-table', [