mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
Add quote API filter
This commit is contained in:
parent
e59a547d3d
commit
f1e50caa17
@ -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