Code cleanup

This commit is contained in:
David Bomba 2023-11-12 21:26:28 +11:00
parent c0580b0497
commit 46b28d6b09
2 changed files with 3 additions and 2 deletions

View File

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

View File

@ -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());