mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 12:34:30 -04:00
Add withTrashed for invoices table
This commit is contained in:
parent
3062ee4fec
commit
b345e12678
@ -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