@extends('layouts.app') @section('title', 'CSV-Import – Vorschau') @section('content')

CSV-Import: {{ $filename }}

Ziel: {{ $inventory->name }} · {{ $analysis['records_count'] }} Datensätze · {{ count($analysis['header']) }} Spalten
@csrf
@include('import.steps', ['current' => 3]) @foreach($analysis['security_warnings'] as $warning)
Sicherheitshinweis: {{ $warning }}
@endforeach @foreach($analysis['warnings'] as $warning)
{{ $warning }}
@endforeach @if($analysis['bom'])
UTF-8-BOM erkannt und verarbeitet.
@endif

Schritt 2: Vorschau (erste {{ count($analysis['sample']) }} Zeilen)

@foreach($analysis['header'] as $col) @endforeach @foreach($analysis['sample'] as $row) @foreach($row as $value) @endforeach @endforeach
{{ $col }}
{{ $value }}
@csrf

Schritt 3: Spaltenzuordnung

Die Standardzuordnung wurde automatisch erkannt. Spalten mit „Ignorieren“ werden nicht importiert.

@foreach($analysis['header'] as $i => $col) @endforeach
#CSV-SpalteZielfeld
{{ $i + 1 }} {{ $col }} @if(\App\Services\ImportService::isForbiddenColumn($col)) Aus Sicherheitsgründen gesperrt @else @endif

Importoptionen

@endsection