mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Merge pull request #5406 from beganovich/v5-1004-add-with-trashed-for-invoices
(v5) Add withTrashed() for invoices table
This commit is contained in:
commit
24d6705b7f
@ -62,6 +62,7 @@ class InvoicesTable extends Component
|
|||||||
$query = $query
|
$query = $query
|
||||||
->where('client_id', auth('contact')->user()->client->id)
|
->where('client_id', auth('contact')->user()->client->id)
|
||||||
->where('status_id', '<>', Invoice::STATUS_DRAFT)
|
->where('status_id', '<>', Invoice::STATUS_DRAFT)
|
||||||
|
->withTrashed()
|
||||||
->paginate($this->per_page);
|
->paginate($this->per_page);
|
||||||
|
|
||||||
return render('components.livewire.invoices-table', [
|
return render('components.livewire.invoices-table', [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user