mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-04 01:17:30 -05:00 
			
		
		
		
	working on Company Tests
This commit is contained in:
		
							parent
							
								
									2ddb9ddde3
								
							
						
					
					
						commit
						9cb33f3e10
					
				@ -63,7 +63,7 @@ class CompanyController extends BaseController
 | 
			
		||||
    public function index()
 | 
			
		||||
    {
 | 
			
		||||
 | 
			
		||||
        $companies = Company::whereAccountId(auth()->user()->id);
 | 
			
		||||
        $companies = Company::whereAccountId(auth()->user()->company()->account->id);
 | 
			
		||||
 | 
			
		||||
        return $this->listResponse($companies);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user