@php $vanStockImport = $vanStockImport ?? $import ?? null; @endphp @extends('layouts.dashboard') @section('content') @php $items = $vanStockImport->items()->with('product')->paginate(50); @endphp
{{ $vanStockImport->original_file }}
| Product | SKU | Barcode | Category | Qty | Match |
|---|---|---|---|---|---|
| {{ $item->product?->name ?: $item->name ?: 'Product not found' }} | {{ $item->sku ?: '-' }} | {{ $item->barcode ?: '-' }} | {{ $item->category ?: $item->product?->category ?: '-' }} | {{ number_format((float) $item->qty) }} | @if($item->match_status === 'matched') Matched @elseif($item->match_status === 'missing') Missing @else {{ $item->match_status ?: 'Unknown' }} @endif |