Port import manager code to develop

This commit is contained in:
snipe
2018-10-03 00:52:29 -07:00
parent 8937edb97e
commit c8ad45b11e
14 changed files with 241 additions and 154 deletions
+1
View File
@@ -50,6 +50,7 @@ class ItemImportRequest extends FormRequest
$importer->setCallbacks([$this, 'log'], [$this, 'progress'], [$this, 'errorCallback'])
->setUserId(Auth::id())
->setUpdating($this->has('import-update'))
->setShouldNotify($this->has('send-welcome'))
->setUsernameFormat('firstname.lastname')
->setFieldMappings($fieldMappings);
// $logFile = storage_path('logs/importer.log');