From b345e126781f097490d8a7a713fcbc6887e7bc4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Sat, 10 Apr 2021 10:56:48 +0200 Subject: [PATCH] Add withTrashed for invoices table --- app/Http/Livewire/InvoicesTable.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Http/Livewire/InvoicesTable.php b/app/Http/Livewire/InvoicesTable.php index d31338f25611..408497e624e5 100644 --- a/app/Http/Livewire/InvoicesTable.php +++ b/app/Http/Livewire/InvoicesTable.php @@ -62,6 +62,7 @@ class InvoicesTable extends Component $query = $query ->where('client_id', auth('contact')->user()->client->id) ->where('status_id', '<>', Invoice::STATUS_DRAFT) + ->withTrashed() ->paginate($this->per_page); return render('components.livewire.invoices-table', [