mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-04 00:17:34 -05:00 
			
		
		
		
	Fix for search
This commit is contained in:
		
							parent
							
								
									8411e37d80
								
							
						
					
					
						commit
						fa2436da4c
					
				@ -181,6 +181,12 @@ class AccountRepository
 | 
			
		||||
        if ($account->customLabel('client2')) {
 | 
			
		||||
            $data[$account->present()->customLabel('client2')] = [];
 | 
			
		||||
        }
 | 
			
		||||
        if ($account->customLabel('invoice_text1')) {
 | 
			
		||||
            $data[$account->present()->customLabel('invoice_text1')] = [];
 | 
			
		||||
        }
 | 
			
		||||
        if ($account->customLabel('invoice_text2')) {
 | 
			
		||||
            $data[$account->present()->customLabel('invoice_text2')] = [];
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        if ($user->hasPermission(['view_client', 'view_invoice'], true)) {
 | 
			
		||||
            $clients = Client::scope()
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user