mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-03 19:18:56 -05:00 
			
		
		
		
	Fixes for preview
This commit is contained in:
		
							parent
							
								
									a6aff62286
								
							
						
					
					
						commit
						a32e1d11b6
					
				@ -173,7 +173,7 @@ class PreviewController extends BaseController
 | 
			
		||||
 | 
			
		||||
        MultiDB::setDb($company->db);
 | 
			
		||||
 | 
			
		||||
        info("preview db = ".auth()->user()->company()->db);
 | 
			
		||||
        info("preview db = ".$company->db);
 | 
			
		||||
 | 
			
		||||
        if($request->input('entity') == 'invoice'){
 | 
			
		||||
            $repo = new InvoiceRepository();
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user