Fixes for tests
This commit is contained in:
parent
dd61e074f6
commit
77e1ba1ad2
|
|
@ -76,7 +76,8 @@ class InvoicesTable extends Component
|
|||
|
||||
$query = $query
|
||||
->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()
|
||||
->paginate($this->per_page);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue