@extends('layouts.digitar') @section('Breadcrumbs') {!! Breadcrumbs::render('imports.show', $batch) !!} @endsection @php $typeLabels = [ 'documents' => 'Documentos', 'laws_projects' => 'Projetos de Lei', ]; $sourceFormatLabels = [ 'csv' => 'CSV', 'txt' => 'TXT', 'sql' => 'SQL', ]; @endphp @section('content')
Visualização das linhas brutas lidas do arquivo enviado.
| Linha | Status | Dados brutos | Dados normalizados | Erros |
|---|---|---|---|---|
| {{ $row->row_number }} | {{ ucfirst($row->status) }} |
{{ json_encode($row->raw_data, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES) }}
|
@if(!empty($row->normalized_data))
{{ json_encode($row->normalized_data, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES) }}
@else
-
@endif
|
@if(!empty($row->errors))
{{ json_encode($row->errors, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES) }}
@else
-
@endif
|