mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Merge pull request #6623 from beganovich/v5-679
Hide invoices with "Cancelled" status
This commit is contained in:
commit
098c0b8edc
@ -76,6 +76,7 @@ class InvoicesTable extends Component
|
|||||||
$query = $query
|
$query = $query
|
||||||
->where('client_id', auth('contact')->user()->client->id)
|
->where('client_id', auth('contact')->user()->client->id)
|
||||||
->where('status_id', '<>', Invoice::STATUS_DRAFT)
|
->where('status_id', '<>', Invoice::STATUS_DRAFT)
|
||||||
|
->where('status_id', '<>', Invoice::STATUS_CANCELLED)
|
||||||
->withTrashed()
|
->withTrashed()
|
||||||
->paginate($this->per_page);
|
->paginate($this->per_page);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user