mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01: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)) {
|
||||
$this->builder->where('status_id', Quote::STATUS_SENT)
|
||||
->whereNotNull('due_date')
|
||||
->where('due_date', '<=', now()->toDateString());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user