{{ $headingTitle }}

@lang("messages.matchColumnMessage")

@lang("messages.unmatchedColumns", ["unmatchCount" => (!empty($heading) ? collect($columns)->where('required','Yes')->whereNotIn('id', $heading)->count() : 0)]) @lang("app.skipAll")
@forelse ($importSample[0] as $key => $item)
@if (!empty($heading))

{{$fileHeading[$key]}}

@endif

@if (!empty($heading)) @if(collect($columns)->whereIn('id', $heading[$key])->first()) {{ collect($columns)->whereIn('id', $heading[$key])->first()['name'] }} @else (@lang('app.unmatchedColumn')) @endif @else (@lang('app.unmatchedColumn')) @endif

@foreach ($importSample as $dataKey => $value)

{{ $value[$key] }}

@endforeach
@empty @endforelse
@lang('app.submit') @lang('app.cancel')
{{ $backButtonText }}