mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 22:04:31 -04:00
Fixes for tests
This commit is contained in:
parent
dd61e074f6
commit
77e1ba1ad2
@ -76,7 +76,8 @@ class InvoicesTable extends Component
|
|||||||
|
|
||||||
$query = $query
|
$query = $query
|
||||||
->where('client_id', auth()->guard('contact')->user()->client_id)
|
->where('client_id', auth()->guard('contact')->user()->client_id)
|
||||||
->whereIn('status_id', [Invoice::STATUS_SENT, Invoice::STATUS_PARTIAL, Invoice::STATUS_PAID, Invoice::STATUS_REVERSED])
|
->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