Added created_by value if not exist
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 11s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 11s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 18s
Laravel Pint / pint (pull_request) Successful in 3m39s
Laravel Larastan / larastan (pull_request) Failing after 3m52s
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 11s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 11s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 18s
Laravel Pint / pint (pull_request) Successful in 3m39s
Laravel Larastan / larastan (pull_request) Failing after 3m52s
This commit is contained in:
@@ -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