sdwsd
This commit is contained in:
@@ -183,10 +183,7 @@ public function process(Import $import, ?Authenticatable $user = null): array
|
||||
}
|
||||
// Preflight: warn if any mapped source columns are not present in the header (exact match)
|
||||
$headerSet = [];
|
||||
foreach ($header as $h) {
|
||||
$headerSet[$h] = true;
|
||||
}
|
||||
$missingSources = [];
|
||||
// Regex validation removed per request; rely on basic length/placeholder checks only
|
||||
foreach ($mappings as $map) {
|
||||
$src = (string) ($map->source_column ?? '');
|
||||
if ($src !== '' && ! array_key_exists($src, $headerSet)) {
|
||||
|
||||
Reference in New Issue
Block a user