mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-04 04:07:32 -05:00 
			
		
		
		
	Minor fixes
This commit is contained in:
		
							parent
							
								
									2285bd8030
								
							
						
					
					
						commit
						f6ac95378c
					
				@ -54,10 +54,10 @@ class QueryLogging
 | 
			
		||||
 | 
			
		||||
            // info("Query count = {$count}");
 | 
			
		||||
        
 | 
			
		||||
             // if($count > 175){
 | 
			
		||||
             if($count > 175){
 | 
			
		||||
                 nlog("Query count = {$count}");
 | 
			
		||||
                 // nlog($queries);
 | 
			
		||||
             // }
 | 
			
		||||
                 nlog($queries);
 | 
			
		||||
             }
 | 
			
		||||
                        
 | 
			
		||||
            $ip = '';
 | 
			
		||||
            
 | 
			
		||||
 | 
			
		||||
@ -44,7 +44,7 @@ class ShowStatementRequest extends FormRequest
 | 
			
		||||
 | 
			
		||||
    public function client(): Client
 | 
			
		||||
    {
 | 
			
		||||
        return Client::withTrashed()->without('contacts.company', 'documents', 'gateway_tokens')->where('id', auth('contact')->user()->client_id)->first();
 | 
			
		||||
        // return auth('contact')->user()->client;
 | 
			
		||||
        // return Client::withTrashed()->without('contacts.company', 'documents', 'gateway_tokens')->where('id', auth('contact')->user()->client_id)->first();
 | 
			
		||||
        return auth('contact')->user()->client;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user