Include partial in open invoices
This commit is contained in:
parent
275274e712
commit
be1c03d15f
1 changed files with 1 additions and 1 deletions
|
|
@ -991,7 +991,7 @@ class InvoiceRepository extends BaseRepository
|
|||
$query->whereHasTasks(false);
|
||||
}
|
||||
|
||||
return $query->where('invoice_status_id', '<', 5)
|
||||
return $query->where('invoice_status_id', '<', INVOICE_STATUS_PAID)
|
||||
->select(['public_id', 'invoice_number'])
|
||||
->get();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue