@extends('layouts.app') @section('content')

👥 Customer Migration

What happens when you click "Start Customer Migration"?

The customer migration process will:

⚠️ Warning: This will modify your Magento 2 database. Make sure you have a backup before proceeding.

📋 Customer Migration Logs

Detailed logs showing which customers were added, updated, or encountered errors during migration:

No customer migration logs yet. Click "Run Dry Run" or "Start Customer Migration" to begin.

📊 Customer Statistics

{{ $m1Customers->count() }}
Magento 1 Customers
{{ $m2Customers->count() }}
Magento 2 Customers
{{ $m1CustomersNotInM2->count() }}
M1 Customers Not in M2
{{ $m2CustomersNotInM1->count() }}
M2 Customers Not in M1
@if($m1CustomersNotInM2->count() > 0)

⚠️ Magento 1 Customers Not in Magento 2

These customers exist in Magento 1 but are missing in Magento 2:

@foreach($m1CustomersNotInM2->take(50) as $customer) @endforeach
ID Email First Name Last Name Website ID Group ID
{{ $customer->entity_id }} {{ $customer->email ?? 'N/A' }} {{ $customer->firstname ?? 'N/A' }} {{ $customer->lastname ?? 'N/A' }} {{ $customer->website_id ?? 'N/A' }} {{ $customer->group_id ?? 'N/A' }}
@if($m1CustomersNotInM2->count() > 50)

Showing first 50 of {{ $m1CustomersNotInM2->count() }} customers.

@endif
@endif @if($m2CustomersNotInM1->count() > 0)

⚠️ Magento 2 Customers Not in Magento 1

These customers exist in Magento 2 but are missing in Magento 1:

@foreach($m2CustomersNotInM1->take(50) as $customer) @endforeach
ID Email First Name Last Name Website ID Group ID Actions
{{ $customer->entity_id }} {{ $customer->email ?? 'N/A' }} {{ $customer->firstname ?? 'N/A' }} {{ $customer->lastname ?? 'N/A' }} {{ $customer->website_id ?? 'N/A' }} {{ $customer->group_id ?? 'N/A' }}
@if($m2CustomersNotInM1->count() > 50)

Showing first 50 of {{ $m2CustomersNotInM1->count() }} customers.

@endif
@endif @endsection {{-- CSS is loaded globally via app.css --}} @push('scripts') @vite(['resources/js/customers.js']) @endpush