Add withTrashed for invoices table
This commit is contained in:
parent
3062ee4fec
commit
b345e12678
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue