Fixes for logging in company import

This commit is contained in:
David Bomba 2021-06-08 07:46:00 +10:00
parent 60e44c127c
commit b9262e59fa

View File

@ -152,7 +152,7 @@ class CompanyImport implements ShouldQueue
$this->account = $this->company->account; $this->account = $this->company->account;
nlog("Company ID = {$this->company->id}"); nlog("Company ID = {$this->company->id}");
$this->backup_file = Cache::get($this->hash); $this->backup_file = Cache::get($this->hash);
if ( empty( $this->backup_file ) ) if ( empty( $this->backup_file ) )
@ -339,6 +339,8 @@ class CompanyImport implements ShouldQueue
$method = "import_{$import}"; $method = "import_{$import}";
nlog($method);
$this->{$method}(); $this->{$method}();
} }