mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-10-31 12:37:32 -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; | <?php namespace App\Http\Controllers; | ||||||
| 
 | 
 | ||||||
| use Auth; | use Auth; | ||||||
|  | use Illuminate\Support\Facades\Log; | ||||||
| use Utils; | use Utils; | ||||||
| use Response; | use Response; | ||||||
| use Input; | use Input; | ||||||
| @ -51,9 +52,9 @@ class InvoiceApiController extends BaseAPIController | |||||||
|     { |     { | ||||||
|         $paginator = Invoice::scope(); |         $paginator = Invoice::scope(); | ||||||
|         $invoices = Invoice::scope() |         $invoices = Invoice::scope() | ||||||
|                         ->with(array_merge(['invoice_items'], $this->getIncluded())) |                         ->with(array_merge(['invoice_items'], $this->getIncluded())); | ||||||
|                         ->where('invoices.is_quote', '=', false) |                     //    ->where('invoices.is_quote', '=', false)
 | ||||||
|                         ->where('invoices.is_recurring', '=', false); |                     //    ->where('invoices.is_recurring', '=', false);
 | ||||||
| 
 | 
 | ||||||
|         if ($clientPublicId = Input::get('client_id')) { |         if ($clientPublicId = Input::get('client_id')) { | ||||||
|             $filter = function($query) use ($clientPublicId) { |             $filter = function($query) use ($clientPublicId) { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user