mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Hide draft credits from client
This commit is contained in:
parent
9171381225
commit
6afed935db
@ -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…
x
Reference in New Issue
Block a user