Compare commits
2 Commits
d7f758b584
...
bb94206a1e
| Author | SHA1 | Date | |
|---|---|---|---|
| bb94206a1e | |||
|
|
25ed37f50d |
@@ -209,6 +209,11 @@ class ProcessOrderImporter extends Importer
|
|||||||
// $warnMsg[] = 'User not found';
|
// $warnMsg[] = 'User not found';
|
||||||
// }
|
// }
|
||||||
|
|
||||||
|
if (! $createdBy) {
|
||||||
|
$createdBy = Filament::auth()->user()->name;
|
||||||
|
$updatedBy = Filament::auth()->user()->name;
|
||||||
|
}
|
||||||
|
|
||||||
if (! empty($warnMsg)) {
|
if (! empty($warnMsg)) {
|
||||||
throw new RowImportFailedException(implode(', ', $warnMsg));
|
throw new RowImportFailedException(implode(', ', $warnMsg));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user