1
0
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:
David Bomba 2023-01-05 22:18:16 +11:00
parent 63d5b49073
commit f06886fcb4

View File

@ -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());
}