mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 10:54:30 -04:00
Include partial in open invoices
This commit is contained in:
parent
275274e712
commit
be1c03d15f
@ -991,7 +991,7 @@ class InvoiceRepository extends BaseRepository
|
|||||||
$query->whereHasTasks(false);
|
$query->whereHasTasks(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $query->where('invoice_status_id', '<', 5)
|
return $query->where('invoice_status_id', '<', INVOICE_STATUS_PAID)
|
||||||
->select(['public_id', 'invoice_number'])
|
->select(['public_id', 'invoice_number'])
|
||||||
->get();
|
->get();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user