@extends('layouts.app') @section('title', 'Manual mapping – ' . $batch->file_name) @section('content')
← Back to batch
@csrf

Manual mapping

Approve suggested doctors, pick another, create new doctor, or mark as exception.

@foreach ($rows as $row) @endforeach
Row MR Date Raw doctor Suggested Confidence Status Actions
{{ $row->row_index }} {{ $row->resolvedMr?->name ?? '–' }} {{ $row->resolved_visit_date?->format('Y-m-d') ?? '–' }} {{ \Illuminate\Support\Arr::get($row->raw_data, 'doctor_name', \Illuminate\Support\Arr::get($row->raw_data, 'doctor', '–')) }} {{ $row->suggestedDoctor?->name ?? '–' }} {{ $row->match_confidence !== null ? $row->match_confidence . '%' : '–' }} {{ $row->visit ? 'Committed' : 'Pending' }} @if (! $row->visit)
@csrf
@csrf
@else – @endif
{{ $rows->withQueryString()->links() }}
@endsection