@lang('app.importExcel') @lang('app.client')

@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) @empty @endforelse
@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
@lang('app.submit') @lang('app.cancel')
@lang('app.backToClient')