diff --git a/app/Http/Livewire/QuotesTable.php b/app/Http/Livewire/QuotesTable.php index 44a131496e..c14847eccd 100644 --- a/app/Http/Livewire/QuotesTable.php +++ b/app/Http/Livewire/QuotesTable.php @@ -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', [ diff --git a/app/Models/Quote.php b/app/Models/Quote.php index 71efbd2335..8ce236a557 100644 --- a/app/Models/Quote.php +++ b/app/Models/Quote.php @@ -225,6 +225,9 @@ class Quote extends BaseModel case self::STATUS_EXPIRED: return '