@extends('admin.layout')
@section('title', 'Artwork Bulk Upload')
@section('content')
Artwork Bulk Upload
Upload artworks with XLSX or CSV, auto-create or update by painting code, and review failed rows.
@if ($errors->any())
@foreach ($errors->all() as $error)
- {{ $error }}
@endforeach
@endif
@if (!empty($summary))
Import Summary
@if (!empty($rowErrors) && !empty($errorToken))
Download Error Excel
@endif
Total Rows
{{ $summary['total_rows'] ?? 0 }}
Created
{{ $summary['created'] ?? 0 }}
Updated
{{ $summary['updated'] ?? 0 }}
Failed
{{ $summary['failed'] ?? 0 }}
@endif
@if (!empty($rowErrors))
Failed Rows
| Row |
Title |
Painting Code |
Artist |
Status |
Reason |
@foreach ($rowErrors as $errorRow)
| {{ $errorRow['row'] ?? '-' }} |
{{ $errorRow['title'] ?? '-' }} |
{{ $errorRow['painting_code'] ?? '-' }} |
{{ $errorRow['artist_name'] ?? '-' }} |
{{ $errorRow['status'] ?? '-' }} |
{{ $errorRow['reason'] ?? '-' }} |
@endforeach
@endif
@endsection