mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Performance improvements for client portal
This commit is contained in:
parent
9c106e8d0a
commit
670ad4359b
@ -75,7 +75,7 @@ class InvoicesTable extends Component
|
||||
}
|
||||
|
||||
$query = $query
|
||||
->where('client_id', auth()->guard('contact')->user()->client->id)
|
||||
->where('client_id', auth()->guard('contact')->user()->client_id)
|
||||
->where('status_id', '<>', Invoice::STATUS_DRAFT)
|
||||
->where('status_id', '<>', Invoice::STATUS_CANCELLED)
|
||||
->withTrashed()
|
||||
|
Loading…
x
Reference in New Issue
Block a user