@extends('layouts.admin') @section('title', 'Import ' . $config['label']) @section('page-title', 'Import ' . $config['label']) @section('content')

Bulk Import {{ $config['label'] }}

Upload a CSV file to create or update records. Existing records are matched by slug.

@csrf
@error('csv_file')
{{ $message }}
@enderror

Supported CSV columns

name, slug, icon, sort_order, is_active, meta_title, meta_description, meta_keywords, canonical_url, og_image, seo_index.

Recent Imports
@forelse($imports as $import) @empty @endforelse
File Status Rows Imported Failed
{{ $import->file_name }}
{{ $import->created_at->format('d M Y h:i A') }}
@if($import->errors)
View errors
    @foreach($import->errors as $error)
  • {{ $error }}
  • @endforeach
@endif
{{ $import->status }} {{ $import->total_rows }} {{ $import->imported_rows }} {{ $import->failed_rows }}
No imports yet.
@endsection