@extends('hms.layout') @section('title','Import preview') @section('content')
{{ $record->row_count }} rows · {{ $record->status }} · Preview expires {{ $record->expires_at }}
Back to data imports @if($preview) @if($preview['validation']['errors'])All records passed validation. They will be checked again when you commit.
@endif| {{ str_replace('_',' ',$column) }} | @endforeach
|---|
| {{ $value }} | @endforeach
{{ $record->status==='committed'?'Import completed. Preview data has been cleared.':'This preview is expired or discarded. Upload a fresh file to continue.' }}
@endif @if(in_array($record->status,['ready','invalid','expired'],true)) @endif @endsection