mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-08-05 11:10:16 -04:00
Include partial in open invoices
This commit is contained in:
parent
740ee5d36b
commit
60a04f0238
@ -983,7 +983,7 @@ class InvoiceRepository extends BaseRepository
|
||||
->whereDeletedAt(null)
|
||||
->where('balance', '>', 0);
|
||||
|
||||
return $query->where('invoice_status_id', '<', 5)
|
||||
return $query->where('invoice_status_id', '<', INVOICE_STATUS_PAID)
|
||||
->select(['public_id', 'invoice_number'])
|
||||
->get();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user