@extends('layouts.app') @section('title', 'Import ' . $batch->file_name . ' โ€“ Gap Finder Analytics') @section('content')
โ† Back to imports Manual mapping

{{ $batch->file_name }}

Status: {{ $batch->status }} ยท {{ $batch->stagingRows->count() }} rows

@if (!empty($stats))
Valid
{{ $stats['valid'] ?? 0 }}
Partial
{{ $stats['partial'] ?? 0 }}
Invalid
{{ $stats['invalid'] ?? 0 }}
@endif

Staging rows (first 100)

@foreach ($batch->stagingRows->take(100) as $row) @endforeach
Row Status Raw data Errors
{{ $row->row_index }} {{ $row->validation_status }}
{{ json_encode($row->raw_data, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE) }}
{{ $row->validation_errors ? implode('; ', $row->validation_errors) : 'โ€“' }}
@if ($batch->stagingRows->count() > 100)

Showing first 100 of {{ $batch->stagingRows->count() }} rows.

@endif
@endsection