From ec4fb0ae9d65c43ce60befd60c78d05442d99eeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Fri, 10 Sep 2021 21:49:44 +0200 Subject: [PATCH] Show archived subscriptions --- app/Http/Livewire/SubscriptionRecurringInvoicesTable.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Http/Livewire/SubscriptionRecurringInvoicesTable.php b/app/Http/Livewire/SubscriptionRecurringInvoicesTable.php index a18bdb1b77..7993680ca2 100644 --- a/app/Http/Livewire/SubscriptionRecurringInvoicesTable.php +++ b/app/Http/Livewire/SubscriptionRecurringInvoicesTable.php @@ -39,6 +39,7 @@ class SubscriptionRecurringInvoicesTable extends Component ->where('company_id', $this->company->id) ->whereNotNull('subscription_id') ->orderBy($this->sort_field, $this->sort_asc ? 'asc' : 'desc') + ->withTrashed() ->paginate($this->per_page); return render('components.livewire.subscriptions-recurring-invoices-table', [