Filters for quotes
This commit is contained in:
parent
63d5b49073
commit
f06886fcb4
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue