Merge pull request #8965 from turbo124/v5-develop

Code cleanup
This commit is contained in:
David Bomba 2023-11-12 21:42:57 +11:00 committed by GitHub
commit 3bc086ebd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -44,7 +44,7 @@ class PreviewReport implements ShouldQueue
else else
$report = $export->run(); $report = $export->run();
nlog($report); // nlog($report);
Cache::put($this->hash, $report, 60 * 60); Cache::put($this->hash, $report, 60 * 60);
} }

View File

@ -54,7 +54,8 @@ class TaxSummaryReport extends BaseExport
} }
public function run() public function run()
{nlog($this->input); {
MultiDB::setDb($this->company->db); MultiDB::setDb($this->company->db);
App::forgetInstance('translator'); App::forgetInstance('translator');
App::setLocale($this->company->locale()); App::setLocale($this->company->locale());