mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-04 10:53:35 -05:00 
			
		
		
		
	Code cleanup
This commit is contained in:
		
							parent
							
								
									c0580b0497
								
							
						
					
					
						commit
						46b28d6b09
					
				@ -44,7 +44,7 @@ class PreviewReport implements ShouldQueue
 | 
			
		||||
        else
 | 
			
		||||
            $report = $export->run();
 | 
			
		||||
            
 | 
			
		||||
        nlog($report);
 | 
			
		||||
        // nlog($report);
 | 
			
		||||
 | 
			
		||||
        Cache::put($this->hash, $report, 60 * 60);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
@ -54,7 +54,8 @@ class TaxSummaryReport extends BaseExport
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public function run()
 | 
			
		||||
    {nlog($this->input);
 | 
			
		||||
    {
 | 
			
		||||
        
 | 
			
		||||
        MultiDB::setDb($this->company->db);
 | 
			
		||||
        App::forgetInstance('translator');
 | 
			
		||||
        App::setLocale($this->company->locale());
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user