Analizando {{ $totalCsvRowsCount }} registros en el archivo. Mostrando página {{ $previewPage }} de {{ $totalPages }}.
| Estado | @foreach($columnMapping as $fieldKey => $headerIdx) @if($headerIdx !== ""){{ $this->getAppFields()[$fieldKey]['label'] }} | @endif @endforeach
|---|---|
|
@if($val['has_conflict'])
EXISTENTE
@else
NUEVO
@endif
@if(!$val['valid'])
CORREGIR
@endif
|
@foreach($columnMapping as $fieldKey => $headerIdx)
@if($headerIdx !== "")
@php
$cellValue = trim($row[$headerIdx] ?? '-');
$needsCheck = false;
$mapped = false;
if ($fieldKey === 'formacion') {
$needsCheck = ($val['needs_formation_check'] ?? false);
$mapped = isset($this->formationMapping[strtolower($cellValue)]);
} else {
$checkKey = "needs_{$fieldKey}_check";
$needsCheck = ($val[$checkKey] ?? false);
$mappingProp = "{$fieldKey}Mapping";
$mapped = isset($this->$mappingProp[strtolower($cellValue)]);
}
@endphp
{{ $cellValue }}
@if($needsCheck)
@if($fieldKey === 'formacion')
@else
@endif
@elseif($mapped)
Mapeado
@endif
|
@endif
@endforeach
Se procesarán un total de {{ $totalValidRows }} registros válidos.
Registros de acciones masivas históricas.
Identidad: {{ $dbData['email'] }}
| Sync | Campo | Base de Datos | Archivo CSV |
|---|---|---|---|
| @if(!$isSame) @else @endif | {{ $fieldInfo['label'] }} | {{ $dbValue }} | {{ $csvValue }} |
Valor en CSV: {{ $currentFormationValue }}
No se encontraron sugerencias automáticas precisas.
@endforelseValor Detectado en CSV: {{ $currentMappingValue }}
Esta acción revertirá TODOS los cambios realizados en este lote.
Las creaciones se eliminarán y las actualizaciones volverán a sus valores previos. Esta operación es irreversible.