{{ __('Preview Import Rekod Lama') }}

Fail: {{ $originalFilename }}
Total: {{ $summary['total'] }}
OK: {{ $summary['ok'] }}
Conflict: {{ $summary['conflict'] }}
Error: {{ $summary['error'] }}
@csrf
Mula Import Upload semula
@foreach ($rows as $r) @php $n = $r['normalized']; $badge = match($r['status']) { 'ok' => 'bg-green-100 text-green-800', 'conflict' => 'bg-yellow-100 text-yellow-800', 'error' => 'bg-red-100 text-red-800', default => 'bg-gray-100 text-gray-700', }; @endphp @endforeach
Row Status Nama Barzakh Lot Tarikh Jantina Catatan Nota
{{ $r['row'] }} {{ $r['status'] }} {{ $n['nama'] }} {{ $n['barzakh_label'] ?? '—' }} {{ $n['lot_no'] ?? '—' }} {{ $n['tarikh_kebumi'] ?? '—' }} {{ $n['jantina'] }} {{ \Illuminate\Support\Str::limit($n['catatan'] ?? '', 60) }} @if ($r['status'] === 'error') {{ implode(' ', $r['errors']) }} @elseif ($r['status'] === 'conflict') {{ $r['conflict_reason'] }} @else — @endif