mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-10-31 17:18:29 -04:00 
			
		
		
		
	Merge branch 'master' of github.com:hillelcoren/invoice-ninja
This commit is contained in:
		
						commit
						5dbdec43f3
					
				| @ -1,6 +1,7 @@ | ||||
| <?php namespace App\Http\Controllers; | ||||
| 
 | ||||
| use Auth; | ||||
| use Illuminate\Support\Facades\Log; | ||||
| use Utils; | ||||
| use Response; | ||||
| use Input; | ||||
| @ -51,9 +52,9 @@ class InvoiceApiController extends BaseAPIController | ||||
|     { | ||||
|         $paginator = Invoice::scope(); | ||||
|         $invoices = Invoice::scope() | ||||
|                         ->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) { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user