mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-05 18:52:44 +01:00
Merge pull request #4884 from beganovich/v5-1102-hide-drafts-from-client-portal
(v5) Hide draft quotes in client portal
This commit is contained in:
commit
982523d52b
@ -28,6 +28,7 @@ class CreditsTable extends Component
|
||||
{
|
||||
$query = Credit::query()
|
||||
->where('client_id', auth('contact')->user()->client->id)
|
||||
->where('status_id', '<>', Credit::STATUS_DRAFT)
|
||||
->orderBy($this->sort_field, $this->sort_asc ? 'asc' : 'desc')
|
||||
->paginate($this->per_page);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user