Added updated_by name if not exist on importer #378
@@ -216,6 +216,8 @@ class ProcessOrderImporter extends Importer
|
|||||||
if (! $createdBy) {
|
if (! $createdBy) {
|
||||||
$createdBy = Filament::auth()->user()->name;
|
$createdBy = Filament::auth()->user()->name;
|
||||||
$updatedBy = Filament::auth()->user()->name;
|
$updatedBy = Filament::auth()->user()->name;
|
||||||
|
} elseif (! $updatedBy) {
|
||||||
|
$updatedBy = Filament::auth()->user()->name;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (! empty($warnMsg)) {
|
if (! empty($warnMsg)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user