@extends('layouts.digitar') @section('Breadcrumbs') {!! Breadcrumbs::render('imports.review', $batch) !!} @endsection @section('content')

Revisão do Lote #{{ $batch->id }}

Revise, edite ou ignore linhas antes da importação final.


@include('flash::message') @include('common.errors')
@foreach($filters as $filterKey => $filterLabel) {{ $filterLabel }} @endforeach
@csrf
@if($rows->isEmpty())
Nenhuma linha encontrada para este filtro.
@else
@foreach($rows as $row) @endforeach
Linha Dados principais Status Erros Ações
{{ $row->row_number }} @foreach($primaryData[$row->id] as $label => $value) @if($value !== null && $value !== '')
{{ $label }}: {{ $value }}
@endif @endforeach
{{ ucfirst($row->status) }} @if(!empty($row->errors))
{{ json_encode($row->errors, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES) }}
@else - @endif @if(!empty($aliasSuggestions[$row->id]))
@foreach($aliasSuggestions[$row->id] as $suggestionIndex => $suggestion) @php $aliasFormId = 'alias-form-' . $row->id . '-' . $suggestionIndex; @endphp
Texto encontrado: {{ $suggestion['text'] }}
Campo: {{ $suggestion['field'] }}
@endforeach
@endif
Editar
{{ $rows->links() }} @endif
@foreach($rows as $row) @if(!empty($aliasSuggestions[$row->id])) @foreach($aliasSuggestions[$row->id] as $suggestionIndex => $suggestion) @endforeach @endif @endforeach
@endsection