Brand List
Exported on: {{ date('d M Y, H:i A') }}
Total Records: {{ $records->count() }}
@foreach(array_keys($records->first()?->toArray() ?? []) as $heading)
{{ ucfirst(str_replace('_', ' ', $heading)) }}
@endforeach
@foreach($records as $row)
@foreach($row->toArray() as $value)
{{ $value }}
@endforeach
@endforeach