mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Add quote API filter
This commit is contained in:
parent
e9e1514b61
commit
9fa05a7e5a
@ -77,6 +77,10 @@ class InvoiceApiController extends BaseAPIController
|
||||
$invoices->where('is_recurring', '=', request()->is_recurring);
|
||||
}
|
||||
|
||||
if (request()->has('invoice_type_id')) {
|
||||
$invoices->where('invoice_type_id', '=', request()->invoice_type_id);
|
||||
}
|
||||
|
||||
return $this->listResponse($invoices);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user