Remove drafts from the quotes-table
This commit is contained in:
parent
4967ffb668
commit
f8e57f57a5
1 changed files with 1 additions and 0 deletions
|
|
@ -36,6 +36,7 @@ class QuotesTable extends Component
|
|||
|
||||
$query = $query
|
||||
->where('client_id', auth('contact')->user()->client->id)
|
||||
->where('status_id', '<>', Quote::STATUS_DRAFT)
|
||||
->paginate($this->per_page);
|
||||
|
||||
return render('components.livewire.quotes-table', [
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue