fixes for impotr

This commit is contained in:
David Bomba 2021-06-08 07:51:21 +10:00
parent df04fa0f62
commit 7ba2446a1d

View File

@ -340,7 +340,7 @@ class CompanyImport implements ShouldQueue
$method = "import_{$import}"; $method = "import_{$import}";
nlog($method); nlog($method);
$this->{$method}(); $this->{$method}();
} }
@ -383,6 +383,8 @@ class CompanyImport implements ShouldQueue
$obj_array, $obj_array,
); );
$new_obj->company_id = $this->company->id;
$new_obj->user_id = $user_id;
$new_obj->save(['timestamps' => false]); $new_obj->save(['timestamps' => false]);
} }