@extends('layouts.admin') @section('title', 'Preview CSV Import') @section('header_title', 'Preview & Validation') @section('header_badge') Step C & D: Pre-Import Verification @endsection @section('content')
Total Rows

{{ $totalCount }}

Valid (Clean)

{{ $validCount }}

Warnings (Shared Info)

{{ $warningCount }}

Errors (Invalid Data)

{{ $errorCount }}

Ready to execute import batch?

Shared family numbers will be safely imported without duplicate blocking. Unique Member Codes will be generated.

@csrf @if($errorCount > 0) @endif Cancel
Source Rows Inspection Review status tags before final database commit
@foreach($rows as $r) @endforeach
Row # Full Name Membership # Mobile Email City Validation Status Validation Notes
{{ $r['row_number'] }} {{ $r['data']['full_name'] ?? '—' }} {{ $r['data']['membership_no'] ?? '—' }} {{ $r['data']['mobile_primary'] ?? '—' }} {{ $r['data']['email'] ?? '—' }} {{ $r['data']['city'] ?? '—' }} @if($r['status'] === 'valid') Clean / Valid @elseif($r['status'] === 'warning') Warning @else Invalid @endif @if(!empty($r['errors']))

{{ implode(' | ', $r['errors']) }}

@endif @if(!empty($r['warnings']))

{{ implode(' | ', $r['warnings']) }}

@endif @if(empty($r['errors']) && empty($r['warnings'])) Ready for insertion @endif
@endsection