@php $tenant = \App\Support\Facades\Tenancy::get(); $brandStyle = $tenant->brand_primary_color ? ":root { --color-brand-600: {$tenant->brand_primary_color}; } .dark { --color-brand-600: {$tenant->brand_primary_color}; }" : null; @endphp
@csrf

Match your columns to system fields

Leave a column as “Ignore” to skip it. Required fields are marked.

@foreach($headers as $index => $header)
{{ $header ?: 'Column '.($index + 1) }} @if(isset($sampleRows[0][$index])) e.g. {{ $sampleRows[0][$index] }} @endif
@endforeach