mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-04 08:17:32 -05:00 
			
		
		
		
	Merge pull request #6621 from turbo124/v5-develop
Fixes for login refresh queries
This commit is contained in:
		
						commit
						8cfbf1085c
					
				@ -316,7 +316,7 @@ class BaseController extends Controller
 | 
			
		||||
 | 
			
		||||
            },
 | 
			
		||||
            'company.tax_rates'=> function ($query) use ($updated_at, $user) {
 | 
			
		||||
                $query->where('updated_at', '>=', $updated_at);
 | 
			
		||||
                $query->whereNotNull('updated_at');
 | 
			
		||||
            },
 | 
			
		||||
            'company.vendors'=> function ($query) use ($updated_at, $user) {
 | 
			
		||||
                $query->where('updated_at', '>=', $updated_at)->with('contacts', 'documents');
 | 
			
		||||
@ -329,7 +329,7 @@ class BaseController extends Controller
 | 
			
		||||
                $query->where('updated_at', '>=', $updated_at);
 | 
			
		||||
            },
 | 
			
		||||
            'company.task_statuses'=> function ($query) use ($updated_at, $user) {
 | 
			
		||||
                $query->where('updated_at', '>=', $updated_at);
 | 
			
		||||
                $query->whereNotNull('updated_at');
 | 
			
		||||
            },
 | 
			
		||||
            'company.activities'=> function ($query) use($user) {
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user