Fixes for tests

This commit is contained in:
David Bomba 2022-09-16 15:29:48 +10:00
parent dd61e074f6
commit 77e1ba1ad2

View File

@ -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);