diff --git a/app/Http/Controllers/InvoiceApiController.php b/app/Http/Controllers/InvoiceApiController.php index 052853c8d822..0fa9efcfd5ee 100644 --- a/app/Http/Controllers/InvoiceApiController.php +++ b/app/Http/Controllers/InvoiceApiController.php @@ -1,6 +1,7 @@ with(array_merge(['invoice_items'], $this->getIncluded())) - ->where('invoices.is_quote', '=', false) - ->where('invoices.is_recurring', '=', false); + ->with(array_merge(['invoice_items'], $this->getIncluded())); + // ->where('invoices.is_quote', '=', false) + // ->where('invoices.is_recurring', '=', false); if ($clientPublicId = Input::get('client_id')) { $filter = function($query) use ($clientPublicId) {