@section('page-title', 'Import Wizard')
Import Wizard
Upload CSV File
@csrf
@foreach([ ['clients', 'fa-users', 'Clients', 'Import client contact details'], ['domains', 'fa-globe', 'Domains', 'Import domain records with expiry dates'], ['hosting', 'fa-server', 'Hosting Accounts', 'Import hosting accounts (requires existing clients)'], ] as [$val, $icon, $label, $desc])
@endforeach

Click to choose CSV file

or drag and drop here

Max 10MB. Must be a valid .csv file with headers in the first row.
{{-- CSV Format Reference --}}
CSV Format Reference
*requiredoptional
@foreach(['name' => true, 'email' => true, 'company_name' => false, 'phone' => false, 'status' => false, 'service_type' => false, 'billing_amount' => false, 'currency' => false, 'country' => false, 'city' => false] as $col => $req) @endforeach
ColumnRequired
{{ $col }}{{ $req ? '✅' : '—' }}

status: active, inactive, blacklisted
service_type: domain, hosting, both

@foreach(['domain_name' => true, 'client_email' => true, 'registrar' => false, 'expiry_date' => false, 'status' => false, 'managed_by' => false, 'renewal_amount' => false, 'currency' => false] as $col => $req) @endforeach
ColumnRequired
{{ $col }}{{ $req ? '✅' : '—' }}

client_email must match an existing client in the system.

@foreach(['primary_domain' => true, 'client_email' => true, 'hosting_type' => false, 'cpanel_username' => false, 'disk_limit' => false, 'bandwidth_limit' => false, 'expiry_date' => false, 'billing_cycle' => false, 'renewal_amount' => false, 'currency' => false, 'status' => false] as $col => $req) @endforeach
ColumnRequired
{{ $col }}{{ $req ? '✅' : '—' }}
@section('scripts') @endsection