mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2026-01-07 01:30:52 -05: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
|
||||
->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', [
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user