mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Filters for quotes
This commit is contained in:
parent
63d5b49073
commit
f06886fcb4
@ -86,6 +86,7 @@ class QuoteFilters extends QueryFilters
|
|||||||
|
|
||||||
if (in_array('expired', $status_parameters)) {
|
if (in_array('expired', $status_parameters)) {
|
||||||
$this->builder->where('status_id', Quote::STATUS_SENT)
|
$this->builder->where('status_id', Quote::STATUS_SENT)
|
||||||
|
->whereNotNull('due_date')
|
||||||
->where('due_date', '<=', now()->toDateString());
|
->where('due_date', '<=', now()->toDateString());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user