From 50b447dd20c3b73861bb287140d8919fb1f65b3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Mon, 6 Sep 2021 18:14:00 +0200 Subject: [PATCH] Show archived payments --- app/Http/Livewire/PaymentsTable.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Http/Livewire/PaymentsTable.php b/app/Http/Livewire/PaymentsTable.php index 42111fbcb7..66ae9fa06f 100644 --- a/app/Http/Livewire/PaymentsTable.php +++ b/app/Http/Livewire/PaymentsTable.php @@ -44,6 +44,7 @@ class PaymentsTable extends Component ->where('company_id', $this->company->id) ->where('client_id', auth('contact')->user()->client->id) ->orderBy($this->sort_field, $this->sort_asc ? 'asc' : 'desc') + ->withTrashed() ->paginate($this->per_page); return render('components.livewire.payments-table', [